Package lumis.portal.file.transformation
Interface ITransformationBuilder
-
- All Known Implementing Classes:
ScaleTransformationBuilder
,TranscodingTransformationBuilder
@StableMinor(version="14.2", sinceVersion="6.1") public interface ITransformationBuilder
Transformation builder, responsible to build anITransformation
object.- Since:
- 6.1.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ITransformation
build(InputStream content, String contentType, String serviceInstanceId, IFileMetadata fileMetadata, Map<String,Object> args)
Returns an instance ofITransformation
based on content type, file service instance and transformation parameters.
-
-
-
Method Detail
-
build
ITransformation build(InputStream content, String contentType, String serviceInstanceId, IFileMetadata fileMetadata, Map<String,Object> args)
Returns an instance ofITransformation
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
-
-