Class SimpleTextFileReader


  • public class SimpleTextFileReader
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void withEachLine​(java.io.File sourceFile, java.util.function.Consumer<java.lang.String> consumer)  
      • Methods inherited from class java.lang.Object

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

      • SimpleTextFileReader

        public SimpleTextFileReader()
    • Method Detail

      • withEachLine

        public static void withEachLine​(java.io.File sourceFile,
                                        java.util.function.Consumer<java.lang.String> consumer)
                                 throws java.io.IOException
        Throws:
        java.io.IOException