public enum MetaDataLocator extends Enum<MetaDataLocator>
The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
private static String |
DIR_CONF_OVERRIDE
The configuration directory for overrides
|
Modifier and Type | Method and Description |
---|---|
protected static File |
getFile(URI u)
Safely creates the file location, or null if the parent can't exist
|
abstract File |
getReadLocation() |
abstract File |
getWriteLocation() |
static MetaDataLocator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetaDataLocator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaDataLocator TRANSIENT
public static final MetaDataLocator JSWORD
public static final MetaDataLocator FRONTEND
private static final String DIR_CONF_OVERRIDE
public static MetaDataLocator[] values()
for (MetaDataLocator c : MetaDataLocator.values()) System.out.println(c);
public static MetaDataLocator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullprotected static File getFile(URI u)
u
- the parent URIpublic abstract File getReadLocation()
public abstract File getWriteLocation()