edu.sc.seis.fissuresUtil.gmt
Class GenericCommandExecute

java.lang.Object
  extended by edu.sc.seis.fissuresUtil.gmt.GenericCommandExecute

public class GenericCommandExecute
extends java.lang.Object


Constructor Summary
GenericCommandExecute()
           
 
Method Summary
static int execute(java.lang.String command)
           
static int execute(java.lang.String command, java.io.Reader stdin, java.io.OutputStream stdout, java.io.OutputStream stderr)
           
static int execute(java.lang.String command, java.io.Reader stdin, java.io.Writer stdout, java.io.Writer stderr)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericCommandExecute

public GenericCommandExecute()
Method Detail

execute

public static int execute(java.lang.String command)
                   throws java.lang.InterruptedException,
                          java.io.IOException
Throws:
java.lang.InterruptedException
java.io.IOException

execute

public static int execute(java.lang.String command,
                          java.io.Reader stdin,
                          java.io.OutputStream stdout,
                          java.io.OutputStream stderr)
                   throws java.lang.InterruptedException,
                          java.io.IOException
Throws:
java.lang.InterruptedException
java.io.IOException

execute

public static int execute(java.lang.String command,
                          java.io.Reader stdin,
                          java.io.Writer stdout,
                          java.io.Writer stderr)
                   throws java.lang.InterruptedException,
                          java.io.IOException
Throws:
java.lang.InterruptedException
java.io.IOException

main

public static void main(java.lang.String[] args)