|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ArchiveFormat> net.sf.sevenzipjbinding.ArchiveFormat
public enum ArchiveFormat
Enumeration of all supported archive types.
Format | extraction | compression | Enum value |
7z | X | X | SEVEN_ZIP |
Arj | X | - | ARJ |
BZip2 | X | X | BZIP2 |
Cab | X | - | CAB |
Chm | X | - | CHM |
Compound | - | - | - |
Cpio | X | - | CPIO |
ar, a, deb, lib | X | - | AR |
Dmg | - | - | - |
Elf | - | - | - |
GZip | X | X | GZIP |
Hfs | - | - | - |
Iso | X | - | ISO |
Lzh | X | - | LZH |
Lzma | X | - | LZMA |
Macho | - | - | - |
Mub | - | - | - |
Nsis | X | - | NSIS |
Pa | - | - | - |
Rar | X | - | RAR |
Rar5 | X | - | RAR5 |
Rpm | X | - | RPM |
Split | - | - | - |
Tar | X | X | TAR |
Udf | X | - | UDF |
Wim | X | - | WIM |
Xar | X | - | XAR |
Z | X | - | Z |
Zip | X | X | ZIP |
Enum Constant Summary | |
---|---|
AR
ar, a, deb, lib |
|
ARJ
Arj format |
|
BZIP2
BZip2 format. |
|
CAB
Cab format. |
|
CHM
Chm |
|
CPIO
Cpio format. |
|
FAT
FAT - (vfat file system); |
|
GZIP
Gzip format |
|
HFS
Hfs format |
|
ISO
Iso format. |
|
LZH
Lzh |
|
LZMA
Lzma format. |
|
NSIS
Nsis |
|
NTFS
NTFS - (NTFS file system); |
|
RAR
Rar format. |
|
RAR5
Rar5 format. |
|
RPM
Rpm |
|
SEVEN_ZIP
7z format. |
|
SPLIT
Split format. |
|
TAR
Tar format. |
|
UDF
Udf |
|
WIM
Wim |
|
XAR
Xar |
|
Z
Z format. |
|
ZIP
Zip format. |
Method Summary | |
---|---|
java.lang.String |
getMethodName()
Return name of the archive method |
java.lang.Class<? extends OutArchiveImpl<?>> |
getOutArchiveImplementation()
Get corresponding implementation class for archive update operations. |
boolean |
isOutArchiveSupported()
Return whether this archive type supports creation/update operations |
boolean |
supportMultipleFiles()
Return true , if the archive format is capable of compressing or storing multiple files within the
archive. |
java.lang.String |
toString()
|
static ArchiveFormat |
valueOf(java.lang.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're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ArchiveFormat ZIP
public static final ArchiveFormat TAR
public static final ArchiveFormat SPLIT
public static final ArchiveFormat RAR
public static final ArchiveFormat RAR5
public static final ArchiveFormat LZMA
public static final ArchiveFormat ISO
public static final ArchiveFormat HFS
public static final ArchiveFormat GZIP
public static final ArchiveFormat CPIO
public static final ArchiveFormat BZIP2
public static final ArchiveFormat SEVEN_ZIP
public static final ArchiveFormat Z
public static final ArchiveFormat ARJ
public static final ArchiveFormat CAB
public static final ArchiveFormat LZH
public static final ArchiveFormat CHM
public static final ArchiveFormat NSIS
public static final ArchiveFormat AR
public static final ArchiveFormat RPM
public static final ArchiveFormat UDF
public static final ArchiveFormat WIM
public static final ArchiveFormat XAR
public static final ArchiveFormat FAT
public static final ArchiveFormat NTFS
Method Detail |
---|
public static final ArchiveFormat[] values()
for(ArchiveFormat c : ArchiveFormat.values()) System.out.println(c);
public static ArchiveFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.String getMethodName()
public boolean isOutArchiveSupported()
true
- creation/update operations are supported,false
- only archive extraction is supportedpublic java.lang.Class<? extends OutArchiveImpl<?>> getOutArchiveImplementation()
IOutArchive
implementation classpublic boolean supportMultipleFiles()
true
, if the archive format is capable of compressing or storing multiple files within the
archive.
true
- support multiple files, false
support single file or streampublic java.lang.String toString()
toString
in class java.lang.Enum<ArchiveFormat>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |