Class SosSegment
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.jpeg.segments.Segment
org.apache.commons.imaging.formats.jpeg.segments.SosSegment
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SosSegment.Component[]
final int
private static final Logger
final int
final int
final int
final int
-
Constructor Summary
ConstructorsConstructorDescriptionSosSegment
(int marker, byte[] segmentData) SosSegment
(int marker, int markerLength, InputStream is) -
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of all the components.getComponents
(int index) Return a component at the specified index.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 Details
-
LOGGER
-
numberOfComponents
public final int numberOfComponents -
components
-
startOfSpectralSelection
public final int startOfSpectralSelection -
endOfSpectralSelection
public final int endOfSpectralSelection -
successiveApproximationBitHigh
public final int successiveApproximationBitHigh -
successiveApproximationBitLow
public final int successiveApproximationBitLow
-
-
Constructor Details
-
SosSegment
- Throws:
IOException
-
SosSegment
- Throws:
IOException
-
-
Method Details
-
getComponents
Returns a copy of all the components.- Returns:
- all the components
-
getComponents
Return a component at the specified index.- Parameters:
index
- the component index- Returns:
- the component
-
getDescription
- Specified by:
getDescription
in classSegment
-