Class SevenZipArchiveEntryPlain
Namespace: Aspose.Zip.SevenZip
Assembly: Aspose.Zip.dll (25.1.0)
แทนที่ไฟล์เดียวภายในไฟล์ 7z.
public class SevenZipArchiveEntryPlain : SevenZipArchiveEntry, IArchiveFileEntry
การสืบทอด
object ← SevenZipArchiveEntry ← SevenZipArchiveEntryPlain
การใช้งาน
สมาชิกที่สืบทอด
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()
หมายเหตุ
แปลงอินสแตนซ์ของ Aspose.Zip.SevenZip.SevenZipArchiveEntry เป็น Aspose.Zip.SevenZip.SevenZipArchiveEntryEncrypted เพื่อตรวจสอบว่าไฟล์มีการเข้ารหัสหรือไม่
วิธีการ
FinalizeCompressedData(Stream, byte[])
เขียนไปยังสตรีมเอาต์พุตใด ๆ ที่ตามหลังข้อมูลที่ถูกบีบอัด
protected override int FinalizeCompressedData(Stream outputStream, byte[] encoderProperties)
พารามิเตอร์
outputStream
Stream
สตรีมเอาต์พุตสำหรับไฟล์
encoderProperties
byte[]
คุณสมบัติของคอมเพรสเซอร์
คืนค่า
จำนวน “ไบต์ทางเทคนิค” ที่ถูกเพิ่มเข้ามาหลังจากบล็อกข้อมูลที่สำคัญของไฟล์
GetDestinationStream(Stream)
สตรีมปลายทางสำหรับไฟล์ อาจมีการตกแต่ง
protected override Stream GetDestinationStream(Stream outputStream)
พารามิเตอร์
outputStream
Stream
สตรีมเอาต์พุตสำหรับไฟล์
คืนค่า
สตรีมปลายทางสำหรับการบีบอัดไฟล์