|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
String |
ALL_WILDCARD
|
String |
LOAD_PREFIX
|
String |
MAIN_PREFIX
|
String |
MATCH_ALL
|
String |
MATCH_FILE_NAME
|
char |
WILDCARD
|
List |
classPath
|
String |
main
|
boolean |
requireMain
|
Constructor Summary | |
LoaderConfiguration()
creates a new loader configuration |
Method Summary | |
---|---|
void |
addClassPath(String path)
Adds a classpath to this configuration. |
void |
addFile(File file)
Adds a file to the classpath if it exists. |
void |
addFile(String filename)
Adds a file to the classpath if it exists. |
String |
assignProperties(String str)
|
void |
configure(InputStream is)
configures this loader with a stream |
void |
findMatchingFiles(def files, Pattern pattern, boolean recursive)
|
def |
getClassPathUrls()
The classpath as URL[] from this configuration. |
String |
getMainClass()
Returns the name of the main class for this configuration. |
String |
getParentPath(String filter)
|
String |
getSlashyPath(String path)
|
void |
loadFilteredPath(String filter)
|
boolean |
parentPathDoesExist(String path)
|
void |
setMainClass(String classname)
Sets the main class. |
void |
setRequireMain(boolean requireMain)
Determines if a main class is required when calling. |
Constructor Detail |
---|
public LoaderConfiguration()
Method Detail |
---|
public void addClassPath(String path)
public void addFile(File file)
public void addFile(String filename)
String assignProperties(String str)
public void configure(InputStream is)
void findMatchingFiles(def files, Pattern pattern, boolean recursive)
public def getClassPathUrls()
public String getMainClass()
String getParentPath(String filter)
String getSlashyPath(String path)
void loadFilteredPath(String filter)
boolean parentPathDoesExist(String path)
public void setMainClass(String classname)
public void setRequireMain(boolean requireMain)