• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux Java GetOpt Generator Download

Java GetOpt Generator

April 17, 2008
Java GetOpt Generator creates a command-line argument parser using an XML file as input. This tool streamlines the process of developing command-line interfaces.
Version 0.81.1
License GPL
Platform Linux
Supported Languages English
Homepage trac.inamik.com
Developed by David Farrell
Java GetOpt Generator is a software that helps users generate a command-line argument parser from an XML file. One of the major advantages is that it generates both a 'parser' and a 'config' class. This feature enables users to either launch their program from the command-line or programmatically configure and execute it from another Java application.

Another feature of GetOpt Generator is that it is self-hosting. This means that it uses itself to generate its command-line parser. Users can check out the GetOpt.xml file as an example of what the XML configuration file should look like.

For each option, users should provide the name, long name of the option, short (1 char) alias, and type. The type can be one of: boolean, integer, string, input-file (verifying that the file exists), input-dir (verifying that the directory exists), output-file (treated as a string for now), or output-dir (treated as a string for now).

When users call GetOpt with --help, the software generates the following output options: [--help | -?], [--xmlFile | -x] xml_file, [--javaDir | -j] java_dir, [--exeClass | -e] exe_class, [--mainClass | -m] main_class, and [--configClass | -c] config_class. Note that options in brackets '[]' are optional. It is also important to note that all camel-case long opts can be represented using lowercase, as well as with '-' or '_' separating the camel-cased words.

To use GetOpt, users need to provide an XML file containing the configuration. They also need to give the fully qualified name (package+class) of the generated class that will parse the command line. The software also requires the fully qualified name (package_class) of the generated class that will store the config information. Users should provide the base output directory, which is typically their src directory, and the Java class that the generated command-line parser should call after parsing the command line. The exe class should contain a constructor that accepts a config_class instance and an execute() method, which will be called by the command-line parser. While it is the responsibility of the exe class to validate the parsed config, the config_class is generated with a validate() function that does the heavy lifting.
What's New

Version 0.81.1: N/A

Free Download 1.8M
359
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    157
  2. Dvgrab 3.4
    94
  3. DynVPN 1.0
    83
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    76
  6. porm r2
    72
  7. Clewarecontrol 0.8
    71
  8. Hills 2.0
    71
  9. fuseftp 0.8
    70
  10. Java Games 1.0
    70

Related Downloads

dgrey
Dgrey is a software tool that aids in synchronizing greylist information across ...
Auto-Solitaire
Auto-Solitaire software solves the classic Solitaire game, beginning from a cross, and ...
Colossus
A software version of Avalon Hill's Titan board game, written in Java ...
GNU Backgammon
GNU Backgammon (gnubg) is a software that enables the playing and analysis ...
D frontend for GCC
D is a high-level programming language that originated from C and C ...
ClixEvolve
ClixEvolve guarantees to evolve any MySQL schema efficiently with its schema evolver ...
OpenQabal
OpenQabal is a decentralized social networking and collaboration suite that operates on ...
Open nComputing Manager
Thin Client Manager is a software solution that enables central management and ...
PhiloLogic
PhiloLogic is a software engine created by ARTFL Project specially designed to ...
smartchr
Smartchr is a software tool that permits users to swiftly include multiple ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.