• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to implement readLine in java.nio ?  RSS feed

 
walter wang
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

How to implement readLine method in java.nio ?

could anyone give me some hints?

Thanks in advance
 
Eric Mission
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try a Google search?? I found several examples of a bufferedreader's readline method.

The nio package exposes a set of classes that you could apply practically any buffered reader to extract data.

link

link

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!