public interface Transformer
| Modifier and Type | Method and Description |
|---|---|
void |
transform(org.apache.sling.api.resource.Resource resource,
Transformation transformation,
OutputFileFormat format,
java.io.OutputStream out)
Transforms the resource
|
void transform(org.apache.sling.api.resource.Resource resource,
Transformation transformation,
OutputFileFormat format,
java.io.OutputStream out)
throws java.io.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 filejava.io.IOException - an exception occurs transforming the resourceCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.