I am reading a file Java, using this code :
File file = new File(--path-);
Scanner reader= new Scanner(file);
while(reader.hasNext()){
// i want to add here if reader.Next() == emptyline
// I tried if reader.Next()=="" but it did not work.
}
thank you all