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

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

Public Properties

Property Type Description
SupportedMimeTypes string[]

Private Properties

Property Type Description
Create ArchiveGenerator
Create ArchiveGenerator
HandleEntries void

Public Methods

Method Description
Dispose ( ) : void

Disposes the underlying Stream.

Protected Methods

Method Description
ArchiveGenerator ( [ sourceDirectory ) : System

Prepares to generate an archive from a directory.

Dispose ( bool disposing ) : void

Private Methods

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

Method Details

ArchiveGenerator() protected method

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

Dispose() public method

Disposes the underlying Stream.
public Dispose ( ) : void
return void

Dispose() protected abstract method

protected abstract Dispose ( bool disposing ) : void
disposing bool
return void

Property Details

SupportedMimeTypes public static property

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