public interface ILfnDataSourceModelDecoderFactory extends ILcdEarthModelDecoderFactory
ILcdModelDecoder
instancesKEY_BUFFER, KEY_DATA_MODEL_NAME, KEY_DECODING_BOUNDS, KEY_INPUT_STREAM_FACTORY, KEY_SEEKABLE_INPUT_STREAM_FACTORY
Modifier and Type | Method and Description |
---|---|
boolean |
canDecodeSource(ILcdDataSource aDataSource)
Returns
true when this factory can create an ILcdModelDecoder for
aDataSource |
ILcdModelDecoder |
createModelDecoder(ILcdDataSource aDataSource,
Map<String,Object> aProperties)
Creates a model decoder for
aDataSource . |
canDecodeSource, createModelDecoder, getName
boolean canDecodeSource(ILcdDataSource aDataSource)
true
when this factory can create an ILcdModelDecoder
for
aDataSource
aDataSource
- The data sourcetrue
when this factory can create an ILcdModelDecoder
for
aDataSource
, false
otherwisecreateModelDecoder(com.luciad.model.ILcdDataSource, java.util.Map)
ILcdModelDecoder createModelDecoder(ILcdDataSource aDataSource, Map<String,Object> aProperties)
Creates a model decoder for aDataSource
. Method should only be called when
canDecodeSource(com.luciad.model.ILcdDataSource)
returns true
for
aDataSource
.
Optionally, properties may be specified to configure the model decoder. The properties are implementation specific.
aDataSource
- The data sourceaProperties
- the properties for configuring the model decoder, may be null
ILcdModelDecoder
for aDataSource