public class URLHandle extends StreamHandle
IRandomAccess
,
StreamHandle
,
URLConnection
sHandle
Constructor and Description |
---|
URLHandle(String url)
Constructs a new URLHandle using the given URL.
|
Modifier and Type | Method and Description |
---|---|
protected void |
resetStream()
Close and reopen the stream; the stream pointer and mark should be
reset to 0.
|
void |
seek(long pos)
Sets the stream pointer offset, measured from the beginning
of this stream, at which the next read or write occurs.
|
close, equals, getFilePointer, getOrder, hashCode, length, read, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, setOrder, skipBytes, toString, write, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
public URLHandle(String url) throws IOException
IOException
public void seek(long pos) throws IOException
IRandomAccess
seek
in interface IRandomAccess
seek
in class StreamHandle
IOException
protected void resetStream() throws IOException
StreamHandle
resetStream
in class StreamHandle
IOException
Copyright © 2014 Open Microscopy Environment