public class SofnSegment extends Segment
| Modifier and Type | Class and Description |
|---|---|
static class |
SofnSegment.Component |
| Modifier and Type | Field and Description |
|---|---|
int |
height |
int |
numberOfComponents |
int |
precision |
int |
width |
| Constructor and Description |
|---|
SofnSegment(int marker,
byte[] segmentData) |
SofnSegment(int marker,
int markerLength,
InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
SofnSegment.Component[] |
getComponents()
Returns a copy of all the components.
|
SofnSegment.Component |
getComponents(int index)
Returns the component at the specified index.
|
String |
getDescription() |
dump, getSegmentType, toStringdebugNumber, debugNumber, getByteOrder, setByteOrderpublic final int width
public final int height
public final int numberOfComponents
public final int precision
public SofnSegment(int marker,
byte[] segmentData)
throws IOException
IOExceptionpublic SofnSegment(int marker,
int markerLength,
InputStream is)
throws IOException
IOExceptionpublic SofnSegment.Component[] getComponents()
public SofnSegment.Component getComponents(int index)
index - the array indexpublic String getDescription()
getDescription in class SegmentCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.