com.bbn.openmap.dataAccess.asrp
Class GeneralASRPFile
java.lang.Object
com.bbn.openmap.dataAccess.asrp.GeneralASRPFile
- Direct Known Subclasses:
- GeneralInformationFile, GeoReferenceFile, QualityFile, RasterGeoDataFile, SourceFile, TransmittalHeaderFile
public class GeneralASRPFile
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
info
protected DDFModule info
fields
protected java.util.Hashtable fields
GeneralASRPFile
public GeneralASRPFile()
load
protected DDFModule load(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
loadField
protected boolean loadField(DDFRecord record,
java.lang.String tagName,
int fieldIndex)
- If a field has not been loaded, load it from the DDFRecord if
it exists and add it to the master field hashtable.
addField
protected void addField(DDFField ddf)
- Add a field to the field list. If a field already exists in the
hashtable, the DDFField is replaced by a list of the fields
with the same name. Some types of files need this, like the THF
file. Others don't seem to.
getFields
public java.util.List getFields(java.lang.String tag)
getField
public DDFField getField(java.lang.String tag)
dumpFields
public void dumpFields()
getInfo
protected DDFModule getInfo()
close
protected void close()
dump
public void dump()
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details