org.netbeans.core.startup/1 1.40

org.netbeans.core.startup
Class CLIOptions

java.lang.Object
  extended by org.netbeans.CLIHandler
      extended by org.netbeans.core.startup.CLIOptions

public class CLIOptions
extends CLIHandler

Handler for core options.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.CLIHandler
CLIHandler.Args
 
Field Summary
protected static boolean noLogging
          The flag whether to create the log - can be set via -nologging command line option
protected static Class uiClass
           
 
Fields inherited from class org.netbeans.CLIHandler
WHEN_BOOT, WHEN_EXTRA, WHEN_INIT
 
Constructor Summary
CLIOptions()
          Create a default handler.
 
Method Summary
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)
           
 
Methods inherited from class org.netbeans.CLIHandler
notifyHandlers, showHelp, stopServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

noLogging

protected static boolean noLogging
The flag whether to create the log - can be set via -nologging command line option


uiClass

protected static Class uiClass
Constructor Detail

CLIOptions

public CLIOptions()
Create a default handler.

Method Detail

cli

protected int cli(CLIHandler.Args arguments)
Specified by:
cli in class CLIHandler

isGui

public static boolean isGui()
Checks whether we are supposed to use GUI features or not.


cli

public final int cli(String[] args)

initialize

public static void initialize()
Initializes logging etc.


usage

protected void usage(PrintWriter w)
Specified by:
usage in class CLIHandler

getLogDir

public static String getLogDir()
Directory to place logs into logging.


getHomeDir

public static String getHomeDir()
Getter for home directory.


getUserDir

public static String getUserDir()
Getter for user home directory.


getCacheDir

public static File getCacheDir()

getSystemDir

protected static String getSystemDir()
System directory getter.


getFontSize

public static int getFontSize()

org.netbeans.core.startup/1 1.40

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.