Package com.luciad.lucy.addons
Interface ILcyAddOnDecoder
- All Known Implementing Classes:
ALcyDefaultAddOn
Deprecated.
An addon decoder.
Given a config source name (a string that represents an addon in some way,
it could be a filename, an url, a database access descriptor, ...), it
returns an instance of ALcyAddOn
.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canDecodeAddOn
(String aConfigSourceName) Deprecated.Returns true if this decoder can decode the addon represented by the given string.decodeAddOn
(String aConfigSourceName) Deprecated.Decodes an addon given the config source name.
-
Method Details
-
canDecodeAddOn
Deprecated.Returns true if this decoder can decode the addon represented by the given string.- Parameters:
aConfigSourceName
- The string that represents the addon.- Returns:
- True if an addon can be decoded for the given config source name, false otherwise.
- See Also:
-
decodeAddOn
Deprecated.Decodes an addon given the config source name. The config source name can be anything: a file name, an url, a database access descriptor. However implementations might choose to only support a certain type- Parameters:
aConfigSourceName
- The string that represents the addon.- Returns:
- The decoded addon.
- Throws:
IOException
- In case any io exceptions occur during the decoding.- See Also:
-
ALcyAddOn.plugInto(com.luciad.lucy.ILcyLucyEnv)
andALcyAddOn.unplugFrom(com.luciad.lucy.ILcyLucyEnv)
methods.