Class ArgsConf

  • All Implemented Interfaces:
    Conf

    public class ArgsConf
    extends MapConf
    A Conf which is build from a list of arguments. The arguments are keys optionally followed by values. Each key have to start with '-' or '--'. Keys with no values are interpreted as flags with value equals to {code true}.
    • Constructor Detail

      • ArgsConf

        public ArgsConf​(String[] args)
        Creates a new ArgsConf instance.
        Parameters:
        args - the string arguments array.