Package oracle.spatial.util
Class DBFileHdr
- java.lang.Object
-
- oracle.spatial.util.DBFileHdr
-
public class DBFileHdr extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DBFileHdr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfromBuffer(byte[] buf)DBFFileCodePagegetCodePage()Retrieves aDBFFileCodePagecorresponding to thegetCodePageMark()value.bytegetCodePageMark()Retrieves the the byte value that represents the code page mark.shortgetHeaderSize()intgetNumberOfRecords()shortgetRecordSize()bytegetVersion()
-
-
-
Method Detail
-
fromBuffer
public void fromBuffer(byte[] buf) throws java.io.IOException- Throws:
java.io.IOException
-
getVersion
public byte getVersion()
-
getNumberOfRecords
public int getNumberOfRecords()
-
getHeaderSize
public short getHeaderSize()
-
getRecordSize
public short getRecordSize()
-
getCodePageMark
public byte getCodePageMark()
Retrieves the the byte value that represents the code page mark. To get the corresponding mapping value asDBFFileCodePageusegetCodePage().- Returns:
- the byte value that represents the code page mark
-
getCodePage
public DBFFileCodePage getCodePage()
Retrieves aDBFFileCodePagecorresponding to thegetCodePageMark()value. If the code page mark value is invalid it will return null.- Returns:
- a DBFFileCodePage instance;
nullif the code page mark is invalid.
-
-