|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConverter
An interface of a data set converter.
Converters allow for transforming one or more (input) data sets of specified type into a new (output) data set of specified type. Information about input entries and output type are encapsulated in converter specification.
ConverterSpecification| Method Summary | ||
|---|---|---|
|
convert(List<? extends IDataSet<? extends IElement>> dataSets)
Converts given input data sets into a new output data set. |
|
|
convert(MultiMap<ConverterInputEntry,? extends IDataSet<? extends IElement>> dataSets)
Converts given input data sets into a new output data set. |
|
ConverterSpecification |
getSpecification()
Returns the converter specification. |
|
| Method Detail |
|---|
ConverterSpecification getSpecification()
<T extends IDataSet<? extends IElement>> T convert(MultiMap<ConverterInputEntry,? extends IDataSet<? extends IElement>> dataSets)
throws ConverterException
T - the type of conversion output data setdataSets - a map of data sets indexed by the input entries returned by the #getInputEntries() method
#getOutputType() method
ConverterException - if the input data sets do not conform to the input entry specification or a data set conversion
failed
<T extends IDataSet<? extends IElement>> T convert(List<? extends IDataSet<? extends IElement>> dataSets)
throws ConverterException
T - the type of conversion output data setdataSets - a list of data sets
#getOutputType() method
ConverterException - if the input data sets do not conform to the input entry specification or a data set conversion
failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||