|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.base.util.ClassQueryTool
public abstract class ClassQueryTool
The class-query tool loads classes using a classloader and calls "processClass" for each class encountered. This is highly expensive and sometimes dangerous excercise as the classloading may trigger static initializers and may exhaust the "permgen" space of the Virtual machine. If possible anyhow, do not use this class.
Method Summary | |
---|---|
void |
processDirectory(java.io.File directory)
Processes all entries from a given directory, ignoring any subdirectory contents. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void processDirectory(java.io.File directory) throws java.io.IOException
directory
- the directory to be searched, or null to just use the classpath.
java.io.IOException
- if an error occured while loading the resources from the directory.
java.lang.SecurityException
- if access to the system properties or access to the classloader is restricted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |