|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--bsh.Capabilities
The map of extended features supported by the runtime in which we live.
This class should be independent of all other bsh classes!
Note that tests for class existence here do *not* use the BshClassManager, as it may require other optional class files to be loaded.
Nested Class Summary | |
static class |
Capabilities.Unavailable
An attempt was made to use an unavailable capability supported by an optional package. |
Constructor Summary | |
Capabilities()
|
Method Summary | |
static boolean |
canGenerateInterfaces()
|
static boolean |
classExists(java.lang.String name)
Use direct Class.forName() to test for the existence of a class. |
static boolean |
haveAccessibility()
If accessibility is enabled determine if the accessibility mechanism exists and if we have the optional bsh package to use it. |
static boolean |
haveSwing()
|
static void |
setAccessibility(boolean b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Capabilities()
Method Detail |
public static boolean haveSwing()
public static boolean canGenerateInterfaces()
public static boolean haveAccessibility()
ReflectManager
public static void setAccessibility(boolean b)
public static boolean classExists(java.lang.String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |