C# 클래스 System.IO.Compression.ZipArchiveEntry

파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CloseStreams void
DecodeEntryName string
EncodeEntryName byte[]
GetDataCompressor CheckSumAndSizeWriteStream
GetDataDecompressor Stream
GetFileName_Unix string
GetFileName_Windows string
IsOpenable bool
LoadLocalHeaderExtraFieldAndCompressedBytesIfNeeded bool
OpenInReadMode Stream
OpenInUpdateMode Stream
OpenInWriteMode Stream
SizesTooLarge bool
ThrowIfInvalidArchive void
ThrowIfNotOpenable void
UnloadStreams void
VersionToExtractAtLeast void
WriteAndFinishLocalEntry void
WriteCentralDirectoryFileHeader void
WriteCrcAndSizesInLocalHeader void
WriteDataDescriptor void
WriteLocalFileHeader bool
WriteLocalFileHeaderAndDataIfNeeded void
ZipArchiveEntry
ZipArchiveEntry System.Collections.Generic
ZipArchiveEntry System.Collections.Generic
ZipArchiveEntry System.Collections.Generic
ZipArchiveEntry System.Collections.Generic

공개 메소드들

메소드 설명
Delete ( ) : void
Open ( ) : Stream

Opens the entry. If the archive that the entry belongs to was opened in Read mode, the returned stream will be readable, and it may or may not be seekable. If Create mode, the returned stream will be writable and not seekable. If Update mode, the returned stream will be readable, writable, seekable, and support SetLength.

Open ( ) : System.IO.Stream
ToString ( ) : string

비공개 메소드들

메소드 설명
CloseStreams ( ) : void
DecodeEntryName ( byte entryNameBytes ) : string
EncodeEntryName ( string entryName, bool &isUTF8 ) : byte[]
GetDataCompressor ( Stream backingStream, bool leaveBackingStreamOpen, EventHandler onClose ) : CheckSumAndSizeWriteStream
GetDataDecompressor ( Stream compressedStreamToRead ) : Stream
GetFileName_Unix ( string path ) : string

Gets the file name of the path based on Unix path separator characters

GetFileName_Windows ( string path ) : string

Gets the file name of the path based on Windows path separator characters

IsOpenable ( bool needToUncompress, bool needToLoadIntoMemory, string &message ) : bool
LoadLocalHeaderExtraFieldAndCompressedBytesIfNeeded ( ) : bool
OpenInReadMode ( bool checkOpenable ) : Stream
OpenInUpdateMode ( ) : Stream
OpenInWriteMode ( ) : Stream
SizesTooLarge ( ) : bool
ThrowIfInvalidArchive ( ) : void
ThrowIfNotOpenable ( bool needToUncompress, bool needToLoadIntoMemory ) : void
UnloadStreams ( ) : void
VersionToExtractAtLeast ( ZipVersionNeededValues value ) : void
WriteAndFinishLocalEntry ( ) : void
WriteCentralDirectoryFileHeader ( ) : void
WriteCrcAndSizesInLocalHeader ( bool zip64HeaderUsed ) : void
WriteDataDescriptor ( ) : void
WriteLocalFileHeader ( bool isEmptyFile ) : bool
WriteLocalFileHeaderAndDataIfNeeded ( ) : void
ZipArchiveEntry ( )
ZipArchiveEntry ( ZipArchive archive, ZipCentralDirectoryFileHeader cd ) : System.Collections.Generic
ZipArchiveEntry ( ZipArchive archive, ZipCentralDirectoryFileHeader cd, CompressionLevel compressionLevel ) : System.Collections.Generic
ZipArchiveEntry ( ZipArchive archive, string entryName ) : System.Collections.Generic
ZipArchiveEntry ( ZipArchive archive, string entryName, CompressionLevel compressionLevel ) : System.Collections.Generic

메소드 상세

Delete() 공개 메소드

public Delete ( ) : void
리턴 void

Open() 공개 메소드

Opens the entry. If the archive that the entry belongs to was opened in Read mode, the returned stream will be readable, and it may or may not be seekable. If Create mode, the returned stream will be writable and not seekable. If Update mode, the returned stream will be readable, writable, seekable, and support SetLength.
The entry is already currently open for writing. -or- The entry has been deleted from the archive. -or- The archive that this entry belongs to was opened in ZipArchiveMode.Create, and this entry has already been written to once. The entry is missing from the archive or is corrupt and cannot be read. -or- The entry has been compressed using a compression method that is not supported. The ZipArchive that this entry belongs to has been disposed.
public Open ( ) : Stream
리턴 Stream

Open() 공개 메소드

public Open ( ) : System.IO.Stream
리턴 System.IO.Stream

ToString() 공개 메소드

public ToString ( ) : string
리턴 string