public interface TransformationHandler
Modifier and Type | Field and Description |
---|---|
static String |
HANDLER_RESOURCE_TYPE |
Modifier and Type | Method and Description |
---|---|
String |
getResourceType()
Get the resource type associated with this handler
|
void |
handle(net.coobird.thumbnailator.Thumbnails.Builder<? extends InputStream> builder,
org.apache.sling.api.resource.Resource config)
Handles the transformation of the file using the command values from the
suffix segment.
|
static final String HANDLER_RESOURCE_TYPE
String getResourceType()
void handle(net.coobird.thumbnailator.Thumbnails.Builder<? extends InputStream> builder, org.apache.sling.api.resource.Resource config) throws IOException
builder
- the Thumbnails builder to use / updateconfig
- the configuration values for the transformationIOException
- an exception occurs transforming the fileCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.