org.nuxeo.ecm.platform.picture.magick
Class MagickExecutor
java.lang.Object
org.nuxeo.ecm.platform.picture.magick.MagickExecutor
- Direct Known Subclasses:
- ImageConverter, ImageCropper, ImageCropperAndResizer, ImageIdentifier, ImageResizer, ImageRotater
public class MagickExecutor
- extends Object
Helper class to execute an ImageMagic command.
Depends on the CommandLineExecutorService
to run external processes.
- Author:
- tiry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MagickExecutor
public MagickExecutor()
execCommand
protected static ExecResult execCommand(String commandName,
CmdParameters params)
throws CommandNotAvailable
- Throws:
CommandNotAvailable
formatFilePath
protected static String formatFilePath(String filePath)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.