public final class CommandSender<C extends CommandReceiver> extends Object
Constructor and Description |
---|
CommandSender(Class<C> converterClass) |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
Class<C> |
getConverterClass() |
CountDownLatch |
getLatch() |
Collection<Integer> |
getPotentialSubProcessIDs() |
List<File> |
getResults() |
void |
initException(Exception e)
Set an initial exception, but does not overwrite an existing
one.
|
boolean |
isAlive() |
boolean |
isDebug() |
protected void |
sendCommand(String message) |
protected void |
sendCommand(String message,
String param) |
void |
setDebug(boolean enable) |
void |
shutdown() |
protected Process |
startConverter(Class<C> converterClass) |
List<File> |
work(File inputFile) |
List<File> |
work(File inputFile,
String targetMimeType) |
List<File> |
work(File inputFile,
String targetMimeType,
Map<String,String> conversionProperties) |
public CommandSender(Class<C> converterClass) throws IOException
IOException
public final List<File> work(File inputFile, String targetMimeType) throws Exception
Exception
public final List<File> work(File inputFile, String targetMimeType, Map<String,String> conversionProperties) throws Exception
Exception
public CountDownLatch getLatch()
public void initException(Exception e)
e
- public final void shutdown()
public Collection<Integer> getPotentialSubProcessIDs()
protected final void sendCommand(String message) throws IOException
IOException
protected final void sendCommand(String message, String param) throws IOException
IOException
protected Process startConverter(Class<C> converterClass) throws IOException
IOException
public boolean isAlive()
public void setDebug(boolean enable)
public boolean isDebug()
protected void finalize() throws Throwable
Copyright © 2017 levigo holding gmbh. All rights reserved.