DwfZip Class

Represents Zip de-compressor for DWF
Inheritance Hierarchy
SystemObject
  Aspose.ZipZipFile
    Aspose.CAD.FileFormats.DwfDwfZip

Namespace:  Aspose.CAD.FileFormats.Dwf
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 20.8
Syntax
public class DwfZip : ZipFile

The DwfZip type exposes the following members.

Constructors
  NameDescription
Public methodDwfZip
Initializes a new instance of the DwfZip class
Properties
  NameDescription
Public propertyCode exampleBufferSize
Size of the IO buffer used while saving.
(Inherited from ZipFile.)
Public propertyCaseSensitiveRetrieval
Indicates whether to perform case-sensitive matching on the filename when retrieving entries in the zipfile via the string-based indexer.
(Inherited from ZipFile.)
Public propertyCodecBufferSize
Size of the work buffer to use for the ZLIB codec during compression.
(Inherited from ZipFile.)
Public propertyComment
A comment attached to the zip archive.
(Inherited from ZipFile.)
Public propertyCompressionLevel
Sets the compression level to be used for entries when saving the zip archive.
(Inherited from ZipFile.)
Public propertyCount
Returns the number of entries in the Zip archive.
(Inherited from ZipFile.)
Public propertyEmitTimesInUnixFormatWhenSaving
Specifies whether the Creation, Access, and Modified times for entries added to the zip file will be emitted in "Unix(tm) format" when the zip archive is saved.
(Inherited from ZipFile.)
Public propertyCode exampleEmitTimesInWindowsFormatWhenSaving
Specifies whether the Creation, Access, and Modified times for entries added to the zip file will be emitted in "Unix(tm) format" when the zip archive is saved.
(Inherited from ZipFile.)
Public propertyCode exampleEncryption
The Encryption to use for entries added to the ZipFile.
(Inherited from ZipFile.)
Public propertyEntries
Returns the readonly collection of entries in the Zip archive.
(Inherited from ZipFile.)
Public propertyCode exampleEntryFileNames
The list of filenames for the entries contained within the zip archive.
(Inherited from ZipFile.)
Public propertyExtractExistingFile
The action the library should take when extracting a file that already exists.
(Inherited from ZipFile.)
Public propertyFlattenFoldersOnExtract
Indicates whether extracted files should keep their paths as stored in the zip archive.
(Inherited from ZipFile.)
Public propertyCode exampleForceNoCompression
Gets or sets the flag that indicates whether the ZipFile should use compression for subsequently added entries in the ZipFile instance.
(Inherited from ZipFile.)
Public propertyCode exampleFullScan
Indicates whether to perform a full scan of the zip file when reading it.
(Inherited from ZipFile.)
Public propertyItemInt32
This is an integer indexer into the Zip archive.
(Inherited from ZipFile.)
Public propertyCode exampleItemString
This is a name-based indexer into the Zip archive.
(Inherited from ZipFile.)
Public propertyName
The name of the ZipFile, on disk.
(Inherited from ZipFile.)
Public propertyOutputUsedZip64
Describes whether the most recent Save() operation used ZIP64 extensions.
(Inherited from ZipFile.)
Public propertyCode examplePassword
Sets the password to be used on the ZipFile instance.
(Inherited from ZipFile.)
Public propertyCode exampleProvisionalAlternateEncoding
The text encoding to use when writing new entries to the ZipFile, for those entries that cannot be encoded with the default (IBM437) encoding; or, the text encoding that was used when reading the entries from the ZipFile.
(Inherited from ZipFile.)
Protected propertyReadStream
Gets or sets the read stream.
(Inherited from ZipFile.)
Public propertyRequiresZip64
Indicates whether the archive requires ZIP64 extensions.
(Inherited from ZipFile.)
Public propertyCode exampleStatusMessageTextWriter
Gets or sets the TextWriter to which status messages are delivered for the instance.
(Inherited from ZipFile.)
Public propertyStrategy
The compression strategy to use for all entries.
(Inherited from ZipFile.)
Public propertyTempFileFolder
Gets or sets the name for the folder to store the temporary file this library writes when saving a zip archive.
(Inherited from ZipFile.)
Public propertyUseUnicodeAsNecessary
Indicates whether to encode entry filenames and entry comments using Unicode (UTF-8).
(Inherited from ZipFile.)
Public propertyUseZip64WhenSaving
Specify whether to use ZIP64 extensions when saving a zip archive.
(Inherited from ZipFile.)
Public propertyWantCompression
A callback that allows the application to specify whether compression should be used for entries subsequently added to the zip archive.
(Inherited from ZipFile.)
Public propertyCode exampleWillReadTwiceOnInflation
A callback that allows the application to specify whether multiple reads of the stream should be performed, in the case that a compression operation actually inflates the size of the file data.
(Inherited from ZipFile.)
Public propertyZipErrorAction
The action the library should take when an error is encountered while opening or reading files as they are added to a zip archive.
(Inherited from ZipFile.)
Methods
  NameDescription
Public methodAddDirectory(String)
Adds the contents of a filesystem directory to a Zip file archive.
(Inherited from ZipFile.)
Public methodCode exampleAddDirectory(String, String)
Adds the contents of a filesystem directory to a Zip file archive, overriding the path to be used for entries in the archive.
(Inherited from ZipFile.)
Public methodAddDirectoryByName
Creates a directory in the zip archive.
(Inherited from ZipFile.)
Public methodAddEntry(String, String, Byte)
Add an entry into the zip archive using the given filename and directory path within the archive, and the given content for the file. No file is created in the filesystem.
(Inherited from ZipFile.)
Public methodCode exampleAddEntry(String, String, Stream)
Create an entry in the ZipFile using the given Stream as input. The entry will have the given filename and given directory path.
(Inherited from ZipFile.)
Public methodCode exampleAddEntry(String, String, String)
Adds a named entry into the zip archive, taking content for the entry from a string.
(Inherited from ZipFile.)
Public methodAddEntry(String, String, String, Encoding)
Adds a named entry into the zip archive, taking content for the entry from a string.
(Inherited from ZipFile.)
Public methodCode exampleAddFile(String)
Adds a File to a Zip file archive.
(Inherited from ZipFile.)
Public methodCode exampleAddFile(String, String)
Adds a File to a Zip file archive, potentially overriding the path to be used within the zip archive.
(Inherited from ZipFile.)
Public methodAddFileFromStream Obsolete.
Create an entry in the ZipFile using the given Stream as input. The entry will have the given filename and given directory path.
(Inherited from ZipFile.)
Public methodAddFileFromString Obsolete.
Adds a named entry into the zip archive, taking content for the entry from a string.
(Inherited from ZipFile.)
Public methodCode exampleAddFiles(ArrayList)
This method adds a set of files to the ZipFile.
(Inherited from ZipFile.)
Public methodAddFiles(ArrayList, String)
Adds a set of files to the ZipFile, using the specified directory path in the archive.
(Inherited from ZipFile.)
Public methodAddFiles(ArrayList, Boolean, String)
Adds a set of files to the ZipFile, using the specified directory path in the archive, and preserving the full directory structure in the filenames.
(Inherited from ZipFile.)
Public methodAddFileStream Obsolete.
Uses the given stream as input to create an entry in the ZipFile, with the given filename and given directory path.
(Inherited from ZipFile.)
Public methodAddItem(String)
Adds an item, either a file or a directory, to a zip file archive.
(Inherited from ZipFile.)
Public methodCode exampleAddItem(String, String)
Adds an item, either a file or a directory, to a zip file archive, explicitly specifying the directory path to be used in the archive.
(Inherited from ZipFile.)
Public methodCode exampleDispose
Handles closing of the read and write streams associated to the ZipFile, if necessary.
(Inherited from ZipFile.)
Protected methodDispose(Boolean)
The Dispose() method. It disposes any managed resources, if the flag is set, then marks the instance disposed. This method is typically not called from application code.
(Inherited from ZipFile.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExtract
Extracts this instance.
Public methodExtract(String) Obsolete.
Extract a single item from the archive to the current working directory.
(Inherited from ZipFile.)
Public methodExtract(String, ExtractExistingFileAction) Obsolete.
Extract a single item from the archive to the current working directory, potentially overwriting any existing file in the filesystem by the same name.
(Inherited from ZipFile.)
Public methodExtract(String, Boolean) Obsolete.
Extract a single item from the archive to the current working directory, potentially overwriting any existing file in the filesystem by the same name.
(Inherited from ZipFile.)
Public methodExtract(String, Stream) Obsolete.
Extract a single specified file from the archive, to the given stream.
(Inherited from ZipFile.)
Public methodExtract(String, String) Obsolete.
Extract a single item from the archive to the specified directory.
(Inherited from ZipFile.)
Public methodExtract(String, String, ExtractExistingFileAction) Obsolete.
Extract a single item from the archive, into the specified directory, using the specified behavior when extraction would overwrite an existing file.
(Inherited from ZipFile.)
Public methodExtract(String, String, Boolean) Obsolete.
Extract a single item from the archive, into the specified directory, potentially overwriting any existing file in the filesystem by the same name.
(Inherited from ZipFile.)
Public methodCode exampleExtractAll(String)
Extracts all of the items in the zip archive, to the specified path in the filesystem. The path can be relative or fully-qualified.
(Inherited from ZipFile.)
Public methodCode exampleExtractAll(String, ExtractExistingFileAction)
Extracts all of the items in the zip archive, to the specified path in the filesystem, using the specified behavior when extraction would overwrite an existing file.
(Inherited from ZipFile.)
Public methodCode exampleExtractAll(String, Boolean) Obsolete.
Extracts all of the items in the zip archive, to the specified path in the filesystem, optionally overwriting any existing files. The path can be relative or fully-qualified.
(Inherited from ZipFile.)
Protected methodFinalize
This is the class Destructor, which gets called implicitly when the instance is destroyed. Because the ZipFile type implements IDisposable, this method calls Dispose(false).
(Inherited from ZipFile.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetNewEnum
IEnumerator support, for use of a ZipFile in a foreach construct.
(Inherited from ZipFile.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodInitialize
Initialize a ZipFile instance by reading in a zip file.
(Inherited from ZipFile.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveEntries
This method removes a collection of entries from the ZipFile.
(Inherited from ZipFile.)
Public methodCode exampleRemoveEntry(String)
Removes the ZipEntry with the given filename from the zip archive.
(Inherited from ZipFile.)
Public methodCode exampleRemoveEntry(ZipEntry)
Removes the given ZipEntry from the zip archive.
(Inherited from ZipFile.)
Public methodSave
Saves the Zip archive to a file, specified by the Name property of the ZipFile.
(Inherited from ZipFile.)
Public methodSave(Stream)
Save the zip archive to the specified stream.
(Inherited from ZipFile.)
Public methodCode exampleSave(String)
Save the file to a new zipfile, with the given name.
(Inherited from ZipFile.)
Public methodToString
Provides a string representation of the instance.
(Inherited from ZipFile.)
Public methodUpdateDirectory(String)
Add or update a directory in a zip archive.
(Inherited from ZipFile.)
Public methodUpdateDirectory(String, String)
Add or update a directory in the zip archive at the specified root directory in the archive.
(Inherited from ZipFile.)
Public methodUpdateEntry(String, String, Byte)
Updates the given entry in the ZipFile, using the given byte array as content for the entry.
(Inherited from ZipFile.)
Public methodUpdateEntry(String, String, Stream)
Updates the given entry in the ZipFile, using the given stream as input, and the given filename and given directory Path.
(Inherited from ZipFile.)
Public methodUpdateEntry(String, String, String)
Updates the given entry in the ZipFile, using the given string as input.
(Inherited from ZipFile.)
Public methodUpdateEntry(String, String, String, Encoding)
Updates the given entry in the ZipFile, using the given string as content for the ZipEntry.
(Inherited from ZipFile.)
Public methodCode exampleUpdateFile(String)
Adds or Updates a File in a Zip file archive.
(Inherited from ZipFile.)
Public methodUpdateFile(String, String)
Adds or Updates a File in a Zip file archive.
(Inherited from ZipFile.)
Public methodUpdateFiles(ArrayList)
Adds or updates a set of files in the ZipFile.
(Inherited from ZipFile.)
Public methodUpdateFiles(ArrayList, String)
Adds or updates a set of files to the ZipFile, using the specified directory path in the archive.
(Inherited from ZipFile.)
Public methodUpdateFileStream Obsolete.
Updates the given entry in the ZipFile, using the given stream as input, and the given filename and given directory path.
(Inherited from ZipFile.)
Public methodUpdateItem(String)
Add or update a file or directory in the zip archive.
(Inherited from ZipFile.)
Public methodUpdateItem(String, String)
Add or update a file or directory.
(Inherited from ZipFile.)
Events
  NameDescription
Public eventCode exampleAddProgress
An event handler invoked before, during, and after Adding entries to a zip archive.
(Inherited from ZipFile.)
Public eventCode exampleExtractProgress
An event handler invoked before, during, and after extraction of entries in the zip archive.
(Inherited from ZipFile.)
Public eventReadProgress
An event handler invoked before, during, and after the reading of a zip archive.
(Inherited from ZipFile.)
Public eventCode exampleSaveProgress
An event handler invoked when a Save() starts, before and after each entry has been written to the archive, when a Save() completes, and during other Save events.
(Inherited from ZipFile.)
Public eventZipError
An event handler invoked when an error occurs during open or read of files while saving a zip archive.
(Inherited from ZipFile.)
See Also