de.pangaea.metadataportal.config
Enum Config.IndexDirImplementation
java.lang.Object
java.lang.Enum<Config.IndexDirImplementation>
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>
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
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