deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.commons.dataaccess.dbase
Class DBFReader

java.lang.Object
  extended by org.deegree.commons.dataaccess.dbase.DBFReader

public class DBFReader
extends Object

DBFReader

Version:
$Revision: 22167 $, $Date: 2010-01-25 13:32:32 +0100 (Mo, 25 Jan 2010) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Nested Class Summary
(package private)  class DBFReader.Field
           
 
Constructor Summary
DBFReader(RandomAccessFile in, Charset encoding, QName ftName)
          Already reads/parses the header.
 
Method Summary
 void close()
          Closes the underlying input stream.
 HashMap<SimplePropertyType,Property<?>> getEntry(int num)
           
 GenericFeatureType getFeatureType()
           
 LinkedList<PropertyType> getFields()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBFReader

public DBFReader(RandomAccessFile in,
                 Charset encoding,
                 QName ftName)
          throws IOException
Already reads/parses the header.

Parameters:
in -
encoding -
ftName - the name of the feature type
Throws:
IOException
Method Detail

getEntry

public HashMap<SimplePropertyType,Property<?>> getEntry(int num)
                                                 throws IOException
Parameters:
num - zero based
Returns:
a map with the property types mapped to their value (which might be null)
Throws:
IOException

close

public void close()
           throws IOException
Closes the underlying input stream.

Throws:
IOException

getFields

public LinkedList<PropertyType> getFields()
Returns:
the property types of the contained fields

getFeatureType

public GenericFeatureType getFeatureType()
Returns:
the feature type

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

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

]]>