org.apache.avalon.excalibur.cli
Class CLUtil
java.lang.Object
|
+--org.apache.avalon.excalibur.cli.CLUtil
- public final class CLUtil
- extends Object
CLUtil offers basic utility operations for use both internal and external to package.
- Since:
- 4.0
- Version:
- $Revision: 1.12 $ $Date: 2002/03/21 11:00:40 $
- Author:
- Peter Donald
- See Also:
CLOptionDescriptor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
describeOptions
public static final StringBuffer describeOptions(CLOptionDescriptor[] options)
- Format options into StringBuffer and return. This is typically used to
print "Usage" text in response to a "--help" or invalid option.
- Parameters:
options
- the option descriptors- Returns:
- the formatted description/help for options
"Copyright © 2000-2002 Apache Jakarta Project. All Rights Reserved."