lumis.portal.file.transformation.encoder
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormatEncoderFactory
public FormatEncoderFactory()
getFormatEncoder
public static IFormatTransformer getFormatEncoder(String contentType,
String targetFormat,
String serviceInstanceId)
throws PortalException
- Returns a
IFormatTransformer
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
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.