|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.coobird.thumbnailator.util.ThumbnailatorUtils
public final class ThumbnailatorUtils
A utility class for Thumbnailator.
Method Summary | |
---|---|
static List<String> |
getSupportedOutputFormats()
Returns a List of supported output formats. |
static List<String> |
getSupportedOutputFormatTypes(String format)
Returns a List of supported output formats types for a specified
output format. |
static boolean |
isSupportedOutputFormat(String format)
Returns whether a specified format is supported for output. |
static boolean |
isSupportedOutputFormatType(String format,
String type)
Returns whether a specified format type is supported for a specified output format. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static List<String> getSupportedOutputFormats()
List
of supported output formats.
List
of supported output formats. If no formats
are supported, an empty list is returned.public static boolean isSupportedOutputFormat(String format)
format
- The format to check whether it is supported or not.
true
if the format is supported, false
otherwise.public static List<String> getSupportedOutputFormatTypes(String format)
List
of supported output formats types for a specified
output format.
List
of supported output formats types. If no
formats types are supported, or if compression is not
supported for the specified format, then an empty list
is returned.public static boolean isSupportedOutputFormatType(String format, String type)
format
- The format to check whether it is supported or not.type
- The format type to check whether it is supported or not.
true
if the format type is supported by the
specified supported format, false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |