gr.uoa.di.madgik.searchlibrary.operatorlibrary.transform
Class CommandExecutor

java.lang.Object
  extended by gr.uoa.di.madgik.searchlibrary.operatorlibrary.transform.CommandExecutor

public class CommandExecutor
extends Object


Constructor Summary
CommandExecutor(String command)
           
 
Method Summary
 void execute()
           
 int exitValue()
           
 void finished()
           
 BufferedReader getBufferedReader()
           
static void main(String[] args)
           
static void pipe(InputStream in, OutputStream out)
           
 void transform(String str)
           
 int waitFor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandExecutor

public CommandExecutor(String command)
Method Detail

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.