org.artofsolving.jodconverter.process
Class PureJavaProcessManager

java.lang.Object
  extended by org.artofsolving.jodconverter.process.PureJavaProcessManager
All Implemented Interfaces:
ProcessManager

public class PureJavaProcessManager
extends Object
implements ProcessManager


Field Summary
 
Fields inherited from interface org.artofsolving.jodconverter.process.ProcessManager
PID_NOT_FOUND, PID_UNKNOWN
 
Constructor Summary
PureJavaProcessManager()
           
 
Method Summary
 long findPid(ProcessQuery query)
           
 void kill(Process process, long pid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PureJavaProcessManager

public PureJavaProcessManager()
Method Detail

findPid

public long findPid(ProcessQuery query)
Specified by:
findPid in interface ProcessManager
Returns:
the pid if found, ProcessManager.PID_NOT_FOUND if not, or ProcessManager.PID_UNKNOWN if this implementation is unable to find out

kill

public void kill(Process process,
                 long pid)
Specified by:
kill in interface ProcessManager


Copyright © 2003-2012. All Rights Reserved.