net.aerith.misao.pixy
Class PluginLoader
java.lang.Object
|
+--net.aerith.misao.pixy.PluginLoader
- public class PluginLoader
- extends java.lang.Object
The PluginLoader
is a plug-in class loader.
The directory of the plug-in class files can be specified by the
system property misao.plugin. By default, it reads class
files from the current directory.
Field Summary |
private static java.lang.Object[] |
plugins
The plug-in class instances. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
plugins
private static java.lang.Object[] plugins
- The plug-in class instances.
PluginLoader
public PluginLoader()
loadImageFileFilters
public static ImageFileFilter[] loadImageFileFilters()
- Loads the plug-in image file filters.
- Returns:
- the list of plug-in image file filters.
loadAgents
public static Agent[] loadAgents()
- Loads the plug-in agents.
- Returns:
- the list of plug-in agents.
loadKernels
public static Kernel[] loadKernels()
- Loads the plug-in kernels.
- Returns:
- the list of plug-in kernels.
static void ()
- Loads the plug-in class files and create their instances.