C# Class ZeroInstall.Store.Implementations.Archives.ArchiveGenerator

Creates an archive from a directory. Preserves execuable bits, symlinks and timestamps.
Inheritance: DirectoryWalkTask, IDisposable
Afficher le fichier Open project: 0install/0install-win

Méthodes publiques

Свойство Type Description
SupportedMimeTypes string[]

Private Properties

Свойство Type Description
Create ArchiveGenerator
Create ArchiveGenerator
HandleEntries void

Méthodes publiques

Méthode Description
Dispose ( ) : void

Disposes the underlying Stream.

Méthodes protégées

Méthode Description
ArchiveGenerator ( [ sourceDirectory ) : System

Prepares to generate an archive from a directory.

Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Create ( [ sourceDirectory, [ path, [ mimeType = null ) : ArchiveGenerator
Create ( [ sourceDirectory, [ stream, string mimeType ) : ArchiveGenerator
HandleEntries ( IEnumerable entries ) : void

Method Details

ArchiveGenerator() protected méthode

Prepares to generate an archive from a directory.
protected ArchiveGenerator ( [ sourceDirectory ) : System
sourceDirectory [ The path of the directory to capture/store in the archive.
Résultat System

Dispose() public méthode

Disposes the underlying Stream.
public Dispose ( ) : void
Résultat void

Dispose() protected abstract méthode

protected abstract Dispose ( bool disposing ) : void
disposing bool
Résultat void

Property Details

SupportedMimeTypes public_oe static_oe property

All supported MIME types for creating archives. This is a subset of Archive.KnownMimeTypes
public static string[] SupportedMimeTypes
Résultat string[]