Notes: Introduces a facility for <code>OptionParser</code>s to print a help screen, which describes the options they accept. Adds the ability to provide descriptions of options and their arguments when configuring an OptionParser. These descriptions are printed in the aforementioned help screens. Clarified the contract of the one-arg String constructor of OptionParser: the constructor raises IllegalArgumentException if its argument is null. Deprecated OptionParser.noArg, OptionParser.requiredArg, and OptionParser.optionalArg. Deprecated some "gets for gets' sake": OptionException.getOption(), OptionSet.getNonOptionArguments(). They are replaced with less Java-beany-looking methods.
Changes: Introduces a facility for <code>OptionParser</code>s to print a help screen, which describes the options they accept. Adds the ability to provide descriptions of options and their arguments when configuring an OptionParser. These descriptions are printed in the aforementioned help screens. Clarified the contract of the one-arg String constructor of OptionParser: the constructor raises IllegalArgumentException if its argument is null. Deprecated OptionParser.noArg, OptionParser.requiredArg, and OptionParser.optionalArg. Deprecated some "gets for gets' sake": OptionException.getOption(), OptionSet.getNonOptionArguments(). They are replaced with less Java-beany-looking methods.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use