Interface IFormatTransformer

  • All Known Implementing Classes:
    MultiMediaFormatEncoder

    public interface IFormatTransformer
    File format encoder interface.
    Since:
    6.1.0
    Version:
    $Revision: 13752 $ $Date: 2011-10-13 14:10:51 -0300 (Thu, 13 Oct 2011) $
    • Method Detail

      • encode

        void encode​(InputStream content,
                    OutputStream output)
             throws PortalException
        Performs the file encode transformations, as change of file format.
        The content parameter is the source of transformation and output parameter is the target.
        Parameters:
        content - the reader source of encode.
        output - the target of encode.
        Throws:
        PortalException
        Since:
        6.1.0