Class WebdavFileObject.WebdavRandomAccesContent
java.lang.Object
org.apache.commons.vfs.provider.AbstractRandomAccessContent
org.apache.commons.vfs.provider.AbstractRandomAccessStreamContent
org.apache.commons.vfs.provider.webdav.WebdavFileObject.WebdavRandomAccesContent
- All Implemented Interfaces:
DataInput
,DataOutput
,org.apache.commons.vfs.RandomAccessContent
- Enclosing class:
- WebdavFileObject
public static class WebdavFileObject.WebdavRandomAccesContent
extends org.apache.commons.vfs.provider.AbstractRandomAccessStreamContent
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
WebdavRandomAccesContent
(WebdavFileObject fileObject, org.apache.commons.vfs.util.RandomAccessMode mode) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected DataInputStream
long
long
length()
void
seek
(long pos) Methods inherited from class org.apache.commons.vfs.provider.AbstractRandomAccessStreamContent
getInputStream, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
Methods inherited from class org.apache.commons.vfs.provider.AbstractRandomAccessContent
readLine, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
Field Details
-
filePointer
protected long filePointer
-
-
Constructor Details
-
WebdavRandomAccesContent
protected WebdavRandomAccesContent(WebdavFileObject fileObject, org.apache.commons.vfs.util.RandomAccessMode mode)
-
-
Method Details
-
getFilePointer
- Throws:
IOException
-
seek
- Throws:
IOException
-
getDataInputStream
- Specified by:
getDataInputStream
in classorg.apache.commons.vfs.provider.AbstractRandomAccessStreamContent
- Throws:
IOException
-
close
- Throws:
IOException
-
length
- Throws:
IOException
-