public class LineReader extends Object
Constructor and Description |
---|
LineReader(BufferedReader reader,
boolean keepCarriageReturns)
LineReader constructor.
|
public LineReader(BufferedReader reader, boolean keepCarriageReturns)
reader
- Reader that data will be read from.keepCarriageReturns
- True if carriage returns should remain in the data, false to remove them.public String readLine() throws IOException
IOException
- On error from BufferedReaderCopyright © 2005–2023. All rights reserved.