public interface TransformerFormatRepository
Modifier and Type | Method and Description |
---|---|
TransformerFormat |
getFormatByExtension(String extension)
Return the Output type TransformerFormat object from the repository specified by file extension.
|
TransformerFormat |
getFormatByMimetype(String mimetype)
Return the TransformerFormat object from the repository specified by file mimetype
|
Transformer |
getValidTransformer(String inputFileExtention, String outputFileExtention)
Returns the valid transformer...based on the input and output file type or otherwise throw an exception saying no valid transformer found This keeps all the information needed to transform a document
|
TransformerFormat getFormatByExtension(String extension)
extension
- - File extension of the output file typeTransformerFormat getFormatByMimetype(String mimetype)
mimetype
- - mimetype of the output fileTransformer getValidTransformer(String inputFileExtention, String outputFileExtention) throws TransformerNotFoundException
inputFileExtention
- -- input file extension (optional)outputFileExtention
- -- output file extensionTransformerNotFoundException
- on exception