|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SwordMetaDataLocator>
org.crosswire.jsword.book.sword.SwordMetaDataLocator
public enum SwordMetaDataLocator
The different levels of configuration. The order in this enum is important as it determines the precedence. The higher the ordinal, the higher the precedence (i.e. override).
The GNU Lesser General Public License for details.
Enum Constant Summary | |
---|---|
FRONTEND
|
|
JSWORD
|
|
SWORD
|
Method Summary | |
---|---|
protected static File |
getFile(URI u)
Safely creates the file location, or null if the parent can't exist |
abstract File |
getReadLocation()
A read-only folder containing configuration data for books. |
abstract File |
getWriteLocation()
A writable folder containing configuration data for books. |
static SwordMetaDataLocator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SwordMetaDataLocator[] |
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 |
---|
public static final SwordMetaDataLocator SWORD
public static final SwordMetaDataLocator JSWORD
public static final SwordMetaDataLocator FRONTEND
Method Detail |
---|
public static SwordMetaDataLocator[] values()
for (SwordMetaDataLocator c : SwordMetaDataLocator.values()) System.out.println(c);
public static SwordMetaDataLocator valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullprotected static File getFile(URI u)
u
- the parent URI
public abstract File getReadLocation()
MetaDataLocator
getReadLocation
in interface MetaDataLocator
public abstract File getWriteLocation()
MetaDataLocator
getWriteLocation
in interface MetaDataLocator
|
Copyright ยจ 2003-2015 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |