Advanced

Parse command options in Java with commons-cli

Posted by bob on
Opensource.com; By Seth Kenlon
Mail this story
Print this story

When you enter a command into your terminal, whether it's to launch a GUI app or just a terminal app, there are often options (sometimes called switches or flags) you can use to modify how the application runs. This is a standard set by the POSIX specification, so it's useful for a Java programmer to know how to detect and parse options.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Developer

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

This topic does not have any threads posted yet!

You cannot post until you login.