public final class AppStarterCLP extends ApplicationCommandLineParser
EspritAppStarterLaunch
via web-start.
Execute the main method of this class to see available options and the help text on the console.optApplicationName
espritVersion, optDebug, optDemo, optHelp, optLocale, optLogDir, optLogToFile, optNoConsole, optTest, optVerbose, optVersion
Constructor and Description |
---|
AppStarterCLP(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
protected AppStarterConfig |
createConfig()
May be overridden to return a specific
ApplicationConfig derivation which contains
all data extracted from the command line. |
java.io.File |
getAppCacheRootDir() |
java.net.URL |
getAppStoreURL() |
java.lang.String |
getAppToStart() |
java.io.File |
getAppWorkingDir() |
java.lang.String |
getVersionToStart() |
boolean |
isShowTrayIcon() |
static void |
main(java.lang.String[] args)
Prints the help text for this command-line parser showing all it's options
|
getApplicationName, getConfig, isPrintVersionOnly, setDefaultApplicationName
addOption, addOption, addSoftwareVersion, checkDependencies, createHelpText, createHelpText, createOptionList, createSyntaxLine, ensureParsed, fetchDefinedOptionFor, findDefinedOptionFor, getArgument, getArgumentCount, getArguments, getCustomVersion, getEspritVersion, getLogDir, getMainClass, getSoftwareVersions, getStartLogLevel, handleParsingError, hasArguments, isDebug, isDemoMode, isExitAfterParsing, isLogToFile, isNoConsoleLog, isParsed, isTestMode, isVerbose, parse, removeOption, removeOption
protected AppStarterConfig createConfig() throws java.lang.Exception
ApplicationCommandLineParser
ApplicationConfig
derivation which contains
all data extracted from the command line.createConfig
in class ApplicationCommandLineParser
java.lang.Exception
public java.io.File getAppCacheRootDir()
public java.io.File getAppWorkingDir()
public java.net.URL getAppStoreURL()
public java.lang.String getAppToStart()
public java.lang.String getVersionToStart()
public boolean isShowTrayIcon()
public static void main(java.lang.String[] args)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.