Class TransformerImpl

    • Constructor Detail

      • TransformerImpl

        public TransformerImpl()
    • Method Detail

      • addThumbnailProvider

        public void addThumbnailProvider​(ThumbnailProvider thumbnailProvider)
      • getThumbnailProviders

        public List<ThumbnailProvider> getThumbnailProviders()
        Returns:
        the thumbnailProviders
      • transform

        public void transform​(org.apache.sling.api.resource.Resource resource,
                              Transformation transformation,
                              OutputFileFormat format,
                              OutputStream out)
                       throws IOException
        Description copied from interface: Transformer
        Transforms the resource
        Specified by:
        transform in interface Transformer
        Parameters:
        resource - the resource to transform
        transformation - the transformation to execute
        format - the format of the stream to return
        out - the OutputStream to which to write the transformed file
        Throws:
        IOException - an exception occurs transforming the resource