gr.uoa.di.madgik.searchlibrary.operatorlibrary.transform
Class CommandExecutor
java.lang.Object
gr.uoa.di.madgik.searchlibrary.operatorlibrary.transform.CommandExecutor
public class CommandExecutor
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandExecutor
public CommandExecutor(String command)
execute
public void execute()
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
transform
public void transform(String str)
throws IOException
- Throws:
IOException
waitFor
public int waitFor()
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
exitValue
public int exitValue()
throws IllegalThreadStateException
- Throws:
IllegalThreadStateException
finished
public void finished()
throws IOException
- Throws:
IOException
getBufferedReader
public BufferedReader getBufferedReader()
pipe
public static void pipe(InputStream in,
OutputStream out)
main
public static void main(String[] args)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
Copyright © 2013. All Rights Reserved.