Posts
 
Reputation
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
~5K People Reached
Favorite Forums
Favorite Tags

1 Posted Topic

Member Avatar for katerinaaa

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())) { …

Member Avatar for alpe gulay
0
5K

The End.