net.datacrow.util.launcher
Class Launcher

java.lang.Object
  extended by net.datacrow.util.launcher.Launcher
Direct Known Subclasses:
FileLauncher, URLLauncher

public abstract class Launcher
extends java.lang.Object


Constructor Summary
Launcher()
           
 
Method Summary
protected  java.awt.Desktop getDesktop()
           
abstract  void launch()
           
protected  void runCmd(java.lang.String cmd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Launcher

public Launcher()
Method Detail

launch

public abstract void launch()

getDesktop

protected java.awt.Desktop getDesktop()

runCmd

protected void runCmd(java.lang.String cmd)
               throws java.lang.Exception
Throws:
java.lang.Exception