org.apache.commons.vfs.provider.webdav
Class WebdavFileObject.WebdavRandomAccesContent

java.lang.Object
  extended by org.apache.commons.vfs.provider.AbstractRandomAccessContent
      extended by org.apache.commons.vfs.provider.AbstractRandomAccessStreamContent
          extended by 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
protected  long filePointer
           
 
Constructor Summary
protected WebdavFileObject.WebdavRandomAccesContent(WebdavFileObject fileObject, org.apache.commons.vfs.util.RandomAccessMode mode)
           
 
Method Summary
 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
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filePointer

protected long filePointer
Constructor Detail

WebdavFileObject.WebdavRandomAccesContent

protected WebdavFileObject.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 class org.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