Method
Option
(String name, String value, char separator, OptionFormat format)
Source from the content-addressed store, hash-verified
| 1006 | private static final String ILLEGAL_VALUE_CHARS = "\n\r"; |
| 1007 | |
| 1008 | public Option(String name, String value, char separator, OptionFormat format) { |
| 1009 | if (!validName(name, separator)) { |
| 1010 | throw new IllegalArgumentException("Illegal option name:" + name); |
| 1011 | } |
| 1012 | this.name = name; |
| 1013 | this.separator = separator; |
| 1014 | this.format = format; |
| 1015 | set(value); |
| 1016 | } |
| 1017 | |
| 1018 | public String name() { |
| 1019 | return this.name; |
Callers
nothing calls this directly
Tested by
no test coverage detected