Java Simple Argument Parser

Edit Package jsap
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.

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 0000002667 2.6 KB
Latest Revision
Fridrich Strba's avatar Fridrich Strba (fstrba) accepted request 1176034 from Anton Shvetz's avatar Anton Shvetz (urbic) (revision 1)
Submitting a new package
Comments 0
openSUSE Build Service is sponsored by