public class CLIOptions extends CLIHandler
CLIHandler.Args
Modifier and Type | Field and Description |
---|---|
protected static boolean |
noLogging
The flag whether to create the log - can be set via -nologging
command line option
|
protected static Class |
uiClass |
WHEN_BOOT, WHEN_EXTRA, WHEN_INIT
Constructor and Description |
---|
CLIOptions()
Create a default handler.
|
Modifier and Type | Method and Description |
---|---|
protected int |
cli(CLIHandler.Args arguments) |
int |
cli(String[] args) |
static File |
getCacheDir() |
static int |
getFontSize() |
static String |
getHomeDir()
Getter for home directory.
|
static String |
getLogDir()
Directory to place logs into logging.
|
protected static String |
getSystemDir()
System directory getter.
|
static String |
getUserDir()
Getter for user home directory.
|
static void |
initialize()
Initializes logging etc.
|
static boolean |
isGui()
Checks whether we are supposed to use GUI features or not.
|
protected void |
usage(PrintWriter w) |
notifyHandlers, showHelp, stopServer
protected static boolean noLogging
protected static Class uiClass
protected int cli(CLIHandler.Args arguments)
cli
in class CLIHandler
public static boolean isGui()
public final int cli(String[] args)
public static void initialize()
protected void usage(PrintWriter w)
usage
in class CLIHandler
public static String getLogDir()
public static String getHomeDir()
public static String getUserDir()
public static File getCacheDir()
protected static String getSystemDir()
public static int getFontSize()