com.notuvy.util
Class ProgramLauncher

java.lang.Object
  extended by com.notuvy.util.ProgramLauncher
All Implemented Interfaces:
Runnable

public class ProgramLauncher
extends Object
implements Runnable

A utlity to launch an external appliction

Author:
murali

Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Constructor Summary
ProgramLauncher(String pCommand)
           
 
Method Summary
protected static String[] createCmdArray(String cmd)
           
 String getCommand()
           
 boolean isBlocking()
           
 void run()
           
 void setBlocking(boolean pBlocking)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

protected static final org.apache.log4j.Logger LOG
Constructor Detail

ProgramLauncher

public ProgramLauncher(String pCommand)
Method Detail

createCmdArray

protected static String[] createCmdArray(String cmd)

getCommand

public String getCommand()

isBlocking

public boolean isBlocking()

setBlocking

public void setBlocking(boolean pBlocking)

toString

public String toString()
Overrides:
toString in class Object

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2013. All Rights Reserved.