|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tritonus.lowlevel.pogg.Page
public class Page
Wrapper for ogg_page.
Constructor Summary | |
---|---|
Page()
|
Method Summary | |
---|---|
void |
free()
Dummy method to make it compatible with native vorbis Page class |
byte[] |
getBody()
Obtain the body of the page. |
long |
getGranulePos()
Obtains the granule position property of the page. |
byte[] |
getHeader()
Obtain the header of the page. |
int |
getPackets()
Calls ogg_page_packets(). |
int |
getPageNo()
Calls ogg_page_pageno(). |
int |
getSerialNo()
Obtain the serial number of the stream the page belongs to. |
int |
getVersion()
Obtains the stream structure version. |
boolean |
isBos()
Returns the "begin of stream" property of the page. |
boolean |
isContinued()
Returns if the page is continued. |
boolean |
isEos()
Returns the "end of stream" property of the page. |
void |
setChecksum()
Calculate and set the checksum of the page. |
void |
setData(byte[] abHeader,
int nHeaderOffset,
int nHeaderLength,
byte[] abBody,
int nBodyOffset,
int nBodyLength)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Page()
Method Detail |
---|
public void free()
public int getVersion()
public boolean isContinued()
public int getPackets()
public boolean isBos()
public boolean isEos()
public long getGranulePos()
public int getSerialNo()
public int getPageNo()
public void setChecksum()
public byte[] getHeader()
public byte[] getBody()
public void setData(byte[] abHeader, int nHeaderOffset, int nHeaderLength, byte[] abBody, int nBodyOffset, int nBodyLength)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |