Class TextLineInputProvider


  • public class TextLineInputProvider
    extends InputProvider<java.lang.String>
    Line reader for plain text that contains data in lines.
    Author:
    thomas.jungblut
    • Constructor Detail

      • TextLineInputProvider

        public TextLineInputProvider​(java.lang.String path)
      • TextLineInputProvider

        public TextLineInputProvider​(java.net.URI path)
      • TextLineInputProvider

        public TextLineInputProvider​(java.nio.file.Path path)
    • Method Detail

      • iterate

        public java.lang.Iterable<java.lang.String> iterate()
        Specified by:
        iterate in class InputProvider<java.lang.String>
        Returns:
        a new iterator to read something. If end of data has been reached, it can be called to obtain a new iterable that re-reads that data.