Serializable, Comparable<ArchiveType>public enum ArchiveType extends Enum<ArchiveType>
| 枚举常量 | 说明 |
|---|---|
ARCHIVING_ONLY |
Archiving only formats store metadata and concatenate files
|
COMPRESSION_ONLY |
Compression only formats only compress files
|
DISK_IMAGE |
Disk image formats are used to create disk images of mass storage volumes
|
MULTI_FUNCTION |
Multi-function(Archiving and compression) formats can store metadata, concatenate, compress, encrypt, create error detection
and recovery information, and package the archive into self-extracting and self-expanding files
|
SOFTWARE_PACKAGING |
Software packaging formats are used to create software packages that may be self-installing files
|
public static final ArchiveType ARCHIVING_ONLY
public static final ArchiveType COMPRESSION_ONLY
public static final ArchiveType MULTI_FUNCTION
public static final ArchiveType SOFTWARE_PACKAGING
public static final ArchiveType DISK_IMAGE
public static ArchiveType[] values()
for (ArchiveType c : ArchiveType.values()) System.out.println(c);
public static ArchiveType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2023. All rights reserved.