Package de.jarnbjo.ogg
Class CachedUrlStream
java.lang.Object
de.jarnbjo.ogg.CachedUrlStream
- All Implemented Interfaces:
PhysicalOggStream
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionCachedUrlStream
(URL url) CachedUrlStream
(URL url, RandomAccessFile randomAccessFile) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
long
getOggPage
(int int1) boolean
isOpen()
boolean
void
setTime
(long long1)
-
Constructor Details
-
CachedUrlStream
- Throws:
OggFormatException
IOException
-
CachedUrlStream
public CachedUrlStream(URL url, RandomAccessFile randomAccessFile) throws OggFormatException, IOException - Throws:
OggFormatException
IOException
-
-
Method Details
-
getLogicalStreams
- Specified by:
getLogicalStreams
in interfacePhysicalOggStream
-
isOpen
public boolean isOpen()- Specified by:
isOpen
in interfacePhysicalOggStream
-
close
- Specified by:
close
in interfacePhysicalOggStream
- Throws:
IOException
-
getCacheLength
public long getCacheLength() -
getOggPage
- Specified by:
getOggPage
in interfacePhysicalOggStream
- Throws:
IOException
-
setTime
- Specified by:
setTime
in interfacePhysicalOggStream
- Throws:
IOException
-
isSeekable
public boolean isSeekable()- Specified by:
isSeekable
in interfacePhysicalOggStream
-