public class CachedOggStream
extends java.lang.Object
implements de.jarnbjo.ogg.PhysicalOggStream
PhysicalOggStream interface for reading
  and caching an Ogg stream from a URL. This class reads the data as fast as
  possible from the URL, caches it locally either in memory or on disk, and
  supports seeking within the available data.| Constructor and Description | 
|---|
| CachedOggStream(java.io.InputStream in) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| de.jarnbjo.ogg.OggPage | getLastOggPage() | 
| java.util.Collection<de.jarnbjo.ogg.LogicalOggStream> | getLogicalStreams() | 
| de.jarnbjo.ogg.OggPage | getOggPage(int index) | 
| boolean | isOpen() | 
| boolean | isSeekable() | 
| de.jarnbjo.ogg.LogicalOggStream | reloadLogicalOggStream() | 
| void | setTime(long granulePosition) | 
public CachedOggStream(java.io.InputStream in)
                throws java.io.IOException
java.io.IOExceptionpublic de.jarnbjo.ogg.OggPage getLastOggPage()
public java.util.Collection<de.jarnbjo.ogg.LogicalOggStream> getLogicalStreams()
getLogicalStreams in interface de.jarnbjo.ogg.PhysicalOggStreampublic boolean isOpen()
isOpen in interface de.jarnbjo.ogg.PhysicalOggStreampublic void close()
           throws java.io.IOException
close in interface de.jarnbjo.ogg.PhysicalOggStreamjava.io.IOExceptionpublic de.jarnbjo.ogg.OggPage getOggPage(int index)
                                  throws java.io.IOException
getOggPage in interface de.jarnbjo.ogg.PhysicalOggStreamjava.io.IOExceptionpublic void setTime(long granulePosition)
             throws java.io.IOException
setTime in interface de.jarnbjo.ogg.PhysicalOggStreamjava.io.IOExceptionpublic de.jarnbjo.ogg.LogicalOggStream reloadLogicalOggStream()
public boolean isSeekable()
isSeekable in interface de.jarnbjo.ogg.PhysicalOggStream