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:
java.io.DataInput
,java.io.DataOutput
,org.apache.commons.vfs.RandomAccessContent
- Enclosing class:
- WebdavFileObject
public static class WebdavFileObject.WebdavRandomAccesContent extends org.apache.commons.vfs.provider.AbstractRandomAccessStreamContent
-
-
Field Summary
Fields Modifier and Type Field Description protected long
filePointer
-
Constructor Summary
Constructors Modifier Constructor Description protected
WebdavRandomAccesContent(WebdavFileObject fileObject, org.apache.commons.vfs.util.RandomAccessMode mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected java.io.DataInputStream
getDataInputStream()
long
getFilePointer()
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
-
-
-
-
Constructor Detail
-
WebdavRandomAccesContent
protected WebdavRandomAccesContent(WebdavFileObject fileObject, org.apache.commons.vfs.util.RandomAccessMode mode)
-
-
Method Detail
-
getFilePointer
public long getFilePointer() throws java.io.IOException
- Throws:
java.io.IOException
-
seek
public void seek(long pos) throws java.io.IOException
- Throws:
java.io.IOException
-
getDataInputStream
protected java.io.DataInputStream getDataInputStream() throws java.io.IOException
- Specified by:
getDataInputStream
in classorg.apache.commons.vfs.provider.AbstractRandomAccessStreamContent
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
length
public long length() throws java.io.IOException
- Throws:
java.io.IOException
-
-