public class TLcdDAFIFIndependentRunwayDecoder extends TLcdDAFIFRunwayDecoder
TLcdDAFIFRunwayDecoder
class
can be used to produce a model without having to specify an aerodrome model
first. Decoded models have as model descriptor an instance of
TLcdDAFIFRunwayModelDescriptor
.
The TLcdDAFIFIndependentRunwayDecoder
will decode
the aerodromes himself. The aerodromes in the final model will be retrieved from
this self-made model.
To decode an aerodrome model, the TLcdDAFIFIndependentRunwayDecoder
will look for an aerodrome source file in the same directory as the source file to be decoded.
If no aerodrome source file is found in this directory, or the aerodrome source file does
not contain the aerodromes needed to build the runways, exceptions will occur during the decode process.
TLcdDAFIFRunwayModelDescriptor
DAFIF_PROP_EXTENSION, fRecordCount
Constructor and Description |
---|
TLcdDAFIFIndependentRunwayDecoder(ALcdAISObjectFactory aDomainFactory)
Deprecated.
|
TLcdDAFIFIndependentRunwayDecoder(ALcdAISObjectFactory aDomainFactory,
Properties aDAFIFProperties)
Deprecated.
|
TLcdDAFIFIndependentRunwayDecoder(TLcdAISDataObjectFactory aDomainFactory)
Creates a new
TLcdDAFIFIndependentRunwayDecoder object. |
TLcdDAFIFIndependentRunwayDecoder(TLcdAISDataObjectFactory aDomainFactory,
Properties aDAFIFProperties)
Creates a new
TLcdDAFIFIndependentRunwayDecoder object. |
Modifier and Type | Method and Description |
---|---|
ILcdModel |
decode(String aSource)
Creates an aerodrome model first.
|
createModelDescriptor, createRequiredIndex, getDecodeFileName, getDisplayName, handleRecord, isDecodeArrestingGear, readHighEndLat, readHighEndLon, readLocalHorizontalDatumFromFmt1, readLowEndLat, readLowEndLon, setAerodromeModel, setArrestingGearFeaturesToBeDecoded, setDecodeArrestingGear, setRunwayDefaultDisplayNameIndex, setRunwayDirectionDefaultDisplayNameIndex, setRunwayDirectionFeaturesToBeDecoded, setRunwayFeaturesToBeDecoded
cleanUp, setKeyFeatureNames
addErrorReport, canDecodeSource, getAltitudeType, getBearingTypeForChar, getBounds, getDAFIFProperties, getDataObjectFactory, getDecodingBounds, getDomainFactory, getErrorMessage, getInputStream, getInputStreamFactory, getLocalHorizontalDatum, getModelFilter, getRecordCount, initializeErrorMessage, isStoreOriginalReference, isTraceOn, loadCFGProperties, read, readExactValue, readFormat, readMinLength, readRecord, setBounds, setDAFIFModelFilter, setDAFIFProperties, setDataObjectFactory, setDecodingBounds, setDomainFactory, setInputStreamFactory, setStoreOriginalReference, setTraceOn, transformPointToReferenceDatumSFCT
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canDecodeSource, decodeModelMetadata, decodeModelMetadata, decodeSource, discoverDataSources
@Deprecated public TLcdDAFIFIndependentRunwayDecoder(ALcdAISObjectFactory aDomainFactory)
TLcdDAFIFIndependentRunwayDecoder
object. The user
should specify which domainFactory he or she wants to use to create the aerodromes and the runways.aDomainFactory
- the factory to be used to create the model objectspublic TLcdDAFIFIndependentRunwayDecoder(TLcdAISDataObjectFactory aDomainFactory)
TLcdDAFIFIndependentRunwayDecoder
object. The user
should specify which domainFactory he or she wants to use to create the aerodromes and the runways.aDomainFactory
- the factory to be used to create the model objects@Deprecated public TLcdDAFIFIndependentRunwayDecoder(ALcdAISObjectFactory aDomainFactory, Properties aDAFIFProperties)
TLcdDAFIFIndependentRunwayDecoder
object. The user
should specify which domainFactory he or she wants to use to create the aerodromes and the runways.aDomainFactory
- the factory to be used to create the model objectsaDAFIFProperties
- a Properties
object that contains for each domain object
the appropriate file namepublic TLcdDAFIFIndependentRunwayDecoder(TLcdAISDataObjectFactory aDomainFactory, Properties aDAFIFProperties)
TLcdDAFIFIndependentRunwayDecoder
object. The user
should specify which domainFactory he or she wants to use to create the aerodromes and the runways.aDomainFactory
- the factory to be used to create the model objectsaDAFIFProperties
- a Properties
object that contains for each domain object
the appropriate file namepublic ILcdModel decode(String aSource) throws IOException
TLcdDAFIFRunwayDecoder
class is called.decode
in interface ILcdModelDecoder
decode
in class TLcdDAFIFRunwayDecoder
aSource
- either the directory containing the Dafif source file to decode (if you did not
specify a properties file in the constructor, the default file name will be used) or a .toc file
containing the Dafif properties (the data file should be in the same directory as the .toc file)IOException
- if an error occurs during the reading processILcdModelDecoder.canDecodeSource(String)