Java

Aus Info-Theke
Zur Navigation springen Zur Suche springen


Resource aus Jar lesen

InputReader input = getClass().getResourceAsStream("appl.properties");
BufferedReader reader = new BufferedReader(new InputStreamReader(input));
String line;
while( (line = reader.readLine()) != null)
   doIt(line);