|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.kernel.image.ImageMagickUtil
public class ImageMagickUtil
The ImageMagick utility class.
| Constructor Summary | |
|---|---|
ImageMagickUtil()
|
|
| Method Summary | |
|---|---|
static java.util.concurrent.Future<?> |
convert(java.util.List<java.lang.String> arguments)
Executes the convert command in ImageMagick. |
static void |
destroy()
|
static java.lang.String |
getGlobalSearchPath()
Returns the global search path configured for ImageMagick. |
static ImageMagick |
getImageMagick()
|
static java.util.Properties |
getResourceLimitsProperties()
Returns the cache and resource usage limits configured for ImageMagick. |
static java.lang.String[] |
identify(java.util.List<java.lang.String> arguments)
Executes the identify command in ImageMagick. |
static boolean |
isEnabled()
Returns true if ImageMagick is enabled. |
static void |
reset()
Resets the global search path and resource limits for ImageMagick. |
void |
setImageMagick(ImageMagick imageMagick)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageMagickUtil()
| Method Detail |
|---|
public static java.util.concurrent.Future<?> convert(java.util.List<java.lang.String> arguments)
throws java.lang.Exception
convert command in ImageMagick.
arguments - the command arguments being passed to convert
java.lang.Exception - if an unexpected error occurred while executing commandpublic static void destroy()
public static java.lang.String getGlobalSearchPath()
throws java.lang.Exception
java.lang.Exception - if an unexpected error occurredpublic static ImageMagick getImageMagick()
public static java.util.Properties getResourceLimitsProperties()
throws java.lang.Exception
java.lang.Exception - if an unexpected error occurred
public static java.lang.String[] identify(java.util.List<java.lang.String> arguments)
throws java.lang.Exception
identify command in ImageMagick.
arguments - the command arguments being passed to identify
identify call
java.lang.Exception - if an unexpected error occurred while executing commandpublic static boolean isEnabled()
true if ImageMagick is enabled.
true if ImageMagick is enabled; false
otherwisepublic static void reset()
public void setImageMagick(ImageMagick imageMagick)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||