Package snaq.util.jclap

Library for parsing command-line arguments in Java applications.
Author:
Giles Winstanley
  • Interface Summary 
    Interface Description
    StringOption.Filter
    Acceptance filter for StringOption instances.
  • Class Summary 
    Class Description
    BooleanOption
    Implementation of an Option with value of type Boolean (otherwise known as a "flag").
    CLAParser
    Utility class to provide support for command-line options parsing.
    DoubleOption
    Implementation of an Option with value of type Double.
    EnumeratedIntegerOption
    Implementation of an Option with value restricted to a specified enumeration of type Integer.
    EnumeratedOption<E>
    Implementation of an Option with value restricted to an enumeration of a specified return value type.
    EnumeratedStringOption
    Implementation of an Option with value restricted to a specified enumeration of type String.
    FileOption  
    FileOption.FileFilter
    Implementation of an StringOption.Filter which filters based on existence and type of file to which the string refers.
    FloatOption
    Implementation of an Option with value of type Float.
    IntegerOption
    Implementation of an Option with value of type Integer.
    LocalDateOption
    Option implementation for specifying date values.
    LongOption
    Implementation of an Option with value of type Long.
    Option<E>
    Base implementation of a command-line option.
    StringOption
    Implementation of an Option with value of type String.
  • Enum Summary 
    Enum Description
    FileOption.FileFilter.AcceptExistance
    Enumeration of possible file existence states to accept.
    FileOption.FileFilter.AcceptFileType
    Enumeration of possible types to accept.
    OptionException.Type
    Defines the types of OptionException that exist.
  • Exception Summary 
    Exception Description
    OptionException
    Exception for command-line option parsing problems.