Enum CodeType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CodeType>

    public enum CodeType
    extends java.lang.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$
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CodeType()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static CodeType valueOf​(java.lang.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
    • Constructor Detail

      • CodeType

        private CodeType()
    • 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​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null