Class 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  
    • 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
      • 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

      • 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 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