Package de.jarnbjo.ogg
Class CachedUrlStream
java.lang.Object
de.jarnbjo.ogg.CachedUrlStream
- All Implemented Interfaces:
 PhysicalOggStream
public class CachedUrlStream extends java.lang.Object implements PhysicalOggStream
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description classCachedUrlStream.LoaderThread - 
Constructor Summary
Constructors Constructor Description CachedUrlStream(java.net.URL url)CachedUrlStream(java.net.URL url, java.io.RandomAccessFile randomAccessFile) - 
Method Summary
Modifier and Type Method Description voidclose()longgetCacheLength()java.util.CollectiongetLogicalStreams()OggPagegetOggPage(int int1)booleanisOpen()booleanisSeekable()voidsetTime(long long1)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Constructor Details
- 
CachedUrlStream
- Throws:
 OggFormatExceptionjava.io.IOException
 - 
CachedUrlStream
public CachedUrlStream(java.net.URL url, java.io.RandomAccessFile randomAccessFile) throws OggFormatException, java.io.IOException- Throws:
 OggFormatExceptionjava.io.IOException
 
 - 
 - 
Method Details
- 
getLogicalStreams
public java.util.Collection getLogicalStreams()- Specified by:
 getLogicalStreamsin interfacePhysicalOggStream
 - 
isOpen
public boolean isOpen()- Specified by:
 isOpenin interfacePhysicalOggStream
 - 
close
public void close() throws java.io.IOException- Specified by:
 closein interfacePhysicalOggStream- Throws:
 java.io.IOException
 - 
getCacheLength
public long getCacheLength() - 
getOggPage
- Specified by:
 getOggPagein interfacePhysicalOggStream- Throws:
 java.io.IOException
 - 
setTime
public void setTime(long long1) throws java.io.IOException- Specified by:
 setTimein interfacePhysicalOggStream- Throws:
 java.io.IOException
 - 
isSeekable
public boolean isSeekable()- Specified by:
 isSeekablein interfacePhysicalOggStream
 
 -