throw new ImageReadException("No Segments Found.");
}
for (int d = 0; d < segments.size(); d++) {
final Segment segment = segments.get(d);
final NumberFormat nf = NumberFormat.getIntegerInstance();
// this.debugNumber("found, marker: ", marker, 4);
pw.println(d + ": marker: "
+ Integer.toHexString(segment.marker) + ", "
+ segment.getDescription() + " (length: "
+ nf.format(segment.length) + ")");
segment.dump(pw);
}
pw.println("");
}