org.progeeks.dbf
Class DbfHeader
java.lang.Object
org.progeeks.dbf.DbfHeader
public class DbfHeader
- extends java.lang.Object
- Version:
- $Revision: 1.4 $
- Author:
- Paul Speed
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FIELD_TERMINATOR
public static final byte FIELD_TERMINATOR
- Value used to terminate the field list in the header.
- See Also:
- Constant Field Values
RECORD_COUNT_OFFSET
public static final int RECORD_COUNT_OFFSET
- Offset of the record count in the header.
- See Also:
- Constant Field Values
DbfHeader
public DbfHeader()
getRecordCount
public int getRecordCount()
setRecordCount
public void setRecordCount(int recordCount)
getRecordSize
public int getRecordSize()
getHeaderSize
public int getHeaderSize()
getFields
public java.util.List getFields()
setFields
public void setFields(java.util.List fields)
getHasMemoFields
public boolean getHasMemoFields()
setHasMemoFields
public void setHasMemoFields(boolean hasMemoFields)
getFieldArray
public DbfField[] getFieldArray()
readHeader
public void readHeader(BinaryDataInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
writeHeader
public void writeHeader(BinaryDataOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
createRecord
public DbfRecord createRecord()
Copyright © 2002-2003 Paul Speed. All Rights Reserved.