|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.io.RandomAccessFile
ucar.unidata.io.http.HTTPRandomAccessFile3
public class HTTPRandomAccessFile3
Gives access to files over HTTP, using jakarta commons HttpClient.
| Field Summary | |
|---|---|
static int |
defaultHTTPBufferSize
Deprecated. |
static int |
timeoutMsecs
Deprecated. |
| Fields inherited from class ucar.unidata.io.RandomAccessFile |
|---|
BIG_ENDIAN, bigEndian, buffer, bufferStart, cached, dataEnd, dataSize, debugAccess, debugLeaks, defaultBufferSize, endOfFile, file, filePosition, LITTLE_ENDIAN, location, openFiles, readonly |
| Constructor Summary | |
|---|---|
HTTPRandomAccessFile3(java.lang.String url)
Deprecated. |
|
HTTPRandomAccessFile3(java.lang.String url,
int bufferSize)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
close()
Deprecated. override the rest of the RandomAccessFile public methods |
java.io.FileDescriptor |
getFD()
Deprecated. Returns the opaque file descriptor object associated with this file. |
long |
length()
Deprecated. Get the length of the file. |
protected int |
read_(long pos,
byte[] buff,
int offset,
int len)
Deprecated. read directly, without going through the buffer |
| Methods inherited from class ucar.unidata.io.RandomAccessFile |
|---|
flush, getFilePointer, getLocation, getRandomAccessFile, isAtEndOfFile, isCached, order, read, read, read, readBoolean, readByte, readBytes, readChar, readDouble, readDouble, readFloat, readFloat, readFully, readFully, readInt, readInt, readIntUnbuffered, readLine, readLong, readLong, readShort, readShort, readString, readUnsignedByte, readUnsignedShort, readUTF, seek, setCached, setDebugAccess, setDebugLeaks, setExtendMode, setMinLength, skipBytes, synch, toString, unread, write, write, write, writeBoolean, writeBoolean, writeByte, writeBytes, writeBytes, writeBytes, writeChar, writeChar, writeChars, writeDouble, writeDouble, writeFloat, writeFloat, writeInt, writeInt, writeLong, writeLong, writeShort, writeShort, writeUTF |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int defaultHTTPBufferSize
public static int timeoutMsecs
| Constructor Detail |
|---|
public HTTPRandomAccessFile3(java.lang.String url)
throws java.io.IOException
java.io.IOException
public HTTPRandomAccessFile3(java.lang.String url,
int bufferSize)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
protected int read_(long pos,
byte[] buff,
int offset,
int len)
throws java.io.IOException
RandomAccessFile
read_ in class RandomAccessFilepos - _more_buff - _more_offset - _more_len - _more_
java.io.IOException - _more_
public long length()
throws java.io.IOException
RandomAccessFile
length in class RandomAccessFilejava.io.IOException - if an I/O error occurrs.public void close()
close in class RandomAccessFilepublic java.io.FileDescriptor getFD()
RandomAccessFile
getFD in class RandomAccessFile
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||