My question may be something really basic, but I am not able to find a working solution.
In my code I have three new InputStreams.
InputStream fstream = WasuTimeTool.class.getResourceAsStream("/resources/dbConParam.txt");
BufferedReader dbParamReader = new BufferedReader(new InputStreamReader(fstream));
String dbParamLine;
Simple as that. Everyone is the same beside the InputStreamString and the variables. They are build like that:
Stream One {
}
Stream Two {
Stream Three {
}
}
When I build a global Streams I got some problems with the use of the variable and the collision from the second and third stream. Is there a solutions to get one single Stream and make new Instances or should they stay as three different streams?