Объясните пожалуйста почему в консоль ничего не выводит?
для properties я отдал другую копию файла...
public static void load(InputStream inputStream) throws IOException {
//напишите тут ваш код
BufferedReader inputProperties = new BufferedReader(new InputStreamReader(inputStream));
BufferedReader input = new BufferedReader(new InputStreamReader(inputStream));
Properties properties = new Properties();
properties.load(inputProperties);
String keyInLine = "";
while (input.ready()){
keyInLine = input.readLine();
if (!(keyInLine.contains("! ")) & !(keyInLine.contains("# "))){
if (keyInLine.endsWith("\\")){
keyInLine += input.readLine();
}
System.out.println(keyInLine);
}
keyInLine = null;
}
}