public interface ILcyPropertiesEncoder
Writes ALcyProperties
to files or other types of storage.
The supported types of storage and ALcyProperties
objects
are defined by the actual implementations of this interface.
Modifier and Type | Method and Description |
---|---|
boolean |
canEncode(ALcyProperties aProps,
String aDestinationName)
Returns whether this encoder can export the specified properties to the specified
destination.
|
void |
encode(ALcyProperties aProps,
String aDestinationName)
Encodes the given
ALcyProperties into the given destination. |
boolean canEncode(ALcyProperties aProps, String aDestinationName)
Returns whether this encoder can export the specified properties to the specified destination.
This method will typically check whether the contents of the specified properties are compatible with the format this encoder is written for.
aProps
- the properties to be verified.aDestinationName
- the location where the properties should be exported to.true
if this encoder can encode the specified properties to the specified
location, false
otherwise.encode(com.luciad.lucy.util.properties.ALcyProperties, java.lang.String)
void encode(ALcyProperties aProps, String aDestinationName) throws IOException
Encodes the given ALcyProperties
into the given destination.
aProps
- The properties to encode.aDestinationName
- The destination name to encode to.IOException
- In case of IO failure.