JAPI 0.9.0
Yet another Java API
API Documentation

net.sf.japi.io.args
Class ArgParser

java.lang.Object
  extended by net.sf.japi.io.args.ArgParser

public class ArgParser
extends Object

Parser for command line arguments.

Author:
Christian Hujer

Constructor Summary
ArgParser()
           
 
Method Summary
static void parse(Command argsContainer, String... args)
          Parses arguments into an arguments container and invokes the Command's Command#run(List) method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgParser

public ArgParser()
Method Detail

parse

public static void parse(Command argsContainer,
                         String... args)
Parses arguments into an arguments container and invokes the Command's Command#run(List) method.

Parameters:
argsContainer - object to hold parsed arguments
args - Arguments to parse

JAPI
Yet another Java API
API Documentation

© 2005-2006 Christian Hujer. All rights reserved. See copyright