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 finishedReading()
           
 void finishedWriting()
           
 BufferedReader getBufferedReader()
           
static void maain(String[] args)
           
static void main(String[] args)
           
static void pipe(InputStream in, OutputStream out)
           
static void test()
           
 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

finishedWriting

public void finishedWriting()
                     throws IOException
Throws:
IOException

finishedReading

public void finishedReading()
                     throws IOException
Throws:
IOException

getBufferedReader

public BufferedReader getBufferedReader()

pipe

public static void pipe(InputStream in,
                        OutputStream out)

test

public static void test()

main

public static void main(String[] args)

maain

public static void maain(String[] args)
                  throws IOException,
                         InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2014. All Rights Reserved.