Package esmska
Class CommandLineParser
- java.lang.Object
-
- esmska.CommandLineParser
-
public class CommandLineParser extends java.lang.ObjectParses program arguments from command line
-
-
Constructor Summary
Constructors Constructor Description CommandLineParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConfigPath()User custom path to configuration filesbooleanisPortable()Whether portable mode is enabled or disabledbooleanparseArgs(java.lang.String[] args)Parse command line arguments
-
-
-
Method Detail
-
parseArgs
public boolean parseArgs(java.lang.String[] args)
Parse command line arguments- Returns:
- true, if arguments' syntax was ok, false otherwise
-
isPortable
public boolean isPortable()
Whether portable mode is enabled or disabled
-
getConfigPath
public java.lang.String getConfigPath()
User custom path to configuration files
-
-