public class DbfField
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
HEADER_TERMINATOR |
| Modifier and Type | Method and Description |
|---|---|
DbfDataType |
getDataType() |
int |
getDecimalCount() |
int |
getFieldIndex() |
int |
getFieldLength() |
java.lang.String |
getName() |
static DbfField |
read(java.io.DataInput in,
int fieldIndex)
Creates a DBFField object from the data read from the given DataInputStream.
|
public static final int HEADER_TERMINATOR
public static DbfField read(java.io.DataInput in, int fieldIndex) throws DbfException
Creates a DBFField object from the data read from the given DataInputStream.
The data in the DataInputStream object is supposed to be organised correctly and the stream "pointer" is supposed to be positioned properly.
in - DataInputStreamDbfException - if any stream reading problems occurs.public java.lang.String getName()
public DbfDataType getDataType()
public int getFieldLength()
public int getDecimalCount()
public int getFieldIndex()