} else if (marker == JpegConstants.JPEG_APP14_MARKER) {
result.add(new App14Segment(marker, segmentData));
} else if (marker == JpegConstants.JPEG_APP2_MARKER) {
result.add(new App2Segment(marker, segmentData));
} else if (marker == JpegConstants.JFIF_MARKER) {
result.add(new JfifSegment(marker, segmentData));
} else if (Arrays.binarySearch(sofnSegments, marker) >= 0) {
result.add(new SofnSegment(marker, segmentData));
} else if (marker == JpegConstants.DQT_MARKER) {
result.add(new DqtSegment(marker, segmentData));
} else if ((marker >= JpegConstants.JPEG_APP1_MARKER)