de.pangaea.metadataportal.config
Enum Config.IndexDirImplementation

java.lang.Object
  extended by java.lang.Enum<Config.IndexDirImplementation>
      extended by de.pangaea.metadataportal.config.Config.IndexDirImplementation
All Implemented Interfaces:
Serializable, Comparable<Config.IndexDirImplementation>
Enclosing class:
Config

public static enum Config.IndexDirImplementation
extends Enum<Config.IndexDirImplementation>


Enum Constant Summary
AUTO
           
MMAP
           
NIO
           
SIMPLE
           
 
Method Summary
 Directory getDirectory(File dir)
           
static Config.IndexDirImplementation getFromSystemProperty()
           
static Config.IndexDirImplementation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Config.IndexDirImplementation[] 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

AUTO

public static final Config.IndexDirImplementation AUTO

SIMPLE

public static final Config.IndexDirImplementation SIMPLE

MMAP

public static final Config.IndexDirImplementation MMAP

NIO

public static final Config.IndexDirImplementation NIO
Method Detail

values

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

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

valueOf

public static Config.IndexDirImplementation 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

getDirectory

public final Directory getDirectory(File dir)
                             throws IOException
Throws:
IOException

getFromSystemProperty

public static final Config.IndexDirImplementation getFromSystemProperty()


Copyright ©2007-2011 panFMP Developers c/o Uwe Schindler