lumis.portal.file.transformation
Class TranscodingTransformationBuilder

Package class diagram package TranscodingTransformationBuilder
java.lang.Object
  extended by lumis.portal.file.transformation.TranscodingTransformationBuilder
All Implemented Interfaces:
ITransformationBuilder

public class TranscodingTransformationBuilder
extends Object
implements ITransformationBuilder

Provides the "transcoding" transformation builder. Transcoding is the change of file format.

Since:
6.1.0

Constructor Summary
TranscodingTransformationBuilder()
           
 
Method Summary
 ITransformation build(InputStream content, String contentType, String serviceInstanceId, IFileMetadata fileMetadata, Map<String,Object> args)
          Returns an instance of ITransformation based on content type, file service instance and transformation parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranscodingTransformationBuilder

public TranscodingTransformationBuilder()
Method Detail

build

public ITransformation build(InputStream content,
                             String contentType,
                             String serviceInstanceId,
                             IFileMetadata fileMetadata,
                             Map<String,Object> args)
Description copied from interface: ITransformationBuilder
Returns an instance of ITransformation based on content type, file service instance and transformation parameters.

Specified by:
build in interface ITransformationBuilder
Parameters:
content - the source of transformation.
contentType - the content type of the source of transformation.
serviceInstanceId - the service instance owner of source of the transformation.
fileMetadata - the file metadata to be built.
args - the arguments of the transformation. where the key is the parameter name and the value represents the value of the parameter.
Returns:
a ITransformation implementation product of the transformation.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.