Package esmska

Class CommandLineParser


  • public class CommandLineParser
    extends java.lang.Object
    Parses program arguments from command line
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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