org.xmlBlaster.util.property
Class Args

java.lang.Object
org.xmlBlaster.util.property.Args

public class Args

extends java.lang.Object

Evaluate parameters at process startup (args).

JDK 1.1 or higher only.

Example:

If you call your application e.g. like that:
java myapp -file myfile.txt
you can access the paramater:
String fileName = Args.getArg(args, "-file", "dummy.txt");
(dummy.txt would be the fallback if no -file ... is given)