Table of Contents

Class TarLzipExtractor

Namespace
ZeroInstall.Archives.Extractors
Assembly
ZeroInstall.Archives.dll

Extracts Lzip-compressed TAR archives (.tar.lz).

public class TarLzipExtractor : TarExtractor, IArchiveExtractor
Inheritance
TarLzipExtractor
Implements
Inherited Members

Remarks

This class is immutable and thread-safe.

Constructors

TarLzipExtractor(ITaskHandler)

Extracts Lzip-compressed TAR archives (.tar.lz).

public TarLzipExtractor(ITaskHandler handler)

Parameters

handler ITaskHandler

A callback object used when the the user needs to be informed about IO tasks.

Remarks

This class is immutable and thread-safe.

Methods

Extract(IBuilder, Stream, string?)

Extracts an archive.

public override void Extract(IBuilder builder, Stream stream, string? subDir = null)

Parameters

builder IBuilder

The builder receiving the extracted files.

stream Stream

The archive data to be extracted.

subDir string

The Unix-style path of the subdirectory in the archive to extract; null to extract entire archive.

Exceptions

OperationCanceledException

The operation was canceled.

IOException

A problem occurred while extracting the archive.