MCPcopy Create free account
hub / github.com/Qihoo360/poseidon / Option

Method Option

builder/index/src/main/java/util/IniParser.java:1008–1016  ·  view source on GitHub ↗
(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

Calls 2

validNameMethod · 0.95
setMethod · 0.95

Tested by

no test coverage detected