Class 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: 13752 $ $Date: 2011-10-13 14:10:51 -0300 (Thu, 13 Oct 2011) $
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void transform​(java.io.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
    • 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 the outputStream parameter as target of the file transformations.
        Specified by:
        transform in interface ITransformation
        Parameters:
        outputStream - the writer to be transformed.
        Throws:
        PortalException