Top "Bufferedreader" questions

Java class that reads text from a character-input stream, buffering characters so as to provide for an efficient reading of characters, arrays, and lines.

Difference between buffered reader and file reader and scanner class

Can anyone explain me the difference between the class BufferedReader, FileReader and Scanner? and which one to use when I …

java java.util.scanner bufferedreader filereader
Read special characters in java with BufferedReader

Possible Duplicate: Read/write .txt file with special characters Im reading a file but I dont know how to read …

java bufferedreader
Reading text file and skipping blank lines until EOF is reached

I am trying to read csv file full of text; however if there is a blank line in the middle …

java bufferedreader runtimeexception blank-line
Socket, BufferedReader hangs at readLine()

I have a server which initially does this:- BufferedReader br = new BufferedReader(new InputStreamReader(s.getInputStream())); for (;;) { String cmdLine = …

java sockets io bufferedreader
Writing from hashmap to a txt file

I have a hashMap of Integer,String (K,V) and want to write only the string values to a file (…

java hashmap bufferedreader filewriter
How to know if a BufferedReader Stream is closed

I have two threads in Java. First thread is closing a bufferedreader (br.close()) When the second thread does a …

java io bufferedreader
How to find out which line separator BufferedReader#readLine() used to split the line?

I am reading a file via the BufferedReader String filename = ... br = new BufferedReader( new FileInputStream(filename)); while (true) { String s = …

java bufferedreader java-io linefeed
Can I peek on a BufferedReader?

Is there a way to check if in BufferedReader object is something to read? Something like C++ cin.peek(). Thanks.

java bufferedreader peek
Auto-Detect Character Encoding in Java

Seems to be a fairly hit issue, but I've not yet been able to find a solution; perhaps because it …

java encoding io bufferedreader
Why is the performance of BufferedReader so much worse than BufferedInputStream?

I understand that using a BufferedReader (wrapping a FileReader) is going to be significantly slower than using a BufferedInputStream (wrapping …

java performance bufferedreader bufferedinputstream