|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ModuleParser> pt.digitalis.utils.ioc.ModuleParser
public enum ModuleParser
The IoC module parsing modes.
Enum Constant Summary | |
---|---|
CRAWLER
Searches all classPath entries in the file system, opening up directories and ZIP files. |
|
FAST
Uses the classPath getSystemResources() for fast detection. |
|
PARANOID
When all else fails, combines the previous methods for complete discovery. |
Method Summary | |
---|---|
static ModuleParser |
getParsingMethodByName(String name)
Returns the parsing method of a given name. |
static ModuleParser |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ModuleParser[] |
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 ModuleParser FAST
public static final ModuleParser CRAWLER
public static final ModuleParser PARANOID
Method Detail |
---|
public static ModuleParser[] values()
for (ModuleParser c : ModuleParser.values()) System.out.println(c);
public static ModuleParser 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 nullpublic static ModuleParser getParsingMethodByName(String name)
name
- selected method name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |