utils
Class ExecUtils

java.lang.Object
  extended by utils.ExecUtils

public class ExecUtils
extends java.lang.Object


Constructor Summary
ExecUtils()
           
 
Method Summary
static java.lang.String[] executeCommand(java.lang.String com)
          Execute a command on the local OS
static void main(java.lang.String[] args)
           
static void readInputStream(java.lang.Process p, java.util.Vector v)
           
static void RunBatchFile(java.lang.String batchParameter, java.lang.String batchFile)
           
static java.lang.String[] runCommand(java.lang.String cmd)
           
static void testListProperties()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecUtils

public ExecUtils()
Method Detail

runCommand

public static java.lang.String[] runCommand(java.lang.String cmd)
                                     throws java.io.IOException
Throws:
java.io.IOException

executeCommand

public static java.lang.String[] executeCommand(java.lang.String com)
                                         throws java.io.IOException
Execute a command on the local OS

Parameters:
com -
Returns:
an array of string for output from the command.
Throws:
java.io.IOException

readInputStream

public static void readInputStream(java.lang.Process p,
                                   java.util.Vector v)
                            throws java.io.IOException
Throws:
java.io.IOException

testListProperties

public static void testListProperties()

RunBatchFile

public static void RunBatchFile(java.lang.String batchParameter,
                                java.lang.String batchFile)
                         throws java.io.IOException
Throws:
java.io.IOException

main

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