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 |
|
Returns the Exec for the current OS, or the default Exec if no matching Exec exists for the current OS. |
private final static Exec DEFAULT_STRATEGY = new BaseExec()
private final static String OS = System.getProperties().getProperty("os.name")
private static Map strategies = null
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.