lumis.portal.file.transformation.encoder
Class FormatEncoderFactory

Package class diagram package FormatEncoderFactory
java.lang.Object
  extended by lumis.portal.file.transformation.encoder.FormatEncoderFactory

public class FormatEncoderFactory
extends Object

Factory for file format encoder.

Since:
6.1.0

Constructor Summary
FormatEncoderFactory()
           
 
Method Summary
static IFormatTransformer getFormatEncoder(String contentType, String targetFormat, String serviceInstanceId)
          Returns a IFormatTransformer class instance based on content type and target format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatEncoderFactory

public FormatEncoderFactory()
Method Detail

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.