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 protectedOggPage() -
Method Summary
Modifier and Type Method Description static OggPagecreate(byte[] byteArray)static OggPagecreate(byte[] byteArray, boolean boolean1)static OggPagecreate(java.io.InputStream inputStream)static OggPagecreate(java.io.InputStream inputStream, boolean boolean1)static OggPagecreate(java.io.RandomAccessFile randomAccessFile)static OggPagecreate(java.io.RandomAccessFile randomAccessFile, boolean boolean1)longgetAbsoluteGranulePosition()byte[]getData()byte[]getHeader()intgetPageCheckSum()intgetPageSequenceNumber()int[]getSegmentLengths()int[]getSegmentOffsets()byte[]getSegmentTable()intgetStreamSerialNumber()intgetTotalLength()booleanisBos()booleanisContinued()booleanisEos()booleanisFresh()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.IOExceptionEndOfOggStreamExceptionOggFormatException
-
create
public static OggPage create(java.io.RandomAccessFile randomAccessFile, boolean boolean1) throws java.io.IOException, EndOfOggStreamException, OggFormatException- Throws:
java.io.IOExceptionEndOfOggStreamExceptionOggFormatException
-
create
public static OggPage create(java.io.InputStream inputStream) throws java.io.IOException, EndOfOggStreamException, OggFormatException- Throws:
java.io.IOExceptionEndOfOggStreamExceptionOggFormatException
-
create
public static OggPage create(java.io.InputStream inputStream, boolean boolean1) throws java.io.IOException, EndOfOggStreamException, OggFormatException- Throws:
java.io.IOExceptionEndOfOggStreamExceptionOggFormatException
-
create
public static OggPage create(byte[] byteArray) throws java.io.IOException, EndOfOggStreamException, OggFormatException- Throws:
java.io.IOExceptionEndOfOggStreamExceptionOggFormatException
-
create
public static OggPage create(byte[] byteArray, boolean boolean1) throws java.io.IOException, EndOfOggStreamException, OggFormatException- Throws:
java.io.IOExceptionEndOfOggStreamExceptionOggFormatException
-
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()
-