hec.environment
Class StdPathnameFactory
java.lang.Object
hec.environment.StdPathnameFactory
- public class StdPathnameFactory
- extends java.lang.Object
Class to implement an OS-specific instance of StdPathnames.
- See Also:
StdPathnames
,
WindowsStdPathnameImpl
,
UnixStdPathnameImpl
Method Summary |
static StdPathnames |
getInstance()
Retrieves an implementation of StdPathnames for the current operating system. |
protected static void |
initialize()
Initializes the implementation instance for the current operating system. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static StdPathnames instance
initialized
protected static boolean initialized
StdPathnameFactory
public StdPathnameFactory()
initialize
protected static void initialize()
throws java.lang.Exception
- Initializes the implementation instance for the current operating system.
- Throws:
java.lang.Exception
getInstance
public static StdPathnames getInstance()
throws java.lang.Exception
- Retrieves an implementation of StdPathnames for the current operating system.
- Returns:
- The implementation of StdPathnames for the current operating system. If there is no implementation for
the current operating system, returns null.
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception