Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.80K
1 Posted Topic
So you want to skip the empty lines correct? Here you go.... [CODE=java] // command line parameter FileInputStream fstream = new FileInputStream("myfile.txt"); // Get the object of DataInputStream DataInputStream in = new DataInputStream(fstream); BufferedReader br = new BufferedReader(new InputStreamReader(in)); while ((line = br.readLine()) != null && !"".equals(line = br.readLine().trim())) { …
The End.
addiakogiannis