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)
| 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 |
nothing calls this directly
no test coverage detected