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
-
-
Constructor Summary
Constructors Constructor Description XBase(org.pentaho.di.core.logging.LogChannelInterface log, InputStream inputStream)
XBase(org.pentaho.di.core.logging.LogChannelInterface log, String file_dbf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
close()
String
getDbfFile()
org.pentaho.di.core.row.RowMetaInterface
getFields()
com.linuxense.javadbf.DBFReader
getReader()
Object[]
getRow(Object[] r)
Object[]
getRow(org.pentaho.di.core.row.RowMetaInterface fields)
boolean
hasError()
void
open()
void
setDbfFile(String dbfFile)
String
toString()
-
-
-
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
-
-