Enum ArchiveFormat
- java.lang.Object
-
- java.lang.Enum<ArchiveFormat>
-
- com.aspose.zip.ArchiveFormat
-
- All Implemented Interfaces:
Serializable,Comparable<ArchiveFormat>
public enum ArchiveFormat extends Enum<ArchiveFormat>
Supported archive formats.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ArjArj archive (ArjArchive).Bzip2Bzip2 archive (Bzip2Archive).CabCab archive (CabArchive).CpioCpio archive (CpioArchive).GzipGzip archive (GzipArchive).IsoIso archive (IsoArchive).LhaLha archive (LhaArchive).Lz4Lz4 archive (Lz4Archive).LzipLzip archive (LzipArchive).LzmaLzma archive (LzmaArchive).LzxLzx archive (LzxArchive).RarRar archive (RarArchive).SevenZip7zip archive (SevenZipArchive).SharShar archive (SharArchive).SnappySnappy archive (SnappyArchive).TarTar archive (TarArchive).UnknownUnknown format.UueUue encoded file (UueArchive).WimWim archive (WimArchive).XarXar archive (XarArchive).XzXz archive (XzArchive).ZZ archive (ZArchive).ZipZip archive (Archive).ZstandardZstandard archive (ZstandardArchive).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArchiveFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static ArchiveFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final ArchiveFormat Unknown
Unknown format.
-
Zip
public static final ArchiveFormat Zip
Zip archive (
Archive).
-
Rar
public static final ArchiveFormat Rar
Rar archive (
RarArchive).
-
SevenZip
public static final ArchiveFormat SevenZip
7zip archive (
SevenZipArchive).
-
Bzip2
public static final ArchiveFormat Bzip2
Bzip2 archive (
Bzip2Archive).
-
Cab
public static final ArchiveFormat Cab
Cab archive (
CabArchive).
-
Cpio
public static final ArchiveFormat Cpio
Cpio archive (
CpioArchive).
-
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).
-
Shar
public static final ArchiveFormat Shar
Shar archive (
SharArchive).
-
Snappy
public static final ArchiveFormat Snappy
Snappy archive (
SnappyArchive).
-
Tar
public static final ArchiveFormat Tar
Tar archive (
TarArchive).
-
Wim
public static final ArchiveFormat Wim
Wim archive (
WimArchive).
-
Xar
public static final ArchiveFormat Xar
Xar archive (
XarArchive).
-
Xz
public static final ArchiveFormat Xz
Xz archive (
XzArchive).
-
Z
public static final ArchiveFormat Z
Z archive (
ZArchive).
-
Zstandard
public static final ArchiveFormat Zstandard
Zstandard archive (
ZstandardArchive).
-
Iso
public static final ArchiveFormat Iso
Iso archive (
IsoArchive).
-
Lha
public static final ArchiveFormat Lha
Lha archive (
LhaArchive).
-
Arj
public static final ArchiveFormat Arj
Arj archive (
ArjArchive).
-
Lz4
public static final ArchiveFormat Lz4
Lz4 archive (
Lz4Archive).
-
Uue
public static final ArchiveFormat Uue
Uue encoded file (
UueArchive).
-
Lzx
public static final ArchiveFormat Lzx
Lzx archive (
LzxArchive).
-
-
Method Detail
-
values
public static ArchiveFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ArchiveFormat c : ArchiveFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArchiveFormat valueOf(String name)
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-