Interface ResourceTransformer


  • public interface ResourceTransformer
    Transforms resource instances.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • transform

        void transform​(ResourceTransformerContext context)
                throws java.io.IOException

        Transforms the resource at Path to another resource at the return Path.

        Typically this is to compress the files, however available for other transforms to files (such as altering contents of files).

        Parameters:
        context - ResourceTransformerContext.
        Throws:
        java.io.IOException - If fails to transform the resource.