ru.smartflex.tools.dbf
Class DbfColumn
java.lang.Object
ru.smartflex.tools.dbf.DbfColumn
public class DbfColumn
- extends java.lang.Object
The class DbfColumn
is responsible for xBase field definition.
- Since:
- 1.00
- Author:
- galisha
Constructor Summary |
protected |
DbfColumn(DbfHeader dbfHeader)
|
|
DbfColumn(java.lang.String columnName,
DbfColumnTypes dbfColumnType,
int width,
int dec)
Constructs a newly allocated DbfColumn object that represents xBase field. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbfColumn
protected DbfColumn(DbfHeader dbfHeader)
DbfColumn
public DbfColumn(java.lang.String columnName,
DbfColumnTypes dbfColumnType,
int width,
int dec)
- Constructs a newly allocated
DbfColumn
object that represents xBase field.
- Parameters:
columnName
- dbfColumnType
- enumeration for column typewidth
- column widthdec
- column scale ( in other words amount point after comma )- Since:
- 1.00
getDbfColumnType
protected DbfColumnTypes getDbfColumnType()
parse
protected void parse(byte[] recField)
getColumnName
protected java.lang.String getColumnName()
setColumnName
protected void setColumnName(java.lang.String columnName)
getDbfColumnPosition
protected DbfColumnPosition getDbfColumnPosition()
setDbfColumnPosition
protected void setDbfColumnPosition(DbfColumnPosition dbfColumnPosition)
getOriginalType
protected java.lang.String getOriginalType()