Class IsoEntry

    • Method Detail

      • getName

        public final String getName()

        Gets the name of the entry.

        Specified by:
        getName in interface IArchiveFileEntry
        Returns:
        the name of the entry
      • getLength

        public Long getLength()

        Gets the length of the entry.

        Specified by:
        getLength in interface IArchiveFileEntry
        Returns:
        the length of the entry
      • isDirectory

        public final boolean isDirectory()

        Gets a value indicating whether the entry is a directory.

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

        public final Date getModificationTime()

        Gets last modified date and time.

        Returns:
        last modified date and time
      • toString

        public String toString()

        Returns a string that represents the current entry.

        Overrides:
        toString in class Object
        Returns:
        the name of the entry
      • extract

        public File extract​(String path)

        Extracts the entry to the filesystem by the path provided.

        Specified by:
        extract in interface IArchiveFileEntry
        Parameters:
        path - the path to the destination file. If the file already exists, it will be overwritten
        Returns:
        File instance containing extracted data
      • extract

        public void extract​(OutputStream destination)

        Extracts the entry to the stream provided.

        Specified by:
        extract in interface IArchiveFileEntry
        Parameters:
        destination - destination stream
        Throws:
        com.aspose.ms.System.NotSupportedException - Raises if the entry does not represent a file.