Class TarFileObject

    • Field Detail

      • entry

        protected org.apache.commons.vfs.provider.tar.TarEntry entry
    • Method Detail

      • setTarEntry

        protected void setTarEntry​(org.apache.commons.vfs.provider.tar.TarEntry entry)
        Sets the details for this file object.
      • attachChild

        protected void attachChild​(FileName childName)
        Attaches a child
      • doGetLastModifiedTime

        protected long doGetLastModifiedTime()
                                      throws java.lang.Exception
        Returns the last modified time of this file.
        Overrides:
        doGetLastModifiedTime in class AbstractFileObject
        Throws:
        java.lang.Exception
      • doGetInputStream

        protected java.io.InputStream doGetInputStream()
                                                throws java.lang.Exception
        Creates an input stream to read the file content from. Is only called if doGetType() returns FileType.FILE. The input stream returned by this method is guaranteed to be closed before this method is called again.
        Specified by:
        doGetInputStream in class AbstractFileObject
        Throws:
        java.lang.Exception