Section (ImageSectionHeader header, ImageOptionalHeader imageOptionalHeader) { if (RESOURCES_SECTION_NAME.equals(header.getSectionName())) { return new ResourceSectionReader(header, imageOptionalHeader); } else { return new Simple(header); } }