org.pentaho.di.trans.steps.xbaseinput
Class XBase

java.lang.Object
  extended by org.pentaho.di.trans.steps.xbaseinput.XBase

public class XBase
extends Object

Handles file reading from XBase (DBF) type of files.

Since:
12-08-2004
Author:
Matt

Constructor Summary
XBase(LogChannelInterface log, InputStream inputStream)
           
XBase(LogChannelInterface log, String file_dbf)
           
 
Method Summary
 boolean close()
           
 String getDbfFile()
           
 RowMetaInterface getFields()
           
 com.linuxense.javadbf.DBFReader getReader()
           
 Object[] getRow(Object[] r)
           
 Object[] getRow(RowMetaInterface fields)
           
 boolean hasError()
           
 void open()
           
 void setDbfFile(String dbfFile)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XBase

public XBase(LogChannelInterface log,
             String file_dbf)

XBase

public XBase(LogChannelInterface log,
             InputStream inputStream)
Method Detail

open

public void open()
          throws KettleException
Throws:
KettleException

getFields

public RowMetaInterface getFields()
                           throws KettleException
Throws:
KettleException

getRow

public Object[] getRow(RowMetaInterface fields)
                throws KettleException
Throws:
KettleException

getRow

public Object[] getRow(Object[] r)
                throws KettleException
Throws:
KettleException

close

public boolean close()

hasError

public boolean hasError()

toString

public String toString()
Overrides:
toString in class Object

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