private List<AbstractSegment> filterApp1Segments(final List<AbstractSegment> abstractSegments) {
        final List<AbstractSegment> result = new ArrayList<>();

        for (final AbstractSegment s : abstractSegments) {
            final AbstractGenericSegment segment = (AbstractGenericSegment) s;
            if (isExifApp1Segment(segment)) {
                result.add(segment);
            }
        }

        return result;
    }
Constructs a new instance with the big-endian byte order.
src/main/java/org/apache/commons/imaging/formats/jpeg/JpegImageParser.java