public enum RARVersion extends java.lang.Enum<RARVersion>
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isOldFormat(RARVersion version)
Checks if the version passed is the old rar format.
|
static RARVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RARVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RARVersion OLD
public static final RARVersion V4
public static final RARVersion V5
public static RARVersion[] values()
for (RARVersion c : RARVersion.values()) System.out.println(c);
public static RARVersion 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 namejava.lang.NullPointerException - if the argument is nullpublic static boolean isOldFormat(RARVersion version)
version - Version to check if it is the old format.true if the format is the old format. Otherwise false.