uk.ac.cam.acr31.oggdecoder
Class HttpOggStream
java.lang.Object
uk.ac.cam.acr31.oggdecoder.OggStream
uk.ac.cam.acr31.oggdecoder.HttpOggStream
public class HttpOggStream
- extends OggStream
Method Summary |
void |
close()
|
void |
read(byte[] buf,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentPosition
private long currentPosition
inputStream
private java.io.InputStream inputStream
client
private org.apache.http.client.HttpClient client
request
private org.apache.http.client.methods.HttpUriRequest request
HttpOggStream
public HttpOggStream(java.lang.String address)
throws InvalidStreamException
- Throws:
InvalidStreamException
read
public void read(byte[] buf,
int off,
int len)
throws EndOfStreamException,
InvalidStreamException
- Specified by:
read
in class OggStream
- Throws:
EndOfStreamException
InvalidStreamException
close
public void close()
- Specified by:
close
in class OggStream