Class ExecFactory
package: net.jxta.myjxta.util.exec
public class ExecFactory
Version:
$Id: ExecFactory.java,v 1.1 2004/12/19 23:55:38 gonzo Exp $
Author:
james todd [gonzo at jxta dot org]
mike mcangus [mcangus at jxta dot org]
Field Summary
private final static Exec
private final static String
private static Map
Method Summary
public static Exec
   Returns the Exec for the current OS, or the default Exec if no matching Exec exists for the current OS.
 
Field Detail
DEFAULT_STRATEGY
private final static Exec DEFAULT_STRATEGY = new BaseExec()

OS
private final static String OS = System.getProperties().getProperty("os.name")

strategies
private static Map strategies = null
Method Detail
getExec
public static Exec getExec()
Returns the Exec for the current OS, or the default Exec if no matching Exec exists for the current OS.
Return:
the Exec for the current OS, or the default Exec if no matching Exec exists for the current OS.