|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--colorspace.boxes.JP2Box
The abstract super class modeling the aspects of a JP2 box common to all such boxes.
Nested Class Summary | |
protected static class |
JP2Box.BoxType
JP2 Box structure analysis help |
Field Summary | |
protected int |
boxEnd
offset to end of box |
protected int |
boxStart
offset to start of box |
protected int |
dataStart
offset to start of data in box |
static java.lang.String |
eol
Platform dependant line terminator |
protected RandomAccessIO |
in
input file |
int |
length
Length of the box. |
static int |
type
Box type |
Constructor Summary | |
JP2Box()
|
|
JP2Box(RandomAccessIO in,
int boxStart)
Construct a JP2Box from an input image. |
Method Summary | |
java.lang.String |
getTypeString()
Return the box type as a String. |
static java.lang.String |
getTypeString(int t)
Return a String representation of the Box type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String eol
public static int type
public int length
protected RandomAccessIO in
protected int boxStart
protected int boxEnd
protected int dataStart
Constructor Detail |
public JP2Box() throws ColorSpaceException
public JP2Box(RandomAccessIO in, int boxStart) throws java.io.IOException, ColorSpaceException
in
- RandomAccessIO jp2 imageboxStart
- offset to the start of the box in the image
IOException,
- ColorSpaceException
java.io.IOException
ColorSpaceException
Method Detail |
public static java.lang.String getTypeString(int t)
public java.lang.String getTypeString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |