ArchiveFormat

Archive and compression formats supported by KioArch.

Format detection at runtime is performed by inspecting the stream's leading magic bytes rather than matching filenames against extension.

Parameters

extension

the canonical lowercase file extension (without a leading dot) associated with this format.

Entries

Link copied to clipboard

7-Zip archive format (.7z), decoded via the 7-Zip Core C engine (CSzArEx).

Link copied to clipboard

ZIP archive format (.zip), decoded via the miniz engine.

Link copied to clipboard

Gzip-compressed POSIX ustar Tar archive format (.tar.gz).

Link copied to clipboard

Gzip-compressed POSIX ustar Tar archive format using the .tgz extension alias.

Link copied to clipboard

Single-stream Bzip2 compressed format (.bz2), decoded via libbzip2.

Link copied to clipboard

Bzip2-compressed POSIX ustar Tar archive format (.tar.bz2).

Link copied to clipboard

Bzip2-compressed POSIX ustar Tar archive format using the .tbz2 extension alias.

Link copied to clipboard

Bzip2-compressed POSIX ustar Tar archive format using the .tbz extension alias.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard

The canonical lowercase file extension (without a leading dot) associated with this format.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int