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

Extracts LZMA-compressed TAR archives (.tar.lzma). More...

Inheritance diagram for ZeroInstall.Archives.Extractors.TarLzmaExtractor:
ZeroInstall.Archives.Extractors.TarExtractor ZeroInstall.Archives.Extractors.ArchiveExtractor ZeroInstall.Archives.Extractors.IArchiveExtractor

Public Member Functions

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

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...
 
- Static Public Attributes inherited from ZeroInstall.Archives.Extractors.TarExtractor
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.
 
- 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 LZMA-compressed TAR archives (.tar.lzma).

This class is immutable and thread-safe.

Member Function Documentation

◆ Extract()

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

Extracts an archive.

Reimplemented from ZeroInstall.Archives.Extractors.TarExtractor.


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