public class CommandGenerator extends BaseThumbnailGenerator
| Modifier and Type | Class and Description |
|---|---|
protected static class |
CommandGenerator.ProcessDestroyer |
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.ServletContext |
application |
protected File |
baseDir |
protected List<String> |
commandList |
protected long |
commandTimeout |
conditionMap, directoryNameLength, filePathMap, generatorList, maxRedirectCount, name| Constructor and Description |
|---|
CommandGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected void |
executeCommand(String thumbnailId,
List<String> cmdList) |
boolean |
generate(String thumbnailId,
File outputFile) |
void |
init() |
void |
setBaseDir(File baseDir) |
void |
setCommandList(List<String> commandList) |
void |
setCommandTimeout(long commandTimeout) |
addCondition, createTask, expandPath, getName, isAvailable, isTarget, process, process, setDirectoryNameLength, setGeneratorList, setMaxRedirectCount, setName, updateThumbnailFieldprotected javax.servlet.ServletContext application
protected long commandTimeout
protected File baseDir
@PostConstruct public void init()
public void destroy()
public void setCommandTimeout(long commandTimeout)
public void setBaseDir(File baseDir)
Copyright © 2009–2017 CodeLibs. All rights reserved.