JSAP - Java Simple Argument Parser (v1.03a)


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
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. Using ANT To Make Everything Easier
15. Reporting Problems