ru.smartflex.tools.dbf
Class DbfHeader

java.lang.Object
  extended by ru.smartflex.tools.dbf.DbfHeader

public class DbfHeader
extends java.lang.Object

Contains dbf header definition.

Since:
1.00
Author:
galisha

Constructor Summary
protected DbfHeader()
           
protected DbfHeader(java.io.File dbfFile, java.lang.String enc)
           
protected DbfHeader(java.io.InputStream is, java.lang.String enc)
           
 
Method Summary
protected  void addColumn(DbfColumn dbfColumn)
           
protected  java.lang.String getCodePage()
           
protected  DbfColumn getColumn(java.lang.String name)
           
protected  int getCountRecords()
           
protected  int getCurrentOffset()
           
protected  java.io.InputStream getDbfStream()
           
protected  int getFirstRecordPosition()
           
protected  int getLengthRecord()
           
protected  java.util.List<DbfColumn> getOrderedColumnList()
           
protected  int getTypeDbf()
           
protected  void setCountRecords(int countRecords)
           
protected  void setCurrentOffset(int currentOffset)
           
protected  void setFirstRecordPosition(int firstRecordPosition)
           
protected  void setTypeDbf(int typeDbf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbfHeader

protected DbfHeader(java.io.File dbfFile,
                    java.lang.String enc)

DbfHeader

protected DbfHeader(java.io.InputStream is,
                    java.lang.String enc)

DbfHeader

protected DbfHeader()
Method Detail

getOrderedColumnList

protected java.util.List<DbfColumn> getOrderedColumnList()

addColumn

protected void addColumn(DbfColumn dbfColumn)

getColumn

protected DbfColumn getColumn(java.lang.String name)

getCurrentOffset

protected int getCurrentOffset()

setCurrentOffset

protected void setCurrentOffset(int currentOffset)

getFirstRecordPosition

protected int getFirstRecordPosition()

setFirstRecordPosition

protected void setFirstRecordPosition(int firstRecordPosition)

getCountRecords

protected int getCountRecords()

setCountRecords

protected void setCountRecords(int countRecords)

getCodePage

protected java.lang.String getCodePage()

getTypeDbf

protected int getTypeDbf()

setTypeDbf

protected void setTypeDbf(int typeDbf)

getLengthRecord

protected int getLengthRecord()

getDbfStream

protected java.io.InputStream getDbfStream()