Package lumis.portal.file.transformation
Class TranscodingTransformation
- java.lang.Object
-
- lumis.portal.file.transformation.TranscodingTransformation
-
- All Implemented Interfaces:
ITransformation
public class TranscodingTransformation extends java.lang.Object implements ITransformation
Performs the "transcoding" transformation. Transcoding is the change of file format.- Since:
- 6.1.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description TranscodingTransformation(java.io.InputStream content, IFormatTransformer formatEncoder)
The constructor of "transcoding" transformation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
transform(java.io.OutputStream outputStream)
Performs the file transformation using theoutputStream
parameter as target of the file transformations.
-
-
-
Constructor Detail
-
TranscodingTransformation
public TranscodingTransformation(java.io.InputStream content, IFormatTransformer formatEncoder)
The constructor of "transcoding" transformation.- Parameters:
content
- the content to be "transcoded".formatEncoder
- the parameter containing the encoder information.- Since:
- 6.1.0
-
-
Method Detail
-
transform
public void transform(java.io.OutputStream outputStream) throws PortalException
Description copied from interface:ITransformation
Performs the file transformation using theoutputStream
parameter as target of the file transformations.- Specified by:
transform
in interfaceITransformation
- Parameters:
outputStream
- the writer to be transformed.- Throws:
PortalException
-
-