lumis.portal.file.transformation
Interface ITransformationBuilder

Package class diagram package ITransformationBuilder
All Known Implementing Classes:
ScaleTransformationBuilder, TranscodingTransformationBuilder

@StableMinor(version="6.1",
             sinceVersion="6.1")
public interface ITransformationBuilder

Transformation builder, responsible to build an ITransformation object.

Since:
6.1.0

Method Summary
 ITransformation build(java.io.InputStream content, java.lang.String contentType, java.lang.String serviceInstanceId, IFileMetadata fileMetadata, java.util.Map<java.lang.String,java.lang.Object> args)
          Returns an instance of ITransformation based on content type, file service instance and transformation parameters.
 

Method Detail

build

ITransformation build(java.io.InputStream content,
                      java.lang.String contentType,
                      java.lang.String serviceInstanceId,
                      IFileMetadata fileMetadata,
                      java.util.Map<java.lang.String,java.lang.Object> args)
Returns an instance of ITransformation based on content type, file service instance and transformation parameters.

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.
Since:
6.1.0


Lumisportal  6.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.