Package de.jarnbjo.ogg
Class OnDemandUrlStream
java.lang.Object
de.jarnbjo.ogg.OnDemandUrlStream
- All Implemented Interfaces:
PhysicalOggStream
public class OnDemandUrlStream extends java.lang.Object implements PhysicalOggStream
-
Constructor Summary
Constructors Constructor Description OnDemandUrlStream(java.net.URL url)
-
Method Summary
Modifier and Type Method Description void
close()
int
getContentLength()
java.util.Collection
getLogicalStreams()
OggPage
getOggPage(int int1)
int
getPosition()
boolean
isOpen()
boolean
isSeekable()
void
setTime(long long1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OnDemandUrlStream
- Throws:
OggFormatException
java.io.IOException
-
-
Method Details
-
getLogicalStreams
public java.util.Collection getLogicalStreams()- Specified by:
getLogicalStreams
in interfacePhysicalOggStream
-
isOpen
public boolean isOpen()- Specified by:
isOpen
in interfacePhysicalOggStream
-
close
public void close() throws java.io.IOException- Specified by:
close
in interfacePhysicalOggStream
- Throws:
java.io.IOException
-
getContentLength
public int getContentLength() -
getPosition
public int getPosition() -
getOggPage
- Specified by:
getOggPage
in interfacePhysicalOggStream
- Throws:
java.io.IOException
-
setTime
public void setTime(long long1) throws java.io.IOException- Specified by:
setTime
in interfacePhysicalOggStream
- Throws:
java.io.IOException
-
isSeekable
public boolean isSeekable()- Specified by:
isSeekable
in interfacePhysicalOggStream
-