|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.hul.ois.jhove.module.jpeg2000.MainOrTile
public abstract class MainOrTile
Abstract superclass for Codestream and Tile classes. Many marker segments can apply either to the codestream as a whole or to specific tiles; this class merges those features in a single place.
Field Summary | |
---|---|
protected Property |
_codProperty
Coding style default property |
protected java.util.List<Property> |
_comments
Comments -- list of properties |
protected Property[] |
_components
Array of components. |
protected java.util.List<java.lang.Long> |
_packetLengthList
|
protected Property |
_pocProperty
Progression order change property |
protected int[] |
_precSize
|
protected Property |
_qcdProperty
Quantization default property |
protected static int |
NULL
|
Constructor Summary | |
---|---|
MainOrTile()
|
Method Summary | |
---|---|
void |
addComment(Property comment)
Adds a property to the comment list |
void |
addPacketLength(long len)
Add a packet length to the list of packet lengths. |
protected int |
getNumComponents()
Gets the number of components. |
void |
setCODProperty(Property prop)
Sets the coding style default property. |
void |
setCompProperty(int idx,
Property prop)
Sets a property indexed by component. |
void |
setNumComponents(int nComp)
Sets the number of components. |
void |
setPOCProperty(Property prop)
Sets the progression order change property. |
void |
setQCDProperty(Property prop)
Sets the quantization default property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int NULL
protected int[] _precSize
protected Property[] _components
protected Property _codProperty
protected Property _qcdProperty
protected Property _pocProperty
protected java.util.List<Property> _comments
protected java.util.List<java.lang.Long> _packetLengthList
Constructor Detail |
---|
public MainOrTile()
Method Detail |
---|
public void setNumComponents(int nComp)
public void setCompProperty(int idx, Property prop)
protected int getNumComponents()
public void setCODProperty(Property prop)
public void setQCDProperty(Property prop)
public void setPOCProperty(Property prop)
public void addComment(Property comment)
public void addPacketLength(long len)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |