org.pentaho.di.trans.steps.xbaseinput
Class XBase
java.lang.Object
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
XBase
public XBase(LogChannelInterface log,
String file_dbf)
XBase
public XBase(LogChannelInterface log,
InputStream inputStream)
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