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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void encode​(java.io.InputStream content, java.io.OutputStream output)
      Performs the file encode transformations, as change of file format.
    • Method Detail

      • encode

        void encode​(java.io.InputStream content,
                    java.io.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