bpiwowar.argparser.handlers
Class HelpHandler
java.lang.Object
bpiwowar.argparser.handlers.Handler
bpiwowar.argparser.handlers.HelpHandler
public class HelpHandler
- extends Handler
- Author:
- bpiwowar
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HelpHandler
public HelpHandler()
isHelpOption
public boolean isHelpOption()
- Description copied from class:
Handler
- Is this a help option?
- Overrides:
isHelpOption in class Handler
- Returns:
- true if the option is help option
parse
public int parse(ArgParser argParser,
String[] args,
int idx)
- Description copied from class:
Handler
- Parse the arguments from the current index
- Specified by:
parse in class Handler
- Parameters:
argParser - the argument parserargs - The set of argumentsidx - The index of the next argument at process
Copyright © 2013. All Rights Reserved.