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 void
fromBuffer(byte[] buf)
DBFFileCodePage
getCodePage()
Retrieves aDBFFileCodePage
corresponding to thegetCodePageMark()
value.byte
getCodePageMark()
Retrieves the the byte value that represents the code page mark.short
getHeaderSize()
int
getNumberOfRecords()
short
getRecordSize()
byte
getVersion()
-
-
-
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 asDBFFileCodePage
usegetCodePage()
.- Returns:
- the byte value that represents the code page mark
-
getCodePage
public DBFFileCodePage getCodePage()
Retrieves aDBFFileCodePage
corresponding to thegetCodePageMark()
value. If the code page mark value is invalid it will return null.- Returns:
- a DBFFileCodePage instance;
null
if the code page mark is invalid.
-
-