Application arguments.
Note:This class cannot use the logging package as this
class is used to initialize the logging package. Nor can it use any classes
that themselves use the logging package. author: Colin Bell
Return the single instance of this class.
the single instance of this class. throws: IllegalStateException - Thrown if ApplicationArguments.getInstance() calledbefore ApplicationArguments.initialize()
The name of the directory that Squirrel is installed into.
initialize
public static synchronized boolean initialize(String[] args)(Code)
Initialize application arguments.
Parameters: args - Arguments passed on command line. true if arguments parsed successfully elsefalse<.TT>. If parsing was unsuccessful an error was writtento standard error.
Resets the internally stored instance so that the next call to initialize
will function as the first call. Useful for unit tests, so it uses package
level access.