edu.ucla.stat.SOCR.util
Class PluginLoader
java.lang.Object
edu.ucla.stat.SOCR.util.PluginLoader
- All Implemented Interfaces:
- java.io.FilenameFilter
- Direct Known Subclasses:
- ModelerPluginLoader, WaveletPluginLoader
public class PluginLoader
- extends java.lang.Object
- implements java.io.FilenameFilter
Constructor Summary |
PluginLoader(java.net.URL pluginLocation,
java.lang.ClassLoader loader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classLoader
protected SimpleClassLoader classLoader
PluginLoader
public PluginLoader(java.net.URL pluginLocation,
java.lang.ClassLoader loader)
accept
public final boolean accept(java.io.File dir,
java.lang.String name)
- Specified by:
accept
in interface java.io.FilenameFilter
getClassCount
public final int getClassCount()
getClassString
public final java.lang.String getClassString(int i)
loadClass
public final java.lang.Class loadClass(int i)
fillVectors
public final void fillVectors()
testClass
public boolean testClass(java.lang.String className,
java.lang.String classLocation)