public class CommandLineConverter extends CommandLineBasedConverter
The command line to call is stored in the CommandLineName
parameter.
The target file name is in the targetFileName
parameter. If it's null, a temporary one will be created.
All the converter parameters are passed to the command line.
A sample contribution using this converter:
application/pdf image/jpeg image/png image/gif pdftoimage
Modifier and Type | Field and Description |
---|---|
static String |
OUT_DIR_PATH_KEY |
static List<String> |
RESERVED_PARAMETERS |
static String |
SOURCE_FILE_PATH_KEY |
static String |
TARGET_FILE_NAME_KEY |
static String |
TARGET_FILE_PATH_KEY |
Constructor and Description |
---|
CommandLineConverter() |
convert, getTmpDirectory, init, isConverterAvailable
public static final String SOURCE_FILE_PATH_KEY
public static final String OUT_DIR_PATH_KEY
public static final String TARGET_FILE_NAME_KEY
public static final String TARGET_FILE_PATH_KEY
Copyright © 2015 Nuxeo SA. All rights reserved.