net.sf.efhnbm/0 0.4 5

net.sf.efhnbm.launchers
Class CommandLauncher

java.lang.Object
  extended by net.sf.efhnbm.launchers.CommandLauncher
All Implemented Interfaces:
Launcher

public class CommandLauncher
extends java.lang.Object
implements Launcher

a generic command launcher

Version:
$Id: CommandLauncher.java 40 2007-12-13 15:25:01Z anegrin $
Author:
alessandro negrin

Constructor Summary
CommandLauncher(java.lang.String commandExplore, java.lang.String commandSelect)
          default constructor
 
Method Summary
 void explore(java.lang.String path)
          launch the command to explore a directory
 void select(java.lang.String path)
          launch the command to select a file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLauncher

public CommandLauncher(java.lang.String commandExplore,
                       java.lang.String commandSelect)
default constructor

Method Detail

explore

public void explore(java.lang.String path)
             throws java.lang.Exception
launch the command to explore a directory

Specified by:
explore in interface Launcher
Parameters:
path - the path to explore
Throws:
java.lang.Exception - if something goes wrong in the runtime

select

public void select(java.lang.String path)
            throws java.lang.Exception
launch the command to select a file

Specified by:
select in interface Launcher
Parameters:
path - the path to explore
Throws:
java.lang.Exception - if something goes wrong in the runtime

net.sf.efhnbm/0 0.4 5