jsap - A Java-based Simple Argument Parser

Property Value
Distribution RPM Universal
Repository JPackage 5.0 all
Package name jsap
Package version 2.1
Package release 3.jpp5
Package architecture noarch
Package type rpm
Installed size 70.66 KB
Download size 63.69 KB
Official Mirror mirrors.dotsrc.org
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.


Package Version Architecture Repository
jsap-2.1-5.jpp6.noarch.rpm 2.1 noarch JPackage 6.0
jsap - - -


Name Value
xstream -


Name Value
jsap = 2.1-3.jpp5


Type URL
Binary Package jsap-2.1-3.jpp5.noarch.rpm
Source Package jsap-2.1-3.jpp5.src.rpm

Install Howto

Fedora, CentOS, RHEL:
  1. Download latest jpackage-release rpm from
  2. Install jpackage-release rpm:
    # rpm -Uvh jpackage-release*rpm
  3. Install jsap rpm package:
    # yum install jsap
  1. Add the JPackage 5.0 repository:
    # zypper addrepo http://mirrors.dotsrc.org/jpackage/5.0/generic/free/ jpackage-5.0
  2. Install jsap rpm package:
    # zypper install jsap
Mandriva, Mageia:
  1. Add the JPackage 5.0 repository:
    # urpmi.addmedia jpackage-5.0 http://mirrors.dotsrc.org/jpackage/5.0/generic/free/ with hdlist.cz
  2. Update packages list:
    # urpmi.update -a
  3. Install jsap rpm package:
    # urpmi jsap




2009-01-14 - Sebastiano Vigna <vigna@acm.org> 0:2.1-3.jpp5
- Fixed spec file
2008-12-26 - Sebastiano Vigna <vigna@acm.org> 0:2.1-1jpp
- Updated to 2.1
2005-06-21 - Sebastiano Vigna <vigna@acm.org> 0:2.0-1jpp
- Updated to 2.0--many new features
2005-03-16 - Sebastiano Vigna <vigna@acm.org> 0:1.03a-1jpp
- First JPackage version

See Also

Package Description
jsap-javadoc-2.1-3.jpp5.noarch.rpm Javadoc for jsap
jsap-manual-2.1-3.jpp5.noarch.rpm Manual for jsap
jsch-0.1.40-1.jpp5.noarch.rpm Pure Java implementation of SSH2
jsch-demo-0.1.40-1.jpp5.noarch.rpm Examples for jsch
jsch-javadoc-0.1.40-1.jpp5.noarch.rpm Javadoc for jsch
json-20080425-1.jpp5.noarch.rpm JavaScript Object Notation
json-javadoc-20080425-1.jpp5.noarch.rpm Javadoc for json
jsr-305-0.1-2.jpp5.noarch.rpm JSR 305: Annotations for Software Defect Detection in Java
jsr-305-javadoc-0.1-2.jpp5.noarch.rpm Javadoc for jsr-305
jsr107cache-1.0-2.jpp5.noarch.rpm JSR-107 JCache
jsr107cache-javadoc-1.0-2.jpp5.noarch.rpm Javadoc for jsr107cache
jsr223-scripting-engines-1.0-0.20080819.1.jpp5.noarch.rpm ScriptEngine Implementations
jsr223-scripting-engines-browserjs-1.0-0.20080819.1.jpp5.noarch.rpm Browser Javascript Engine for jsr223-scripting-engines
jsr223-scripting-engines-bsh-1.0-0.20080819.1.jpp5.noarch.rpm Beanshell Engine for jsr223-scripting-engines
jsr223-scripting-engines-freemarker-1.0-0.20080819.1.jpp5.noarch.rpm Freemarker Engine for jsr223-scripting-engines