Class XBase


  • public class XBase
    extends Object
    Handles file reading from XBase (DBF) type of files.
    Since:
    12-08-2004
    Author:
    Matt
    • Constructor Detail

      • XBase

        public XBase​(org.pentaho.di.core.logging.LogChannelInterface log,
                     String file_dbf)
      • XBase

        public XBase​(org.pentaho.di.core.logging.LogChannelInterface log,
                     InputStream inputStream)
    • Method Detail

      • open

        public void open()
                  throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getFields

        public org.pentaho.di.core.row.RowMetaInterface getFields()
                                                           throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getRow

        public Object[] getRow​(org.pentaho.di.core.row.RowMetaInterface fields)
                        throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getRow

        public Object[] getRow​(Object[] r)
                        throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • close

        public boolean close()
      • hasError

        public boolean hasError()
      • getDbfFile

        public String getDbfFile()
        Returns:
        the dbfFile
      • setDbfFile

        public void setDbfFile​(String dbfFile)
        Parameters:
        dbfFile - the dbfFile to set
      • getReader

        public com.linuxense.javadbf.DBFReader getReader()
        Returns:
        the reader