Class DictApply.ReaderLineSupplier

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    DictApply

    private class DictApply.ReaderLineSupplier
    extends DictApply.LineSupplier
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.BufferedReader lineReader  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReaderLineSupplier​(java.io.BufferedReader reader)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.lang.String nextLine()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • lineReader

        private final java.io.BufferedReader lineReader
    • Constructor Detail

      • ReaderLineSupplier

        public ReaderLineSupplier​(java.io.BufferedReader reader)
    • Method Detail

      • nextLine

        public java.lang.String nextLine()
                                  throws java.io.IOException
        Specified by:
        nextLine in class DictApply.LineSupplier
        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
        Overrides:
        close in class DictApply.LineSupplier
        Throws:
        java.io.IOException