Class DqtSegment
- java.lang.Object
-
- org.apache.commons.imaging.common.BinaryFileParser
-
- org.apache.commons.imaging.formats.jpeg.segments.Segment
-
- org.apache.commons.imaging.formats.jpeg.segments.DqtSegment
-
public class DqtSegment extends Segment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DqtSegment.QuantizationTable
-
Field Summary
Fields Modifier and Type Field Description List<DqtSegment.QuantizationTable>
quantizationTables
-
Constructor Summary
Constructors Constructor Description DqtSegment(int marker, byte[] segmentData)
DqtSegment(int marker, int length, InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
-
Methods inherited from class org.apache.commons.imaging.formats.jpeg.segments.Segment
dump, getSegmentType, toString
-
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
-
-
-
Field Detail
-
quantizationTables
public final List<DqtSegment.QuantizationTable> quantizationTables
-
-
Constructor Detail
-
DqtSegment
public DqtSegment(int marker, byte[] segmentData) throws ImageReadException, IOException
- Throws:
ImageReadException
IOException
-
DqtSegment
public DqtSegment(int marker, int length, InputStream is) throws ImageReadException, IOException
- Throws:
ImageReadException
IOException
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescription
in classSegment
-
-