com.github.junrar.unpack.decode
Enum CodeType
java.lang.Object
java.lang.Enum<CodeType>
com.github.junrar.unpack.decode.CodeType
- All Implemented Interfaces:
- Serializable, Comparable<CodeType>
public enum CodeType
- extends Enum<CodeType>
DOCUMENT ME
the unrar licence applies to all junrar source and binary distributions
you are not allowed to use this source to re-create the RAR compression algorithm
- Version:
- $LastChangedRevision$
- Author:
- $LastChangedBy$
|
Method Summary |
static CodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CODE_HUFFMAN
public static final CodeType CODE_HUFFMAN
CODE_LZ
public static final CodeType CODE_LZ
CODE_LZ2
public static final CodeType CODE_LZ2
CODE_REPEATLZ
public static final CodeType CODE_REPEATLZ
CODE_CACHELZ
public static final CodeType CODE_CACHELZ
CODE_STARTFILE
public static final CodeType CODE_STARTFILE
CODE_ENDFILE
public static final CodeType CODE_ENDFILE
CODE_VM
public static final CodeType CODE_VM
CODE_VMDATA
public static final CodeType CODE_VMDATA
values
public static CodeType[] 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 (CodeType c : CodeType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CodeType 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 name
NullPointerException - if the argument is null
Copyright © 2012. All Rights Reserved.