ArchiveFormat

Inheritance: java.lang.Object, java.lang.Enum

public enum ArchiveFormat extends Enum<ArchiveFormat>

Supported archive formats.

Fields

FieldDescription
Bzip2Bzip2 archive (Bzip2Archive).
GzipGzip archive (GzipArchive).
LzipLzip archive (LzipArchive).
LzmaLzma archive (LzmaArchive).
RarRar archive (RarArchive).
SevenZip7zip archive (SevenZipArchive).
TarTar archive (TarArchive).
UnknownUnknown format.
XzXz archive (XzArchive).
ZipZip archive (Archive).

Methods

MethodDescription
valueOf(String name)
values()

Bzip2

public static final ArchiveFormat Bzip2

Bzip2 archive (Bzip2Archive).

Gzip

public static final ArchiveFormat Gzip

Gzip archive (GzipArchive).

Lzip

public static final ArchiveFormat Lzip

Lzip archive (LzipArchive).

Lzma

public static final ArchiveFormat Lzma

Lzma archive (LzmaArchive).

Rar

public static final ArchiveFormat Rar

Rar archive (RarArchive).

SevenZip

public static final ArchiveFormat SevenZip

7zip archive (SevenZipArchive).

Tar

public static final ArchiveFormat Tar

Tar archive (TarArchive).

Unknown

public static final ArchiveFormat Unknown

Unknown format.

Xz

public static final ArchiveFormat Xz

Xz archive (XzArchive).

Zip

public static final ArchiveFormat Zip

Zip archive (Archive).

valueOf(String name)

public static ArchiveFormat valueOf(String name)

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: ArchiveFormat

values()

public static ArchiveFormat[] values()

Returns: com.aspose.zip.ArchiveFormat[]