Class FormatEncoderFactory
- java.lang.Object
-
- lumis.portal.file.transformation.encoder.FormatEncoderFactory
-
public class FormatEncoderFactory extends Object
Factory for file format encoder.- Since:
- 6.1.0
- Version:
- $Revision: 23034 $ $Date: 2019-08-05 16:52:47 -0300 (Mon, 05 Aug 2019) $
-
-
Constructor Summary
Constructors Constructor Description FormatEncoderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IFormatTransformer
getFormatEncoder(String contentType, String targetFormat, String serviceInstanceId)
Returns aIFormatTransformer
class instance based on content type and target format.
-
-
-
Method Detail
-
getFormatEncoder
public static IFormatTransformer getFormatEncoder(String contentType, String targetFormat, String serviceInstanceId) throws PortalException
Returns aIFormatTransformer
class instance based on content type and target format.- Parameters:
contentType
- the source content type of encoder.targetFormat
- the target file format.serviceInstanceId
- the service instance id.- Returns:
- a format encoder according to the content type and the target format.
- Throws:
PortalException
- Since:
- 6.1.0
-
-