com.github.junrar.unpack.decode
Enum CodeType

java.lang.Object
  extended by java.lang.Enum<CodeType>
      extended by 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$

Enum Constant Summary
CODE_CACHELZ
           
CODE_ENDFILE
           
CODE_HUFFMAN
           
CODE_LZ
           
CODE_LZ2
           
CODE_REPEATLZ
           
CODE_STARTFILE
           
CODE_VM
           
CODE_VMDATA
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.