/** * Returns a {@link Builder} to create an {@link Option} using descriptive * methods. * * @param opt short representation of the option * @return a new {@link Builder} instance * @throws IllegalArgumentException if there are any non valid Option characters in {@code opt} * @since 1.3 */ public static Builder builder(final String opt) { return new Builder(opt); }
/** * Returns a {@link Builder} to create an {@link Option} using descriptive * methods. * * @param opt short representation of the option * @return a new {@link Builder} instance * @throws IllegalArgumentException if there are any non valid Option characters in {@code opt} * @since 1.3 */ public static Builder builder(final String opt) { return new Builder(opt); }