edu.ucla.stat.SOCR.util
Class PluginLoader

java.lang.Object
  extended by 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


Field Summary
protected  SimpleClassLoader classLoader
           
 
Constructor Summary
PluginLoader(java.net.URL pluginLocation, java.lang.ClassLoader loader)
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
           
 void fillVectors()
           
 int getClassCount()
           
 java.lang.String getClassString(int i)
           
 java.lang.Class loadClass(int i)
           
 boolean testClass(java.lang.String className, java.lang.String classLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classLoader

protected SimpleClassLoader classLoader
Constructor Detail

PluginLoader

public PluginLoader(java.net.URL pluginLocation,
                    java.lang.ClassLoader loader)
Method Detail

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)