java - How do i skip null string during file reading? -


example:

java set of several computer software , specifications developed sun microsystems, ("problem how skip space below?")   later acquired oracle corporation, provides system developing application software , deploying in cross-platform computing environment. 

i want know how, using java, ignore blank lines in iput file.

it’s pseudo-code time! \o/

while (file not read completely) {     line = read line file;     if (line empty) {         continue; // skip line!     }     process line; } 

Comments