org.deegree_impl.io.shpapi
Class FieldDescriptor
java.lang.Object
org.deegree_impl.io.shpapi.FieldDescriptor
- public class FieldDescriptor
- extends java.lang.Object
Class representing a field descriptor of a dBase III/IV file
Last changes:
28.04.00 ap: constructor declared and implemented
28.04.00 ap: method getFieldDescriptor() declared and implemented
- Version:
- 28.04.2000
- Author:
- Andreas Poth
Field Summary |
private byte[] |
data
fieldinformation as byte array |
Constructor Summary |
FieldDescriptor(java.lang.String name,
java.lang.String type,
byte fieldlength,
byte decimalcount)
constructor
recieves name and type of the field, the length of the field
in bytes and the decimalcount. the decimalcount is only considered
if type id "N" or "F", it's maxvalue if fieldlength - 2! |
Method Summary |
byte[] |
getFieldDescriptor()
method: public byte[] getFieldDescriptor()
returns the field descriptor as byte array |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
private byte[] data
- fieldinformation as byte array
FieldDescriptor
public FieldDescriptor(java.lang.String name,
java.lang.String type,
byte fieldlength,
byte decimalcount)
throws DBaseException
- constructor
recieves name and type of the field, the length of the field
in bytes and the decimalcount. the decimalcount is only considered
if type id "N" or "F", it's maxvalue if fieldlength - 2!
getFieldDescriptor
public byte[] getFieldDescriptor()
- method: public byte[] getFieldDescriptor()
returns the field descriptor as byte array