Interface TransformationHandler

    • Method Detail

      • getResourceType

        String getResourceType()
        Get the resource type associated with this handler
        Returns:
        the handler resource type
      • handle

        void handle​(InputStream inputStream,
                    OutputStream outputStream,
                    TransformationHandlerConfig config)
             throws IOException
        Handles the transformation of the file using the command values from the suffix segment.
        Parameters:
        inputStream - the inputstream from which to read the file to transform from
        outputStream - the outputstream to write the transformed file to
        config - the configuration values for the transformation
        Throws:
        IOException - an exception occurs transforming the file