|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ZipVersionMadeBy>
org.at4j.zip.ZipVersionMadeBy
public enum ZipVersionMadeBy
This is an enumeration over the different Zip implementations that can be used to create Zip files. It uses Info-Zip's code assignment rather than PKWare's.
Enum Constant Summary | |
---|---|
ACORN_RISC
|
|
ALT_MVS
|
|
AMIGA
|
|
ATARI_ST
|
|
ATHEOS
|
|
BEOS
|
|
CPM
|
|
MACINTOSH
|
|
MSDOS
|
|
OPENVMS
|
|
OS2_HPFS
|
|
OSX
|
|
SMS_QDOS
|
|
TANDEM
|
|
THEOS
|
|
UNIX
|
|
VFAT
|
|
VMCMS
|
|
WINDOWS_NTFS
|
|
Z_SYSTEM
|
Method Summary | |
---|---|
UnsignedByte |
getCode()
Get the code associated with this Zip version made by enum constant. |
String |
toString()
|
static ZipVersionMadeBy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ZipVersionMadeBy |
valueOf(UnsignedByte code)
Get the Zip version made by enum constant that corresponds to the code. |
static ZipVersionMadeBy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ZipVersionMadeBy MSDOS
public static final ZipVersionMadeBy AMIGA
public static final ZipVersionMadeBy OPENVMS
public static final ZipVersionMadeBy UNIX
public static final ZipVersionMadeBy VMCMS
public static final ZipVersionMadeBy ATARI_ST
public static final ZipVersionMadeBy OS2_HPFS
public static final ZipVersionMadeBy MACINTOSH
public static final ZipVersionMadeBy Z_SYSTEM
public static final ZipVersionMadeBy CPM
public static final ZipVersionMadeBy WINDOWS_NTFS
public static final ZipVersionMadeBy SMS_QDOS
public static final ZipVersionMadeBy ACORN_RISC
public static final ZipVersionMadeBy VFAT
public static final ZipVersionMadeBy ALT_MVS
public static final ZipVersionMadeBy BEOS
public static final ZipVersionMadeBy TANDEM
public static final ZipVersionMadeBy THEOS
public static final ZipVersionMadeBy OSX
public static final ZipVersionMadeBy ATHEOS
Method Detail |
---|
public static ZipVersionMadeBy[] values()
for (ZipVersionMadeBy c : ZipVersionMadeBy.values()) System.out.println(c);
public static ZipVersionMadeBy valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic UnsignedByte getCode()
public static ZipVersionMadeBy valueOf(UnsignedByte code) throws IllegalArgumentException
code
- The version made by code.
IllegalArgumentException
- If there is no Zip version made by enum
constant associated with the supplied code.public String toString()
toString
in class Enum<ZipVersionMadeBy>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |