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