|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pfsw.plugin.PluginUtil
public class PluginUtil
Provides helper methods around the PF plug-in mechanism.
Field Summary | |
---|---|
static PluginUtil |
PU
|
static java.lang.String |
SYS_PROP_PLUGIN_PATH
|
Constructor Summary | |
---|---|
protected |
PluginUtil()
Initialize the new instance with default values. |
Method Summary | |
---|---|
protected org.pfsw.util.CollectionUtil |
collUtil()
|
static PluginUtil |
current()
Returns the only instance this class supports (design pattern "Singleton") |
protected org.pfsw.file.FileUtil |
fileUtil()
|
java.lang.ClassLoader |
getClassLoader(java.lang.ClassLoader... suggestedClassLoaders)
Returns the first non-null classloader from the following order: suggestedClassLoaders The current thread's context class loader the class loader of this class the system class loader or throws an IllegalStateException if no classloader can be found. |
org.pfsw.file.Classpath |
getPluginClasspath()
Returns the classpath that is used to lookup any plug-in information files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PluginUtil PU
public static final java.lang.String SYS_PROP_PLUGIN_PATH
Constructor Detail |
---|
protected PluginUtil()
Method Detail |
---|
public static PluginUtil current()
public org.pfsw.file.Classpath getPluginClasspath()
public java.lang.ClassLoader getClassLoader(java.lang.ClassLoader... suggestedClassLoaders)
protected org.pfsw.file.FileUtil fileUtil()
protected org.pfsw.util.CollectionUtil collUtil()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |