deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.io.dbaseapi
Class FieldDescriptor

java.lang.Object
  extended by org.deegree.io.dbaseapi.FieldDescriptor

public class FieldDescriptor
extends java.lang.Object

Class representing a field descriptor of a dBase III/IV file

Version:
28.04.2000
Author:
Andreas Poth

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
 

Constructor Detail

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!

Throws:
DBaseException
Method Detail

getFieldDescriptor

public byte[] getFieldDescriptor()
method: public byte[] getFieldDescriptor() returns the field descriptor as byte array


deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org