Class SosSegment
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment
org.apache.commons.imaging.formats.jpeg.segments.SosSegment
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SosSegment.Component[]final intprivate static final Loggerfinal intfinal intfinal intfinal intFields inherited from class AbstractSegment
length, marker -
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) Gets a component at the specified index.Gets the description.Methods inherited from class AbstractSegment
dump, getSegmentType, toStringMethods inherited from class 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
Gets a component at the specified index.- Parameters:
index- the component index- Returns:
- the component
-
getDescription
Description copied from class:AbstractSegmentGets the description.- Specified by:
getDescriptionin classAbstractSegment- Returns:
- the description.
-