Package de.jarnbjo.ogg
Class CachedUrlStream
java.lang.Object
de.jarnbjo.ogg.CachedUrlStream
- All Implemented Interfaces:
PhysicalOggStream
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCachedUrlStream(URL url) CachedUrlStream(URL url, RandomAccessFile randomAccessFile) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longgetOggPage(int int1) booleanisOpen()booleanvoidsetTime(long long1)
-
Constructor Details
-
CachedUrlStream
- Throws:
OggFormatExceptionIOException
-
CachedUrlStream
public CachedUrlStream(URL url, RandomAccessFile randomAccessFile) throws OggFormatException, IOException - Throws:
OggFormatExceptionIOException
-
-
Method Details
-
getLogicalStreams
- Specified by:
getLogicalStreamsin interfacePhysicalOggStream
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfacePhysicalOggStream
-
close
- Specified by:
closein interfacePhysicalOggStream- Throws:
IOException
-
getCacheLength
public long getCacheLength() -
getOggPage
- Specified by:
getOggPagein interfacePhysicalOggStream- Throws:
IOException
-
setTime
- Specified by:
setTimein interfacePhysicalOggStream- Throws:
IOException
-
isSeekable
public boolean isSeekable()- Specified by:
isSeekablein interfacePhysicalOggStream
-