Class ReadLineReader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, ReadLine

    public class ReadLineReader
    extends java.lang.Object
    implements ReadLine
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • create

        public static ReadLine create​(java.io.Reader reader,
                                      java.lang.String description)
      • create

        public static ReadLine create​(java.io.Reader reader,
                                      java.lang.String description,
                                      LineLocation parent)
      • readLine

        public StringLocated readLine()
                               throws java.io.IOException
        Specified by:
        readLine in interface ReadLine
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException