Table of Contents

Class ArchiveFactory

Namespace
SharpCompress.Archive
Assembly
SharpCompress.dll
public class ArchiveFactory
Inheritance
ArchiveFactory
Inherited Members

Constructors

ArchiveFactory()

public ArchiveFactory()

Methods

Create(ArchiveType)

public static IWritableArchive Create(ArchiveType type)

Parameters

type ArchiveType

Returns

IWritableArchive

Open(FileInfo)

public static IArchive Open(FileInfo fileInfo)

Parameters

fileInfo FileInfo

Returns

IArchive

Open(FileInfo, Options)

public static IArchive Open(FileInfo fileInfo, Options options)

Parameters

fileInfo FileInfo
options Options

Returns

IArchive

Open(Stream, Options)

public static IArchive Open(Stream stream, Options options = Options.KeepStreamsOpen)

Parameters

stream Stream
options Options

Returns

IArchive

Open(string)

public static IArchive Open(string filePath)

Parameters

filePath string

Returns

IArchive

Open(string, Options)

public static IArchive Open(string filePath, Options options)

Parameters

filePath string
options Options

Returns

IArchive

WriteToDirectory(string, string, ExtractOptions)

public static void WriteToDirectory(string sourceArchive, string destinationDirectory, ExtractOptions options = ExtractOptions.Overwrite)

Parameters

sourceArchive string
destinationDirectory string
options ExtractOptions