Decompression Reader
decompression_reader

Readers

decompression

Decompression Reader to read compressed files/archives.

Properties

Name Default Value Type Description
debug true bool By default false. If true debug output will be printed to std::cerr.
delete_extracted false bool By default the extracted files are not delete when the reader is closed/destroyed.Mind that this will only delete files/directories that where in the original archive.
extracted_filename string If specified, this filename is appended to the extraction directory to openthe delegate reader with. Otherwise the last extention is stripped from thesource filename (i.e. data.adtfdat.zip -> data.adtfdat).
extraction_directory string If specified extract the archive to the given directory otherwise the file isextracted next to the source archive.
worker_reader string The identifier of the reader implementation. If empty, the first compatible reader is automatically searched for. Place the configuration for the worker reader as a sub tree to this property.

Plugin Attributes

Attribute Value
Plugin Name decompression_reader.adtffileplugin
License Digitalwerk
Support Mail suppo.nosp@m.rt@d.nosp@m.igita.nosp@m.lwer.nosp@m.k.net
Homepage URL https://support.digitalwerk.net

Usage

To use the supplied reader, specify the plugin with the --plugin option of the adtf_dattool i.e.:

adtf_dattool --plugin /path/to/reader/bin/decompression_reader.adtffileplugin --liststreams /path/to/compressed_file.adtfdat.zip