public class URLHandle extends StreamHandle
IRandomAccess,
StreamHandle,
URLConnection| Constructor and Description |
|---|
URLHandle(java.lang.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, getFilePointer, getOrder, length, read, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, setOrder, skipBytes, write, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic URLHandle(java.lang.String url)
throws java.io.IOException
java.io.IOExceptionpublic void seek(long pos)
throws java.io.IOException
IRandomAccessseek in interface IRandomAccessseek in class StreamHandlejava.io.IOExceptionprotected void resetStream()
throws java.io.IOException
StreamHandleresetStream in class StreamHandlejava.io.IOExceptionCopyright © 2014 Open Microscopy Environment