public abstract class JP2Box extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
JP2Box.BoxType
JP2 Box structure analysis help
|
| Modifier and Type | Field and Description |
|---|---|
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 String |
eol
Platform dependant line terminator
|
protected RandomAccessIO |
in
input file
|
int |
length
Length of the box.
|
static int |
type
Box type
|
| Constructor and Description |
|---|
JP2Box() |
JP2Box(RandomAccessIO in,
int boxStart)
Construct a JP2Box from an input image.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTypeString()
Return the box type as a String.
|
static String |
getTypeString(int t)
Return a String representation of the Box type.
|
public static final String eol
public static int type
public int length
protected RandomAccessIO in
protected int boxStart
protected int boxEnd
protected int dataStart
public JP2Box()
throws ColorSpaceException
ColorSpaceExceptionpublic JP2Box(RandomAccessIO in, int boxStart) throws IOException, ColorSpaceException
in - RandomAccessIO jp2 imageboxStart - offset to the start of the box in the imageIOException, - ColorSpaceExceptionIOExceptionColorSpaceExceptionCopyright © 2015. All rights reserved.