/** * @param name * @return * @throws IOException */ public Section getSectionByName(final String name) throws IOException { final Section[] secs = getSections(); for (Section section : secs) { if (name.equals(section.getName())) { return section; } } return null; }