JSAP - Java Simple Argument Parser (v2.1)
Next
JSAP - Java Simple Argument Parser (v2.1)
Table of Contents
Formalities
License
1. Introduction
Why did you write another command line parser?
So what does JSAP actually do?
2. Vocabulary
3. Quick Start
HelloWorld_1
HelloWorld_2
HelloWorld_3
HelloWorld_4
HelloWorld_5
HelloWorld_6
HelloWorld_7
HelloWorld_8
HelloWorld_Simple
4. How It Works
Creating a JSAP to do the parsing.
Defining your program's parameters.
Registering your parameters with JSAP.
Parsing the command line.
Using the JSAPResult
5. Short vs. Long Flags
6. Switches
7. Flagged Options
8. Unflagged Options
9. Qualified Switches
10. Lists
11. StringParsers
12. Handling Errors
13. DefaultSources and Configuration Files
PropertyDefaultSource
14. Loading JSAP Configurations at Runtime with XML
15. Contributors
16. Reporting Problems