Class TextFileInputReader

java.lang.Object
org.pentaho.di.trans.steps.fileinput.text.TextFileInputReader
All Implemented Interfaces:
Closeable, AutoCloseable, IBaseFileInputReader

public class TextFileInputReader extends Object implements IBaseFileInputReader
Reader for one text file.
Author:
Alexander Buloichik
  • Field Details

    • lineInFile

      protected long lineInFile
    • lineNumberInFile

      protected long lineNumberInFile
    • linesWritten

      protected long linesWritten
  • Constructor Details

  • Method Details

    • readInitial

      protected void readInitial() throws Exception
      Throws:
      Exception
    • readRow

      public boolean readRow() throws org.pentaho.di.core.exception.KettleException
      Specified by:
      readRow in interface IBaseFileInputReader
      Throws:
      org.pentaho.di.core.exception.KettleException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • tryToReadLine

      protected boolean tryToReadLine(boolean applyFilter) throws org.pentaho.di.core.exception.KettleFileException
      Throws:
      org.pentaho.di.core.exception.KettleFileException