bsh
public class Capabilities extends Object
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. |
Method Summary | |
---|---|
static boolean | canGenerateInterfaces() |
static boolean | classExists(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) |
See Also: ReflectManager