org.deegree.commons.dataaccess.dbase
Class DBFReader
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>