|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ocap.si.Descriptor
public abstract class Descriptor
This class represents an MPEG-2 descriptor.
| Constructor Summary | |
|---|---|
Descriptor()
|
|
| Method Summary | |
|---|---|
abstract byte |
getByteAt(int index)
Get a particular byte within the descriptor content. |
abstract byte[] |
getContent()
Get the data contained within this descriptor. |
abstract short |
getContentLength()
Get the descriptor_length field. |
abstract short |
getTag()
Get the descriptor_tag field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Descriptor()
| Method Detail |
|---|
public abstract short getTag()
public abstract short getContentLength()
public abstract byte[] getContent()
public abstract byte getByteAt(int index)
index - An index to the descriptor content. Value 0
corresponds to the first byte after the length field.
IndexOutOfBoundsException - if index < 0 or index >=
ContentLength
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||