Enum Class CodeType

java.lang.Object
java.lang.Enum<CodeType>
com.github.junrar.unpack.decode.CodeType
All Implemented Interfaces:
Serializable, Comparable<CodeType>, Constable

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$
  • Enum Constant Details

    • 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
  • Constructor Details

    • CodeType

      private CodeType()
  • Method Details

    • values

      public static CodeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CodeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null