|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kit.furia.AbstractFuriaChanCommandLine
public class AbstractFuriaChanCommandLine
| Constructor Summary | |
|---|---|
AbstractFuriaChanCommandLine()
|
|
| Method Summary | |
|---|---|
static org.apache.commons.cli.CommandLine |
getCommandLine(org.apache.commons.cli.Options options,
java.lang.Class c,
java.lang.String[] args)
Parses the array of options as received in main() and returns a CommandLine object that makes it easier to analyze the commands. |
static void |
initLogger()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFuriaChanCommandLine()
| Method Detail |
|---|
public static void initLogger()
public static org.apache.commons.cli.CommandLine getCommandLine(org.apache.commons.cli.Options options,
java.lang.Class c,
java.lang.String[] args)
throws org.apache.commons.cli.ParseException,
org.ajmm.obsearch.example.HelpException
options - The options object (generated from initCommandLine(...))c - The class that will be used for the name of the program.args - Arguments of the command line (as received in main(...))
org.apache.commons.cli.ParseException - If the given arguments have syntax errors
org.ajmm.obsearch.example.HelpException - If the user wants "help" we generate an exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||