|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxdoclet.loader.ModuleFinder
Finds xdoclet modules.
Constructor Summary | |
ModuleFinder()
|
Method Summary | |
static List |
findModules()
Returns a List of XDocletModule objects |
static String |
getClasspath()
|
static File |
getNewestFileOnClassPath()
Get the newest Jar file on the classpath. |
static void |
initClasspath(Class clazz)
Initialises the classpath. |
static void |
resetFoundModules()
|
static void |
setClasspath(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 String getClasspath()
public static File getNewestFileOnClassPath()
public static void setClasspath(String classpath)
public static void initClasspath(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 List findModules()
public static void resetFoundModules()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |