public class OptionUtil extends Object
| Constructor and Description |
|---|
OptionUtil()
|
public static StringgetKey(Option option)
Option's
getKey() method, which has package private visibility however. It returns
Option.getOpt() if the return value of that method is non-null and
Option.getLongOpt() otherwise.
option - the option to get the key for.