Class XarEntry

    • Method Detail

      • getName

        public final String getName()

        Gets the name of the entry within the archive.

        Returns:
        the name of the entry within the archive
      • getFullPath

        public final String getFullPath()

        Gets the full path of the entry within the archive.

        Returns:
        the full path of the entry within the archive
      • isDirectory

        public final boolean isDirectory()

        Gets a value indicating whether the entry represents a directory.

        Returns:
        a value indicating whether the entry represents a directory
      • getParent

        public final XarDirectoryEntry getParent()

        Gets the parent directory the entry belongs to.

        Returns:
        the parent directory the entry belongs to
      • getCreationTime

        public final Date getCreationTime()

        Gets the creation time of the file or directory.

        Returns:
        the creation time of the file or directory
      • getLastAccessTime

        public final Date getLastAccessTime()

        Gets the last access time of the file or directory.

        Returns:
        the last access time of the file or directory
      • getLastWriteTime

        @Deprecated
        public final Date getLastWriteTime()
        Deprecated.
        This method will be removed in a future release. Please use getModificationTime() instead.

        Gets the modification time of the file or directory.

        Returns:
        the modification time of the file or directory
      • getModificationTime

        public final Date getModificationTime()

        Gets the modification time of the file or directory.

        Returns:
        the modification time of the file or directory
      • toString

        public String toString()

        Returns string representation of the instance of the XarEntry class.

        Overrides:
        toString in class Object
        Returns:
        string representation of this object