public interface Transformer
Modifier and Type | Method and Description |
---|---|
void |
transform(org.apache.sling.api.resource.Resource resource,
Transformation transformation,
OutputFileFormat format,
OutputStream out)
Transforms the resource
|
void transform(org.apache.sling.api.resource.Resource resource, Transformation transformation, OutputFileFormat format, OutputStream out) throws IOException
resource
- the resource to transformtransformation
- the transformation to executeformat
- the format of the stream to returnout
- the OutputStream to which to write the transformed fileIOException
- an exception occurs transforming the resourceCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.