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
Method Summary |
void |
transform(OutputStream outputStream)
Performs the file transformation using the outputStream parameter as target
of the file transformations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
transform
public void transform(OutputStream outputStream)
throws PortalException
- Description copied from interface:
ITransformation
- Performs the file transformation using the
outputStream
parameter as target
of the file transformations.
- Specified by:
transform
in interface ITransformation
- Parameters:
outputStream
- the writer to be transformed.
- Throws:
PortalException
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.