C# Class NAnt.Compression.Tasks.ExpandBaseTask

Summary description for ExpandTask.
Inheritance: NAnt.Core.Task
Afficher le fichier Open project: skolima/NAnt

Private Properties

Свойство Type Description

Méthodes protégées

Méthode Description
ExtractDirectory ( Stream inputStream, string destDirectory, string entryName, System.DateTime entryDate ) : void

Extracts a directory entry from the specified stream.

ExtractFile ( Stream inputStream, string destDirectory, string entryName, System.DateTime entryDate, long entrySize ) : void

Extracts a file entry from the specified stream.

We cannot rely on the fact that the directory entry of a given file is created before the file is extracted, so we should create the directory if it doesn't yet exist.

Method Details

ExtractDirectory() protected méthode

Extracts a directory entry from the specified stream.
/// The destination directory for the entry could not be created. ///
protected ExtractDirectory ( Stream inputStream, string destDirectory, string entryName, System.DateTime entryDate ) : void
inputStream Stream The containing the directory entry.
destDirectory string The directory where to create the subdirectory.
entryName string The name of the directory entry.
entryDate System.DateTime The date of the entry.
Résultat void

ExtractFile() protected méthode

Extracts a file entry from the specified stream.
We cannot rely on the fact that the directory entry of a given file is created before the file is extracted, so we should create the directory if it doesn't yet exist.
/// The destination directory for the entry could not be created. /// -or- /// The entry could not be extracted. ///
protected ExtractFile ( Stream inputStream, string destDirectory, string entryName, System.DateTime entryDate, long entrySize ) : void
inputStream Stream The containing the compressed entry.
destDirectory string The directory where to store the expanded file.
entryName string The name of the entry including directory information.
entryDate System.DateTime The date of the entry.
entrySize long The uncompressed size of the entry.
Résultat void