jsap-2.1-3.jpp5.noarch.rpm


Advertisement

Description

jsap - A Java-based Simple Argument Parser

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.

Alternatives

Requires

Provides

  • jsap = 2.1-3.jpp5

    Download

    Source package: jsap-2.1-3.jpp5.src.rpm

    Install Howto

    Fedora, CentOS, RHEL:
    1. Download the latest jpackage-release rpm from
      http://mirrors.dotsrc.org/jpackage/5.0/generic/free/RPMS/
    2. Install jpackage-release rpm:
      # rpm -Uvh jpackage-release*rpm
    3. Install jsap rpm package:
      # yum install jsap
    openSUSE:
    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

    Files

    • /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

    Changelog

    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

    Advertisement
    Advertisement