Zero Install .NET API 2.20.0
ZeroInstall.Archives.Extractors.TarExtractor Class Reference

Extracts TAR archives (.tar). More...

Inheritance diagram for ZeroInstall.Archives.Extractors.TarExtractor:
ZeroInstall.Archives.Extractors.ArchiveExtractor ZeroInstall.Archives.Extractors.IArchiveExtractor ZeroInstall.Archives.Extractors.TarBz2Extractor ZeroInstall.Archives.Extractors.TarGzExtractor ZeroInstall.Archives.Extractors.TarLzipExtractor ZeroInstall.Archives.Extractors.TarLzmaExtractor ZeroInstall.Archives.Extractors.TarXzExtractor ZeroInstall.Archives.Extractors.TarZstandardExtractor ZeroInstall.Archives.Extractors.RubyGemExtractor

Public Member Functions

override void Extract (IBuilder builder, Stream stream, string? subDir=null)
 Extracts an archive. More...

Static Public Attributes

const int DefaultMode = (6 << 6) + (4 << 3) + 4
 The default TarHeader.Mode.
const int ExecuteMode = (1 << 6) + (1 << 3) + 1
 The TarHeader.Mode that indicate a TAR entry is an executable.

Additional Inherited Members

- Static Public Member Functions inherited from ZeroInstall.Archives.Extractors.ArchiveExtractor
static void Register (string mimeType, Func< ITaskHandler, IArchiveExtractor > factory)
 Registers an additional IArchiveExtractor. More...
static IArchiveExtractor For (string mimeType, ITaskHandler handler)
 Creates a new IArchiveExtractor for a specific type of archive. More...
- Protected Member Functions inherited from ZeroInstall.Archives.Extractors.ArchiveExtractor
void EnsureSeekable (Stream stream, [InstantHandle] Action< Stream > callback)
 Ensures that a Stream is fully seekable, creating a temporary on-disk copy if necessary. More...
- Static Protected Member Functions inherited from ZeroInstall.Archives.Extractors.ArchiveExtractor
static void EnsureFile (Stream stream, [InstantHandle] Action< string > callback)
 Ensures that a Stream represents an on-disk file, creating a temporary on-disk copy if necessary. More...
static ? string NormalizePath (string path, string? subDir)
 Normalizes the path of an archive entry. More...
- Protected Attributes inherited from ZeroInstall.Archives.Extractors.ArchiveExtractor
readonly ITaskHandler Handler
 A callback object used when the the user needs to be informed about IO tasks.
- Properties inherited from ZeroInstall.Archives.Extractors.ArchiveExtractor
object? Tag [getset]
- Properties inherited from ZeroInstall.Archives.Extractors.IArchiveExtractor
object? Tag [getset]
 A ITask.Tag to set for see cref="ITask"/>s spawned by this extractor; can be null.

Detailed Description

Extracts TAR archives (.tar).

This class is immutable and thread-safe.

Member Function Documentation

◆ Extract()

override void ZeroInstall.Archives.Extractors.TarExtractor.Extract ( IBuilder  builder,
Stream  stream,
string?  subDir = null 

The documentation for this class was generated from the following file: