Interface IFormatTransformer

  • All Known Implementing Classes:
    MultiMediaFormatEncoder

    public interface IFormatTransformer
    File format encoder interface.
    Since:
    6.1.0
    Version:
    $Revision$ $Date$
    • 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