Package lumis.portal.file.transformation
Class TranscodingTransformation
- java.lang.Object
-
- lumis.portal.file.transformation.TranscodingTransformation
-
- All Implemented Interfaces:
ITransformation
public class TranscodingTransformation extends Object implements ITransformation
Performs the "transcoding" transformation. Transcoding is the change of file format.- Since:
- 6.1.0
- Version:
- $Revision: 13752 $ $Date: 2011-10-13 14:10:51 -0300 (Thu, 13 Oct 2011) $
-
-
Constructor Summary
Constructors Constructor Description TranscodingTransformation(InputStream content, IFormatTransformer formatEncoder)
The constructor of "transcoding" transformation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
transform(OutputStream outputStream)
Performs the file transformation using theoutputStream
parameter as target of the file transformations.
-
-
-
Constructor Detail
-
TranscodingTransformation
public TranscodingTransformation(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(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
-
-