esmska
Class CommandLineParser

java.lang.Object
  extended by esmska.CommandLineParser

public class CommandLineParser
extends java.lang.Object

Parses program arguments from command line


Constructor Summary
CommandLineParser()
           
 
Method Summary
 java.lang.String getConfigPath()
          User custom path to configuration files
 boolean isPortable()
          Whether portable mode is enabled or disabled
 boolean parseArgs(java.lang.String[] args)
          Parse command line arguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineParser

public CommandLineParser()
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