Java Simple Argument Parser
http://martiansoftware.com/jsap/
JSAP not only syntactically validates your program’s command line arguments, but it converts those arguments into objects you specify. If you tell JSAP that one of your parameters is an Integer, for example, and the user does not provide a String that can be converted to an Integer when invoking the program, JSAP will throw a ParseException when you have it parse the command line. If no exception is thrown, you are guaranteed an Integer when you request that parameter’s value from your program. There’s a pretty big (and growing) list of return types suppored by JSAP, including Integers, Floats, Dates, URLs, and even java.awt.Colors; you can also add your own in a matter of minutes.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout Java:packages/jsap && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
00-use-system-jars.patch | 0000001025 1 KB | |
_service | 0000000525 525 Bytes | |
jsap-2.2+git.1611080120.ed4eb51.tar.xz | 0000077952 76.1 KB | |
jsap.changes | 0000000244 244 Bytes | |
jsap.spec | 0000002671 2.61 KB |
Latest Revision
Fridrich Strba (fstrba)
committed
(revision 2)
Comments 0