Class SofnSegment
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment
org.apache.commons.imaging.formats.jpeg.segments.SofnSegment
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal intfinal intfinal intfinal intFields inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractSegmentlength, marker
- 
Constructor SummaryConstructorsConstructorDescriptionSofnSegment(int marker, byte[] segmentData) SofnSegment(int marker, int markerLength, InputStream is) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns a copy of all the components.getComponents(int index) Returns the component at the specified index.Gets the description.Methods inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractSegmentdump, getSegmentType, toStringMethods inherited from class org.apache.commons.imaging.common.BinaryFileParserdebugNumber, debugNumber, getByteOrder, setByteOrder
- 
Field Details- 
width
- 
height
- 
numberOfComponents
- 
precision
 
- 
- 
Constructor Details- 
SofnSegment- Throws:
- IOException
- ImagingException
 
- 
SofnSegmentpublic SofnSegment(int marker, int markerLength, InputStream is) throws IOException, ImagingException - Throws:
- IOException
- ImagingException
 
 
- 
- 
Method Details- 
getComponentsReturns a copy of all the components.- Returns:
- the components
 
- 
getComponentsReturns the component at the specified index.- Parameters:
- index- the array index
- Returns:
- the component
 
- 
getDescriptionDescription copied from class:AbstractSegmentGets the description.- Specified by:
- getDescriptionin class- AbstractSegment
- Returns:
- the description.
 
 
-