jsap - A Java-based Simple Argument Parser

Distribution: RPM Universal
Repository: JPackage 6.0 all
Package name: jsap
Package version: 2.1
Package release: 5.jpp6
Package architecture: noarch
Package type: rpm
Installed size: 70.66 KB
Download size: 63.45 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.



  • jsap = 2.1-5.jpp6


    Source package: jsap-2.1-5.jpp6.src.rpm

    Install Howto

    Fedora, CentOS, RHEL:
    1. Download the 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 6.0 repository:
      # zypper addrepo http://mirrors.dotsrc.org/jpackage/6.0/generic/free/ jpackage-6.0
    2. Install jsap rpm package:
      # zypper install jsap
    Mandriva, Mageia:
    1. Add the JPackage 6.0 repository:
      # urpmi.addmedia jpackage-6.0 http://mirrors.dotsrc.org/jpackage/6.0/generic/free/ with hdlist.cz
    2. Update packages list:
      # urpmi.update -a
    3. Install jsap rpm package:
      # urpmi jsap


    • /usr/share/doc/jsap-2.1/CHANGELOG.TXT
    • /usr/share/doc/jsap-2.1/LICENSE.TXT
    • /usr/share/java/jsap-2.1.jar
    • /usr/share/java/jsap.jar


    2012-11-01 - Will Tatam <will.tatam@red61.com> 2.1-5 - Auto rebuild for JPackage 6 in centos5 mock

    2012-08-13 - Ralph Apel <r.apel@r-apel.de> 0:2.1-4 - First JPP-6 release

    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