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

Method optionNames

builder/index/src/main/java/util/IniParser.java:396–402  ·  view source on GitHub ↗

Returns all option names of a section, not including options from the common section. @param section the section's name @return list of option names @throws IniParser.NoSuchSectionException no section with the given name exists

(String section)

Source from the content-addressed store, hash-verified

394 * @throws IniParser.NoSuchSectionException no section with the given name exists
395 */
396 public List<String> optionNames(String section) {
397 if (hasSection(section)) {
398 return getSection(section).optionNames();
399 } else {
400 throw new NoSuchSectionException(section);
401 }
402 }
403
404 /**
405 * Adds a comment line to the end of a section. A comment spanning

Callers

nothing calls this directly

Calls 2

hasSectionMethod · 0.95
getSectionMethod · 0.95

Tested by

no test coverage detected