Interface ResourceTransformer

    • Method Detail

      • canTransformResource

        boolean canTransformResource​(java.lang.String resource)
      • processResource

        void processResource​(java.lang.String resource,
                             java.io.InputStream is,
                             java.util.List<Relocator> relocators)
                      throws java.io.IOException
        Deprecated.
        prefer ReproducibleResourceTransformer
        Transform an individual resource
        Parameters:
        resource - The resource name
        is - An input stream for the resource, the implementation should *not* close this stream
        relocators - A list of relocators
        Throws:
        java.io.IOException - When the IO blows up
      • hasTransformedResource

        boolean hasTransformedResource()
      • modifyOutputStream

        void modifyOutputStream​(java.util.jar.JarOutputStream os)
                         throws java.io.IOException
        Throws:
        java.io.IOException