Package com.jme3.audio.plugins
Class CachedOggStream
java.lang.Object
com.jme3.audio.plugins.CachedOggStream
- All Implemented Interfaces:
 de.jarnbjo.ogg.PhysicalOggStream
Implementation of the 
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 Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()de.jarnbjo.ogg.OggPageCollection<de.jarnbjo.ogg.LogicalOggStream>de.jarnbjo.ogg.OggPagegetOggPage(int index) booleanisOpen()booleande.jarnbjo.ogg.LogicalOggStreamvoidsetTime(long granulePosition)  
- 
Constructor Details
- 
CachedOggStream
- Throws:
 IOException
 
 - 
 - 
Method Details
- 
getLastOggPage
public de.jarnbjo.ogg.OggPage getLastOggPage() - 
getLogicalStreams
- Specified by:
 getLogicalStreamsin interfacede.jarnbjo.ogg.PhysicalOggStream
 - 
isOpen
public boolean isOpen()- Specified by:
 isOpenin interfacede.jarnbjo.ogg.PhysicalOggStream
 - 
close
- Specified by:
 closein interfacede.jarnbjo.ogg.PhysicalOggStream- Throws:
 IOException
 - 
getOggPage
- Specified by:
 getOggPagein interfacede.jarnbjo.ogg.PhysicalOggStream- Throws:
 IOException
 - 
setTime
- Specified by:
 setTimein interfacede.jarnbjo.ogg.PhysicalOggStream- Throws:
 IOException
 - 
reloadLogicalOggStream
public de.jarnbjo.ogg.LogicalOggStream reloadLogicalOggStream() - 
isSeekable
public boolean isSeekable()- Specified by:
 isSeekablein interfacede.jarnbjo.ogg.PhysicalOggStream
 
 -