public class TLcdS57AttributeClassMapDecoder extends Object implements ILcdInputStreamFactoryCapable
ACRONYM CODE TYPE MIN_VALUE MAX_VALUE
ACRONYM
is the six-letter acronym of the attribute, as defined in the S-57
attribute
catalogue.
CODE
is the integer number code of the attribute, as defined in the S-57 attribute
catalogue.
TYPE
can be any of:
MIN_VALUE
should only be specified for integer and float types. For integers, this
should be a
well-formatted integer value or '-' if no minimum value exists. For floats, this should be a
well-formatted float value or '-' if no minimum value exists.
MAX_VALUE
should only be specified for integer and float types. For integers, this
should be a
well-formatted integer value or '-' if no maximum value exists. For floats, this should be a
well-formatted float value or '-' if no maximum value exists.
Constructor and Description |
---|
TLcdS57AttributeClassMapDecoder() |
Modifier and Type | Method and Description |
---|---|
TLcdS57AttributeClassMap |
decodeS57AttributeClassMap(String aSourceName)
Decodes the given map file.
|
ILcdInputStreamFactory |
getInputStreamFactory()
Returns the current input stream factory.
|
void |
setInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory)
Sets the factory that will create input streams from which data can be
decoded.
|
public void setInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory)
setInputStreamFactory
in interface ILcdInputStreamFactoryCapable
aInputStreamFactory
- the factory that creates an input stream
based on a source name.public ILcdInputStreamFactory getInputStreamFactory()
getInputStreamFactory
in interface ILcdInputStreamFactoryCapable
public TLcdS57AttributeClassMap decodeS57AttributeClassMap(String aSourceName) throws IOException
IOException