public class DbfFieldDef
extends java.lang.Object
Constructor and Description |
---|
DbfFieldDef() |
DbfFieldDef(java.lang.String fieldname,
char fieldtype,
int fieldlen,
int fieldnumdec) |
Modifier and Type | Method and Description |
---|---|
void |
setup(int pos,
EndianDataInputStream dFile)
Sets up the Dbf field definition.
|
void |
setup(int pos,
EndianDataInputStream dFile,
java.nio.charset.Charset charset)
Sets up the Dbf field definition with a specified Charset for the fieldnames.
|
java.lang.String |
toString() |
public java.lang.StringBuffer fieldname
public char fieldtype
public int fieldstart
public int fieldlen
public int fieldnumdec
public static final int DBF_CENTURY
public static final int DBF_MAXLEN
public static final int DBF_NAMELEN
public static final int DBF3_MAXFIELDS
public static final int DBF4_MAXFIELDS
public static final int DBF_MAXFIELDS
public static final int DBF_BUFFSIZE
public static final int DBF_END_OF_DEFS
public static final int DBF_OK
public static final int DBF_READ_HEAD
public static final int DBF_BAD_DBFID
public static final int DBF_WRITE_HEAD
public static final int DBF_READ_DEFS
public static final int DBF_TOO_MANY_FIELDS
public static final int DBF_NO_FIELDS
public static final int DBF_BAD_EODEFS
public static final int DBF_WRITE_DEFS
public static final int DBF_BAD_ITYPE
public static final int DBF_CANNOT_DO_MEMO
public static final int DBF_BAD_INT_WIDTH
public static final int DBF_BAD_OFFSET
public static final int DBF_FLOATING_N
public static final int DBF_READ_DATA
public static final int DBF_UNPRINT_DATA
public static final int DBF_WRITE_DATA
public static final int DBF_INT_EXP
public static final int DBF_INT_REAL
public static final int DBF_INT_JUNK
public static final int DBF_REC_DELETED
public static final int DBF_ALL_DELETED
public static final int DBF_BAD_SIZEOF
public static final int DBF_REC_TOO_LONG
public static final int DBF_TOO_WIDE_FOR_INF
public static final int DBF_MALLOC_FIELD
public static final int DBF_MALLOC
public static final int DBF_GET_DATE
public DbfFieldDef()
public DbfFieldDef(java.lang.String fieldname, char fieldtype, int fieldlen, int fieldnumdec)
public java.lang.String toString()
toString
in class java.lang.Object
public void setup(int pos, EndianDataInputStream dFile) throws java.io.IOException
pos
- dFile
- java.io.IOException
setup(int pos, EndianDataInputStream dFile, Charset charset)
public void setup(int pos, EndianDataInputStream dFile, java.nio.charset.Charset charset) throws java.io.IOException
pos
- dFile
- charset
- java.io.IOException