Class StringLineReader

All Implemented Interfaces:
LineReader, Closeable, AutoCloseable, Readable

@Deprecated public class StringLineReader extends BufferedLineReader
Implementation of LineReader that gets its input from a String. No charset conversion is necessary because the String is in unicode. Handles CR, LF or CRLF line termination, but if asked to return the line terminator, it always comes back as LF.
  • Constructor Details

    • StringLineReader

      public StringLineReader(String s)
      Deprecated.