// // JODConverter - Java OpenDocument Converter // Copyright 2009 Art of Solving Ltd // Copyright 2004-2009 Mirko Nasato // // JODConverter is free software: you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation, either version 3 of // the License, or (at your option) any later version. // // JODConverter is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General // Public License along with JODConverter. If not, see // <http://www.gnu.org/licenses/>. // package org.nuxeo.launcher.process; import java.io.IOException; public interface ProcessManager { public void kill(Process process, String pid) throws IOException; public String findPid(String regex) throws IOException; public boolean canFindPid(); }