Package de.jarnbjo.ogg
Class OggPage
java.lang.Object
de.jarnbjo.ogg.OggPage
public class OggPage
extends java.lang.Object
-
Constructor Summary
Constructors Modifier Constructor Description protected
OggPage()
-
Method Summary
Modifier and Type Method Description static OggPage
create(byte[] byteArray)
static OggPage
create(byte[] byteArray, boolean boolean1)
static OggPage
create(java.io.InputStream inputStream)
static OggPage
create(java.io.InputStream inputStream, boolean boolean1)
static OggPage
create(java.io.RandomAccessFile randomAccessFile)
static OggPage
create(java.io.RandomAccessFile randomAccessFile, boolean boolean1)
long
getAbsoluteGranulePosition()
byte[]
getData()
byte[]
getHeader()
int
getPageCheckSum()
int
getPageSequenceNumber()
int[]
getSegmentLengths()
int[]
getSegmentOffsets()
byte[]
getSegmentTable()
int
getStreamSerialNumber()
int
getTotalLength()
boolean
isBos()
boolean
isContinued()
boolean
isEos()
boolean
isFresh()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OggPage
protected OggPage()
-
-
Method Details
-
create
public static OggPage create(java.io.RandomAccessFile randomAccessFile) throws java.io.IOException, EndOfOggStreamException, OggFormatException- Throws:
java.io.IOException
EndOfOggStreamException
OggFormatException
-
create
public static OggPage create(java.io.RandomAccessFile randomAccessFile, boolean boolean1) throws java.io.IOException, EndOfOggStreamException, OggFormatException- Throws:
java.io.IOException
EndOfOggStreamException
OggFormatException
-
create
public static OggPage create(java.io.InputStream inputStream) throws java.io.IOException, EndOfOggStreamException, OggFormatException- Throws:
java.io.IOException
EndOfOggStreamException
OggFormatException
-
create
public static OggPage create(java.io.InputStream inputStream, boolean boolean1) throws java.io.IOException, EndOfOggStreamException, OggFormatException- Throws:
java.io.IOException
EndOfOggStreamException
OggFormatException
-
create
public static OggPage create(byte[] byteArray) throws java.io.IOException, EndOfOggStreamException, OggFormatException- Throws:
java.io.IOException
EndOfOggStreamException
OggFormatException
-
create
public static OggPage create(byte[] byteArray, boolean boolean1) throws java.io.IOException, EndOfOggStreamException, OggFormatException- Throws:
java.io.IOException
EndOfOggStreamException
OggFormatException
-
getAbsoluteGranulePosition
public long getAbsoluteGranulePosition() -
getStreamSerialNumber
public int getStreamSerialNumber() -
getPageSequenceNumber
public int getPageSequenceNumber() -
getPageCheckSum
public int getPageCheckSum() -
getTotalLength
public int getTotalLength() -
getData
public byte[] getData() -
getHeader
public byte[] getHeader() -
getSegmentTable
public byte[] getSegmentTable() -
getSegmentOffsets
public int[] getSegmentOffsets() -
getSegmentLengths
public int[] getSegmentLengths() -
isContinued
public boolean isContinued() -
isFresh
public boolean isFresh() -
isBos
public boolean isBos() -
isEos
public boolean isEos()
-