public interface TransformationHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(java.lang.String command)
Returns true if the transformation handler should execute for the specified
command.
|
void |
handle(net.coobird.thumbnailator.Thumbnails.Builder<? extends java.io.InputStream> builder,
java.lang.String cmd)
Handles the transformation of the thumbnail using the command values from the
suffix segment.
|
boolean applies(java.lang.String command)
command - the command to checkvoid handle(net.coobird.thumbnailator.Thumbnails.Builder<? extends java.io.InputStream> builder,
java.lang.String cmd)
throws java.io.IOException
builder - the Thumbnails builder to use / updatecmd - the command to parse to retrieve the configuration values for
the transformationjava.io.IOException - an exception occurs transforming the thumbnailCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.