public class SwingProcessImpl extends Object implements SwingProcess
| Constructor and Description |
|---|
SwingProcessImpl(SwingProcessConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
destroy(int delayMs) |
void |
execute() |
ProcessExitListener |
getCloseListener() |
SwingProcessConfig |
getConfig() |
boolean |
isForceKilled() |
boolean |
isRunning() |
void |
setProcessExitListener(ProcessExitListener closeListener) |
static String[] |
translateCommandline(String toProcess)
Copy of method from Apache Ant - Commandline class.
|
public SwingProcessImpl(SwingProcessConfig config)
public void execute()
throws Exception
execute in interface SwingProcessExceptionpublic void destroy()
public void destroy(int delayMs)
destroy in interface SwingProcesspublic boolean isRunning()
isRunning in interface SwingProcesspublic static String[] translateCommandline(String toProcess) throws Exception
toProcess - the command line to process.Exceptionpublic boolean isForceKilled()
isForceKilled in interface SwingProcesspublic ProcessExitListener getCloseListener()
public void setProcessExitListener(ProcessExitListener closeListener)
setProcessExitListener in interface SwingProcesspublic SwingProcessConfig getConfig()
getConfig in interface SwingProcessCopyright © 2017. All rights reserved.