| Package | Description |
|---|---|
| de.jarnbjo.ogg |
| Modifier and Type | Method and Description |
|---|---|
static OggPage |
OggPage.create(byte[] source)
this method equals to create(byte[] source, false)
|
static OggPage |
OggPage.create(byte[] source,
boolean skipData)
This method is called to
create a new OggPage instance based on the specified byte array.
|
static OggPage |
OggPage.create(InputStream source)
this method equals to create(InputStream source, false)
|
static OggPage |
OggPage.create(InputStream source,
boolean skipData)
This method is called to read data from the current position in the
specified InpuStream and create a new OggPage instance based on the data
read.
|
static OggPage |
OggPage.create(RandomAccessFile source)
this method equals to create(RandomAccessFile source, false)
|
static OggPage |
OggPage.create(RandomAccessFile source,
boolean skipData)
This method is called to read data from the current position in the
specified RandomAccessFile and create a new OggPage instance based on the data
read.
|
byte[] |
LogicalOggStreamImpl.getNextOggPacket() |
byte[] |
LogicalOggStream.getNextOggPacket()
Note: To read from the stream, you must use either
this method or the method
getNextOggPage. |
OggPage |
LogicalOggStreamImpl.getNextOggPage() |
OggPage |
LogicalOggStream.getNextOggPage()
Note: To read from the stream, you must use either
this method or the method
getNextOggPacket. |
OggPage |
PhysicalOggStream.getOggPage(int index)
Return the Ogg page with the absolute index
index,
independent from the logical structure of this stream or if the
index parameter is -1, the next Ogg page is returned. |
void |
LogicalOggStreamImpl.reset() |
void |
LogicalOggStream.reset()
Sets the stream's position to the beginning of the stream.
|
void |
PhysicalOggStream.setTime(long granulePosition)
Sets this stream's (and its logical stream's) position to the granule
position.
|
| Constructor and Description |
|---|
BasicStream(InputStream sourceStream) |
CachedUrlStream(URL source)
Creates an instance of this class, using a memory cache.
|
CachedUrlStream(URL source,
RandomAccessFile drain)
Creates an instance of this class, using the specified file as cache.
|
FileStream(RandomAccessFile source)
Creates access to the specified file through the
PhysicalOggStream interface. |
OnDemandUrlStream(URL source) |
UncachedUrlStream(URL source)
Creates an instance of the
PhysicalOggStream interface
suitable for reading an Ogg stream from a URL. |
Copyright © 2017. All rights reserved.