Class SevenZipArchiveEntryPlain

Class SevenZipArchiveEntryPlain

Namespace: Aspose.Zip.SevenZip
Assembly: Aspose.Zip.dll (25.1.0)

Représente un fichier unique dans une archive 7z.

public class SevenZipArchiveEntryPlain : SevenZipArchiveEntry, IArchiveFileEntry

Héritage

objectSevenZipArchiveEntrySevenZipArchiveEntryPlain

Implémente

IArchiveFileEntry

Membres hérités

SevenZipArchiveEntry.GetDestinationStream(Stream), SevenZipArchiveEntry.FinalizeCompressedData(Stream, byte[]), SevenZipArchiveEntry.Extract(string, string), SevenZipArchiveEntry.Extract(Stream, string), SevenZipArchiveEntry.Open(string), SevenZipArchiveEntry.Name, SevenZipArchiveEntry.ModificationTime, SevenZipArchiveEntry.UncompressedSize, SevenZipArchiveEntry.CompressedSize, SevenZipArchiveEntry.IsDirectory, SevenZipArchiveEntry.CompressionSettings, SevenZipArchiveEntry.Source, SevenZipArchiveEntry.FileAttributes, SevenZipArchiveEntry.CompressionProgressed, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Remarques

Convertissez une instance d’Aspose.Zip.SevenZip.SevenZipArchiveEntry en Aspose.Zip.SevenZip.SevenZipArchiveEntryEncrypted pour déterminer si l’entrée est chiffrée ou non.

Méthodes

FinalizeCompressedData(Stream, byte[])

Écrit dans le flux de sortie tous les en-têtes qui suivent les données compressées.

protected override int FinalizeCompressedData(Stream outputStream, byte[] encoderProperties)

Paramètres

outputStream Stream

Flux de sortie pour l’entrée.

encoderProperties byte[]

Propriétés du compresseur.

Retourne

int

Nombre de “bytes techniques” qui ont été ajoutés après le bloc de données significatives de l’entrée.

GetDestinationStream(Stream)

Flux de destination pour l’entrée, pouvant être décoré.

protected override Stream GetDestinationStream(Stream outputStream)

Paramètres

outputStream Stream

Flux de sortie pour l’entrée.

Retourne

Stream

Le flux de destination pour la compression de l’entrée.

 Français