Interface TransformerSelector
-
- All Known Implementing Classes:
TransformerSelectorImpl,TransformerSelectorImplOriginal
@AlfrescoPublicApi public interface TransformerSelectorSelects a transformer from a supplied list of transformers that appear able to handle a given transformation.- Author:
- Alan Davis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ContentTransformer>selectTransformers(java.lang.String sourceMimetype, long sourceSize, java.lang.String targetMimetype, TransformationOptions options)Returns a sorted list of transformers that identifies the order in which transformers should be tried.
-
-
-
Method Detail
-
selectTransformers
java.util.List<ContentTransformer> selectTransformers(java.lang.String sourceMimetype, long sourceSize, java.lang.String targetMimetype, TransformationOptions options)
Returns a sorted list of transformers that identifies the order in which transformers should be tried.- Parameters:
sourceMimetype-sourceSize-targetMimetype-options- transformation options- Returns:
- a sorted list of transformers, with the best one first.
-
-