|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxdoclet.loader.ModuleFinder
public class ModuleFinder
Finds xdoclet modules.
Constructor Summary | |
---|---|
ModuleFinder()
|
Method Summary | |
---|---|
static java.util.List |
findModules()
Returns a List of XDocletModule objects |
static java.lang.String |
getClasspath()
|
static java.io.File |
getNewestFileOnClassPath()
Get the newest Jar file on the classpath. |
static void |
initClasspath(java.lang.Class clazz)
Initialises the classpath. |
static void |
resetFoundModules()
|
static void |
setClasspath(java.lang.String classpath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModuleFinder()
Method Detail |
---|
public static java.lang.String getClasspath()
public static java.io.File getNewestFileOnClassPath()
public static void setClasspath(java.lang.String classpath)
public static void initClasspath(java.lang.Class clazz)
xdoclet.class.path
, then that value will be
used. If not, we'll try to cast the clazz' class loader to an AntClassLoader and get classpath from there. If
that fails (happens if the clazz was loaded by the system class loader), we'll use java.class.path.
clazz
- the class used to find classpath.public static java.util.List findModules()
public static void resetFoundModules()
|
http://xdoclet.sourceforge.net/ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |