Nuxeo Enterprise Platform 5.3

org.nuxeo.ecm.platform.picture.magick
Class MagickExecutor

java.lang.Object
  extended by 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

Constructor Summary
MagickExecutor()
           
 
Method Summary
protected static ExecResult execCommand(String commandName, CmdParameters params)
           
protected static String formatFilePath(String filePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MagickExecutor

public MagickExecutor()
Method Detail

execCommand

protected static ExecResult execCommand(String commandName,
                                        CmdParameters params)
                                 throws CommandNotAvailable
Throws:
CommandNotAvailable

formatFilePath

protected static String formatFilePath(String filePath)

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.