CompressionFileType class

CompressionFileType class

Defines compression formats. Includes the following file types: CompressionFileType.Zip. CompressionFileType.Rar. CompressionFileType.SevenZ. CompressionFileType.Tar. CompressionFileType.Gz. CompressionFileType.Gzip. CompressionFileType.Bz2. CompressionFileType.Lz. CompressionFileType.Z. CompressionFileType.Xz. CompressionFileType.Xz. CompressionFileType.Cpio. CompressionFileType.Cab. CompressionFileType.Lzma. CompressionFileType.Zst. CompressionFileType.Uue. Learn more about compression formats here.

Inheritance: CompressionFileTypeFileTypeEnumeration

The CompressionFileType type exposes the following members:

Constructors

Constructor Description
init Serialization constructor

Properties

Property Description
file_format The file format
extension The file extension
family The file family
description File type description
UNKNOWN Unknown file type
ZIP A file with .zip extension is an archive that can hold one or more files or directories. The archive can have compression applied to the included files in order to reduce the ZIP file size.
Learn more about this file format here.
RAR Files with .rar extension are archive files that are created for storing information in compressed or normal form. RAR, which stands for Roshal ARchive file format.
Learn more about this file format here.
SEVEN_Z 7z is an archiving format for compressing files and folders with a high compression ratio. It is based on Open Source architecture which makes it possible to use any compression and encryption algorithms.
Learn more about this file format here.
TAR Files with .tar extension are archives created with Unix-based utility for collecting one or more files. Multiple files are stored in an uncompressed format with the support of adding files as well as folders to the archive.
Learn more about this file format here.
GZ A GZ file is a compressed archive that is created using the standard gzip (GNU zip) compression algorithm. It may contain multiple compressed files, directories and file stubs.
Learn more about this file format here.
GZIP A Gzip file is a compressed archive that is created using the standard gzip (GNU zip) compression algorithm. It may contain multiple compressed files, directories and file stubs.
Learn more about this file format here.
BZ2 BZ2 are compressed files generated using the BZIP2 open source compression method, mostly on UNIX or Linux system. It is used for compression of a single file and is not meant for archiving of multiple files.
Learn more about this file format here.
LZ A file with .lz extension is a compressed archive file created with Lzip, which is a free command-line tool for compression. It supports concatenation to compress support files. LZ files have media type application/lzip and support higher compression rations than BZ2.
Learn more about this file format here.
Z A Z file is a category of files belonging to the UNIX Compressed data files. Compressed Unix files are the most popular and widely used extension type of the Z file.
Learn more about this file format here.
XZ XZ is a compressed file format that utilizes the LZMA2 compression algorithm. It was designed as a replacement for the popular gzip and bzip2 formats, and offers a number of advantages over these older standards.
Learn more about this file format here.
CPIO Cpio is a general file archiver utility and its associated file format. It is primarily installed on Unix-like computer operating systems.
CAB A file with a .cab extension belongs to a windows cabinet file that belongs to the category of system files. It is a file that is saved in the archive file format in the versions of Microsoft Windows that support compressed data algorithms, such as the LZX, Quantum, and ZIP.
Learn more about this file format here.
LZMA A file with .lzma extension is a compressed archive file created using the LZMA (Lempel-Ziv-Markov chain Algorithm) compression method. These are mainly found/used on Unix operating system and are similar to other compression algorithms such as ZIP for minimising file size.
Learn more about this file format here.
ZST A ZST file is a compressed file that is generated with the Zstandard (zstd) compression algorithm. It is a compressed file that is created with lossless compression by the algorithm.
Learn more about this file format here.
ISO A file with .iso extension is an uncompressed archive disk image file that represents the contents of entire data on an optical disc such as CD or DVD. Based on the ISO-9660 standard, the ISO image file format contains the disc data along with the filesystem information that is stored in it.
Learn more about this file format here.
UUE A uuencoded archive is a file or collection of files that have been encoded using the Unix-to-Unix encoding scheme (uuencode). This encoding method converts binary data into a text format, which makes it easier to send files over channels that only support text, such as email.

Methods

Method Description
equals Implements Enumeration.equals
compare_to Compares current object to other.
from_filename Returns FileType for specified fileName
from_extension Gets FileType for provided fileExtension
from_stream Returns FileType for provided document stream

See Also