com.jdotsoft.jarloader
Enum JarClassLoader.LogArea

java.lang.Object
  extended by java.lang.Enum<JarClassLoader.LogArea>
      extended by com.jdotsoft.jarloader.JarClassLoader.LogArea
All Implemented Interfaces:
Serializable, Comparable<JarClassLoader.LogArea>
Enclosing class:
JarClassLoader

public static enum JarClassLoader.LogArea
extends Enum<JarClassLoader.LogArea>


Enum Constant Summary
ALL
          Enable all logging areas.
CLASS
          Enable class loading related logging.
CONFIG
          Configuration related logging.
JAR
          Enable JAR related logging.
NATIVE
          Enable native libraries loading related logging.
RESOURCE
          Enable resource loading related logging.
 
Method Summary
static JarClassLoader.LogArea valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JarClassLoader.LogArea[] 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

ALL

public static final JarClassLoader.LogArea ALL
Enable all logging areas.


CONFIG

public static final JarClassLoader.LogArea CONFIG
Configuration related logging. Enabled always.


JAR

public static final JarClassLoader.LogArea JAR
Enable JAR related logging.


CLASS

public static final JarClassLoader.LogArea CLASS
Enable class loading related logging.


RESOURCE

public static final JarClassLoader.LogArea RESOURCE
Enable resource loading related logging.


NATIVE

public static final JarClassLoader.LogArea NATIVE
Enable native libraries loading related logging.

Method Detail

values

public static JarClassLoader.LogArea[] 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 (JarClassLoader.LogArea c : JarClassLoader.LogArea.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JarClassLoader.LogArea 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.