|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Converter
A class for converting Data objects
Method Summary | |
---|---|
Data |
convert(Data data)
Uses this Converter to convert the given Data object to a new format. |
AlgorithmFactory |
getAlgorithmFactory()
Returns the AlgorithmFactory that can be invoked to convert a given Data object of the correct input format (as specified in the Dictionary from getProperties()) to a Data object of the correct output format |
ServiceReference[] |
getConverterChain()
Returns an array of ServiceReferences to converter algorithms in the order in which they will be called when converting a Data object |
Dictionary |
getProperties()
Get properties of the Converter (same as algorithm service properties). |
Method Detail |
---|
ServiceReference[] getConverterChain()
AlgorithmFactory getAlgorithmFactory()
Dictionary getProperties()
AlgorithmProperty
s properties. The IN_DATA and OUT_DATA
properties are guaranteed to be set in this Dictionary.
Data convert(Data data) throws ConversionException
data
- The Data object with compatible format
ConversionException
- If the data conversion fails while converting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |