A B C D E F G H I J K L M N O P R S T U V W X _

A

absoluteClassCache - Static variable in class bsh.BshClassManager
Global cache for things we know are classes.
absoluteNonClasses - Static variable in class bsh.BshClassManager
Global cache for things we know are *not* classes.
actionPerformed(ActionEvent) - Method in class bsh.util.JConsole
 
add(NameCompletionTable) - Method in class bsh.util.NameCompletionTable
Add a NameCompletionTable, which is more optimized than the more general NameSource
add(NameSource) - Method in class bsh.util.NameCompletionTable
Add a NameSource which is monitored for names.
add(String) - Method in class bsh.classpath.BshClassPath.AmbiguousName
 
add(URL) - Method in class bsh.classpath.BshClassPath
 
add(URL[]) - Method in class bsh.classpath.BshClassPath
 
addClassPath(URL) - Method in class bsh.BshClassManager
 
addClassPath(URL) - Method in class bsh.classpath.ClassManagerImpl
 
addCMListener(BshClassManager.Listener) - Static method in class bsh.BshClassManager
Add a BshClassManager.Listener to the class manager.
addComponent(BshClassPath) - Method in class bsh.classpath.BshClassPath
Add the specified BshClassPath as a component of our path.
AdditiveExpression() - Method in class bsh.Parser
 
addListener(BshClassManager.Listener) - Method in class bsh.BshClassManager
 
addListener(BshClassManager.Listener) - Method in class bsh.classpath.ClassManagerImpl
 
addListener(ClassPathListener) - Method in class bsh.classpath.BshClassPath
 
addMappingFeedback(BshClassPath.MappingFeedback) - Static method in class bsh.classpath.BshClassPath
 
addNameSourceListener(NameSource.Listener) - Method in class bsh.NameSpace
Implements NameSource Add a listener who is notified upon changes to names in this space.
addNameSourceListener(NameSource.Listener) - Method in interface bsh.NameSource
 
addNameSourceListener(NameSource.Listener) - Method in class bsh.classpath.BshClassPath
Implements NameSource Add a listener who is notified upon changes to names in this space.
addNode(SimpleNode) - Method in class bsh.EvalError
 
addURL(URL) - Method in class bsh.classpath.BshClassLoader
 
AllocationExpression() - Method in class bsh.Parser
 
AmbiguousName() - Method in class bsh.Parser
 
ANDASSIGN - Static variable in interface bsh.ParserConstants
 
ANDASSIGNX - Static variable in interface bsh.ParserConstants
 
AndExpression() - Method in class bsh.Parser
 
ArgumentList() - Method in class bsh.Parser
 
Arguments() - Method in class bsh.Parser
 
ArrayDimensions() - Method in class bsh.Parser
 
ArrayInitializer() - Method in class bsh.Parser
 
ASSIGN - Static variable in interface bsh.ParserConstants
 
Assignment() - Method in class bsh.Parser
 
AssignmentOperator() - Method in class bsh.Parser
 
AWTConsole - class bsh.util.AWTConsole.
An old AWT based console for BeanShell.
AWTConsole() - Constructor for class bsh.util.AWTConsole
 
AWTConsole(InputStream, OutputStream) - Constructor for class bsh.util.AWTConsole
 
AWTConsole(int, int, InputStream, OutputStream) - Constructor for class bsh.util.AWTConsole
 
AWTDemoApplet - class bsh.util.AWTDemoApplet.
Run bsh as an applet for demo purposes.
AWTDemoApplet() - Constructor for class bsh.util.AWTDemoApplet
 
AWTRemoteApplet - class bsh.util.AWTRemoteApplet.
A lightweight console applet for remote display of a Beanshell session.
AWTRemoteApplet() - Constructor for class bsh.util.AWTRemoteApplet
 

B

BANG - Static variable in interface bsh.ParserConstants
 
binaryOperation(Object, Object, int) - Static method in class bsh.Primitive
Allow primitive operations on wrapper types such as Integer and Boolean.
bind(This, NameSpace, Interpreter) - Static method in class bsh.This
Bind a This reference to a parent's namespace with the specified declaring interpreter.
BIT_AND - Static variable in interface bsh.ParserConstants
 
BIT_ANDX - Static variable in interface bsh.ParserConstants
 
BIT_OR - Static variable in interface bsh.ParserConstants
 
BIT_ORX - Static variable in interface bsh.ParserConstants
 
Block() - Method in class bsh.Parser
 
BlockStatement() - Method in class bsh.Parser
 
BOOL_AND - Static variable in interface bsh.ParserConstants
 
BOOL_ANDX - Static variable in interface bsh.ParserConstants
 
BOOL_OR - Static variable in interface bsh.ParserConstants
 
BOOL_ORX - Static variable in interface bsh.ParserConstants
 
BOOLEAN - Static variable in interface bsh.ParserConstants
 
BooleanLiteral() - Method in class bsh.Parser
 
booleanValue() - Method in class bsh.Primitive
 
BREAK - Static variable in interface bsh.ParserConstants
 
BreakStatement() - Method in class bsh.Parser
 
bsh - package bsh
 
bsh.classpath - package bsh.classpath
 
bsh.reflect - package bsh.reflect
 
bsh.util - package bsh.util
 
BshCanvas - class bsh.util.BshCanvas.
Scriptable Canvas with buffered graphics.
BshCanvas() - Constructor for class bsh.util.BshCanvas
 
BshCanvas(This) - Constructor for class bsh.util.BshCanvas
 
BshClassLoader - class bsh.classpath.BshClassLoader.
One of the things BshClassLoader does is to address a deficiency in URLClassLoader that prevents us from specifying individual classes via URLs.
BshClassLoader() - Constructor for class bsh.classpath.BshClassLoader
For use by children
BshClassLoader(BshClassPath) - Constructor for class bsh.classpath.BshClassLoader
 
BshClassLoader(URL[]) - Constructor for class bsh.classpath.BshClassLoader
 
BshClassManager - class bsh.BshClassManager.
BshClassManager manages all classloading in BeanShell.
BshClassManager.Listener - interface bsh.BshClassManager.Listener.
 
BshClassManager() - Constructor for class bsh.BshClassManager
 
BshClassPath - class bsh.classpath.BshClassPath.
A BshClassPath encapsulates knowledge about a class path of URLs.
BshClassPath.AmbiguousName - class bsh.classpath.BshClassPath.AmbiguousName.
 
BshClassPath.AmbiguousName() - Constructor for class bsh.classpath.BshClassPath.AmbiguousName
 
BshClassPath.ClassSource - class bsh.classpath.BshClassPath.ClassSource.
 
BshClassPath.ClassSource() - Constructor for class bsh.classpath.BshClassPath.ClassSource
 
BshClassPath.DirClassSource - class bsh.classpath.BshClassPath.DirClassSource.
 
BshClassPath.JarClassSource - class bsh.classpath.BshClassPath.JarClassSource.
 
BshClassPath.MappingFeedback - interface bsh.classpath.BshClassPath.MappingFeedback.
 
BshClassPath(String) - Constructor for class bsh.classpath.BshClassPath
 
BshClassPath(String, URL[]) - Constructor for class bsh.classpath.BshClassPath
 
BSHFormalComment - class bsh.BSHFormalComment.
 
BSHFormalComment(int) - Constructor for class bsh.BSHFormalComment
 
BshMethod - class bsh.BshMethod.
This represents an *instance* of a bsh method declaration in a particular namespace.
bubbleSort(String[]) - Static method in class bsh.StringUtil
 
BYTE - Static variable in interface bsh.ParserConstants
 

C

cacheClassInfo(String, Class) - Static method in class bsh.BshClassManager
Cache info about whether name is a class or not.
CallStack - class bsh.CallStack.
A stack of namespaces representing the call path.
CallStack() - Constructor for class bsh.CallStack
 
canGenerateInterfaces() - Static method in class bsh.Capabilities
 
canonicalizeClassName(String) - Static method in class bsh.classpath.BshClassPath
Create a proper class name from a messy thing.
Capabilities - class bsh.Capabilities.
The map of extended features supported by the runtime in which we live.
Capabilities.Unavailable - exception bsh.Capabilities.Unavailable.
An attempt was made to use an unavailable capability supported by an optional package.
Capabilities.Unavailable(String) - Constructor for class bsh.Capabilities.Unavailable
 
Capabilities() - Constructor for class bsh.Capabilities
 
CASE - Static variable in interface bsh.ParserConstants
 
CastExpression() - Method in class bsh.Parser
 
CastLookahead() - Method in class bsh.Parser
 
CATCH - Static variable in interface bsh.ParserConstants
 
CHAR - Static variable in interface bsh.ParserConstants
 
CHARACTER_LITERAL - Static variable in interface bsh.ParserConstants
 
checkAssignableFrom(Object, Class) - Static method in class bsh.NameSpace
Deprecated. name changed.
CLASS - Static variable in interface bsh.ParserConstants
 
ClassBrowser - class bsh.util.ClassBrowser.
A simple class browser for the BeanShell desktop.
ClassBrowser() - Constructor for class bsh.util.ClassBrowser
 
classExists(String) - Static method in class bsh.Capabilities
Use direct Class.forName() to test for the existence of a class.
classExists(String) - Static method in class bsh.BshClassManager
 
classForName(String) - Static method in class bsh.BshClassManager
Load the specified class by name, taking into account added classpath and reloaded classes, etc.
classLoaderChanged() - Method in class bsh.NameSpace
Clear all cached classes and names
classLoaderChanged() - Method in class bsh.BshClassManager
 
classLoaderChanged() - Method in interface bsh.BshClassManager.Listener
 
classLoaderChanged() - Method in class bsh.classpath.ClassManagerImpl
Clear global class cache and notify namespaces to clear their class caches.
ClassManagerImpl - class bsh.classpath.ClassManagerImpl.
Manage all classloading in BeanShell.
ClassManagerImpl() - Constructor for class bsh.classpath.ClassManagerImpl
Used by BshClassManager singleton constructor
classMapping(String) - Method in interface bsh.classpath.BshClassPath.MappingFeedback
Provide feedback on the progress of mapping the classpath
classPathChanged() - Method in interface bsh.classpath.ClassPathListener
 
classPathChanged() - Method in class bsh.classpath.BshClassPath
 
classPathChanged() - Method in class bsh.util.ClassBrowser
 
ClassPathException - exception bsh.ClassPathException.
 
ClassPathException(String) - Constructor for class bsh.ClassPathException
 
ClassPathListener - interface bsh.classpath.ClassPathListener.
 
clear() - Method in class bsh.NameSpace
Clear all variables, methods, and imports from this namespace.
clear() - Method in class bsh.CallStack
 
clearCaches() - Method in class bsh.BshClassManager
Clear the static caches in BshClassManager
close() - Method in class bsh.util.JConsole.BlockingPipedInputStream
 
COLON - Static variable in interface bsh.ParserConstants
 
COMMA - Static variable in interface bsh.ParserConstants
 
completeName(String) - Method in class bsh.util.NameCompletionTable
 
completeName(String) - Method in interface bsh.util.NameCompletion
Return an array containing a string element of the maximum unambiguous namespace completion or, if there is no common prefix, return the list of ambiguous names.
ConditionalAndExpression() - Method in class bsh.Parser
 
ConditionalExpression() - Method in class bsh.Parser
 
ConditionalOrExpression() - Method in class bsh.Parser
 
Console - class bsh.Console.
Console startup class.
Console() - Constructor for class bsh.Console
 
ConsoleInterface - interface bsh.ConsoleInterface.
The capabilities of a minimal console for BeanShell.
CONST - Static variable in interface bsh.ParserConstants
 
CONTINUE - Static variable in interface bsh.ParserConstants
 
ContinueStatement() - Method in class bsh.Parser
 
curChar - Variable in class bsh.ParserTokenManager
 

D

DEBUG - Static variable in class bsh.Interpreter
 
debug(String) - Static method in class bsh.Interpreter
Print a debug message on debug stream associated with this interpreter only if debugging is turned on.
DECIMAL_LITERAL - Static variable in interface bsh.ParserConstants
 
DECR - Static variable in interface bsh.ParserConstants
 
DEFAULT - Static variable in interface bsh.ParserConstants
 
depth() - Method in class bsh.CallStack
 
DIGIT - Static variable in interface bsh.ParserConstants
 
disable_tracing() - Method in class bsh.Parser
 
DiscreteFilesClassLoader - class bsh.classpath.DiscreteFilesClassLoader.
 
DiscreteFilesClassLoader.ClassSourceMap - class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap.
 
DiscreteFilesClassLoader.ClassSourceMap() - Constructor for class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
 
DiscreteFilesClassLoader(DiscreteFilesClassLoader.ClassSourceMap) - Constructor for class bsh.classpath.DiscreteFilesClassLoader
 
DO - Static variable in interface bsh.ParserConstants
 
DoStatement() - Method in class bsh.Parser
 
doSuperImport() - Static method in class bsh.NameSpace
Perform "import *;" causing the entire classpath to be mapped.
doSuperImport() - Method in class bsh.BshClassManager
Support for "import *;" Hide details in here as opposed to NameSpace.
doSuperImport() - Method in class bsh.classpath.ClassManagerImpl
Support for "import *;" Hide details in here as opposed to NameSpace.
DOT - Static variable in interface bsh.ParserConstants
 
DOUBLE - Static variable in interface bsh.ParserConstants
 
driveToClass(String) - Method in class bsh.util.ClassBrowser
 
dump(PrintWriter) - Method in class bsh.BshClassManager
 
dump(PrintWriter) - Method in class bsh.classpath.ClassManagerImpl
 

E

ELSE - Static variable in interface bsh.ParserConstants
 
EmptyStatement() - Method in class bsh.Parser
 
enable_tracing() - Method in class bsh.Parser
 
endClassMapping() - Method in interface bsh.classpath.BshClassPath.MappingFeedback
 
endSplashScreen() - Static method in class bsh.util.Util
 
EOF - Static variable in interface bsh.ParserConstants
 
EQ - Static variable in interface bsh.ParserConstants
 
EqualityExpression() - Method in class bsh.Parser
 
equals(Object) - Method in class bsh.Primitive
 
error(String) - Method in class bsh.Interpreter
Print an error message in a standard format on the output stream associated with this interpreter.
error(String) - Method in interface bsh.ConsoleInterface
 
error(String) - Method in class bsh.util.JConsole
 
error(String) - Method in class bsh.util.AWTConsole
 
errorWhileMapping(String) - Method in interface bsh.classpath.BshClassPath.MappingFeedback
 
eval(Reader) - Method in class bsh.Interpreter
Evaluate the inputstream in this interpreter's global namespace.
eval(Reader, NameSpace, String) - Method in class bsh.Interpreter
Spawn a non-interactive local interpreter to evaluate text in the specified namespace.
eval(String) - Method in class bsh.Interpreter
Evaluate the string in this interpreter's global namespace.
eval(String, NameSpace) - Method in class bsh.Interpreter
Evaluate the string in the specified namespace.
eval(String, String, StringBuffer) - Static method in class bsh.Remote
Evaluate text in the interpreter at url, capturing output into output and returning a possible integer return value.
EvalError - exception bsh.EvalError.
EvalError indicates that we cannot continue evaluating the script or the script has thrown an exception.
EvalError(String) - Constructor for class bsh.EvalError
 
EvalError(String, SimpleNode) - Constructor for class bsh.EvalError
 
ExclusiveOrExpression() - Method in class bsh.Parser
 
EXPONENT - Static variable in interface bsh.ParserConstants
 
Expression() - Method in class bsh.Parser
 

F

FALSE - Static variable in interface bsh.ParserConstants
 
FINAL - Static variable in interface bsh.ParserConstants
 
FINALLY - Static variable in interface bsh.ParserConstants
 
findClass(String) - Method in class bsh.classpath.DiscreteFilesClassLoader
 
findClass(String) - Method in class bsh.classpath.BshClassLoader
Find the correct source for the class...
FLOAT - Static variable in interface bsh.ParserConstants
 
FLOATING_POINT_LITERAL - Static variable in interface bsh.ParserConstants
 
FOR - Static variable in interface bsh.ParserConstants
 
ForInit() - Method in class bsh.Parser
 
FORMAL_COMMENT - Static variable in interface bsh.ParserConstants
 
FormalComment() - Method in class bsh.Parser
 
FormalParameter() - Method in class bsh.Parser
 
FormalParameters() - Method in class bsh.Parser
 
ForStatement() - Method in class bsh.Parser
 
ForUpdate() - Method in class bsh.Parser
 

G

GE - Static variable in interface bsh.ParserConstants
 
generateParseException() - Method in class bsh.Parser
 
get() - Method in class bsh.classpath.BshClassPath.AmbiguousName
 
get(int) - Method in class bsh.CallStack
zero based.
get(String) - Method in class bsh.Interpreter
Get the value of the name.
get(String) - Method in class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
 
get(String, Interpreter) - Method in class bsh.NameSpace
Resolve name to an object through this namespace.
getAllNames() - Method in class bsh.NameSpace
Implements NameSource
getAllNames() - Method in interface bsh.NameSource
 
getAllNames() - Method in class bsh.classpath.BshClassPath
 
getAllNamesAux(Vector) - Method in class bsh.NameSpace
Helper for implementing NameSource
getArgTypes() - Method in class bsh.BshMethod
Note: bshmethod needs to re-evaluate arg types here This is broken
getAssignableForm(Object, Class) - Static method in class bsh.NameSpace
Determine if the RHS object can be assigned to the LHS type (as is, through widening, promotion, etc) and if so, return the assignable form of the RHS.
getBaseLoader() - Method in class bsh.BshClassManager
 
getBaseLoader() - Method in class bsh.classpath.ClassManagerImpl
 
getBootClassPath() - Static method in class bsh.classpath.BshClassPath
Get the boot path including the lib/rt.jar if possible.
getBufferedGraphics() - Method in class bsh.util.BshCanvas
Get a buffered (persistent) image for drawing on this component
getClass(String) - Method in class bsh.NameSpace
Load a class through this namespace taking into account imports.
getClassesForPackage(String) - Method in class bsh.classpath.BshClassPath
Return the set of class names in the specified package including all component paths.
getClassForName(String) - Method in class bsh.BshClassManager
 
getClassForName(String) - Method in class bsh.classpath.ClassManagerImpl
 
getClassManager() - Static method in class bsh.BshClassManager
 
getClassNameByUnqName(String) - Method in class bsh.BshClassManager
Return the name or null if none is found, Throw an ClassPathException containing detail if name is ambigous.
getClassNameByUnqName(String) - Method in class bsh.classpath.ClassManagerImpl
Return the name or null if none is found, Throw an ClassPathException containing detail if name is ambigous.
getClassNameByUnqName(String) - Method in class bsh.classpath.BshClassPath
Support for super import "*"; Get the full name associated with the unqualified name in this classpath.
getClassPath() - Method in class bsh.classpath.ClassManagerImpl
Get the full blown classpath.
getClassSource(String) - Method in class bsh.classpath.BshClassPath
Return the source of the specified class which may lie in component path
getDir() - Method in class bsh.classpath.BshClassPath.DirClassSource
 
getErr() - Method in class bsh.Interpreter
Get the error output stream associated with this interpreter.
getErr() - Method in interface bsh.ConsoleInterface
 
getErr() - Method in class bsh.util.JConsole
 
getErr() - Method in class bsh.util.AWTConsole
 
getErrorLineNumber() - Method in class bsh.EvalError
 
getErrorSourceFile() - Method in class bsh.EvalError
 
getErrorText() - Method in class bsh.EvalError
 
getFullPath() - Method in class bsh.classpath.BshClassPath
Get the full path including component paths.
getGlobal() - Method in class bsh.NameSpace
 
getImportedPackages() - Method in class bsh.NameSpace
Deprecated.  
getImportedPackages(boolean) - Method in class bsh.NameSpace
Get a list of all imported packages in the order in which they were imported...
getIn() - Method in class bsh.Interpreter
Get the input stream associated with this interpreter.
getIn() - Method in interface bsh.ConsoleInterface
 
getIn() - Method in class bsh.util.JConsole
 
getIn() - Method in class bsh.util.AWTConsole
 
getInputStream() - Method in class bsh.util.JConsole
 
getInterface(Class) - Method in class bsh.Interpreter
Fetch a reference to the interpreter (global namespace), and cast it to the specified type of interface type.
getInterface(Class) - Method in class bsh.This
Get a version of the interface.
getInvocationLine() - Method in class bsh.NameSpace
 
getInvocationText() - Method in class bsh.NameSpace
 
getLoaderForClass(String) - Method in class bsh.BshClassManager
 
getLoaderForClass(String) - Method in class bsh.classpath.ClassManagerImpl
 
getMatchingNames(String, List) - Method in class bsh.util.NameCompletionTable
Add any matching names to list (including any from other tables)
getMessage() - Method in class bsh.EvalError
 
getMethod(String, Class[]) - Method in class bsh.NameSpace
Get the bsh method matching the specified signature declared in this name space or a parent.
getMethodNames() - Method in class bsh.NameSpace
Get the names of methods defined in this namespace.
getMethods() - Method in class bsh.NameSpace
Get the methods defined in this namespace.
getName() - Method in class bsh.NameSpace
 
getName() - Method in class bsh.BshMethod
 
getNameSpace() - Method in class bsh.Interpreter
Get the global namespace of this interpreter.
getNameSpace() - Method in class bsh.This
 
getNextToken() - Method in class bsh.ParserTokenManager
 
getNextToken() - Method in class bsh.Parser
 
getOut() - Method in class bsh.Interpreter
Get the outptut stream associated with this interpreter.
getOut() - Method in interface bsh.ConsoleInterface
 
getOut() - Method in class bsh.util.JConsole
 
getOut() - Method in class bsh.util.AWTConsole
 
getPackagesSet() - Method in class bsh.classpath.BshClassPath
Get a list of all of the known packages
getParent() - Method in class bsh.NameSpace
Get the parent namespace.
getParent() - Method in class bsh.Interpreter
 
getPathComponents() - Method in class bsh.classpath.BshClassPath
Get the path components including any component paths.
getPlainClassForName(String) - Method in class bsh.BshClassManager
Delegate for plainClassForName.
getPlainClassForName(String) - Method in class bsh.classpath.ClassManagerImpl
Delegate for bottom level implementation of Class.forName().
getReflectManager() - Static method in class bsh.ReflectManager
Return the singleton bsh ReflectManager.
getSourceFileInfo() - Method in class bsh.Interpreter
Specify the source of the text from which this interpreter is reading.
getStrictJava() - Method in class bsh.Interpreter
 
getStyle() - Method in class bsh.util.JConsole
 
getSuper() - Method in class bsh.NameSpace
 
getTarget() - Method in class bsh.TargetError
 
getToken(int) - Method in class bsh.Parser
 
getType() - Method in class bsh.Primitive
 
getURL() - Method in class bsh.classpath.BshClassPath.JarClassSource
 
getUserClassPath() - Static method in class bsh.classpath.BshClassPath
A BshClassPath initialized to the user path from java.class.path
getUserClassPathComponents() - Static method in class bsh.classpath.BshClassPath
 
getValue() - Method in class bsh.Primitive
 
getVariable(String) - Method in class bsh.NameSpace
Get the specified variable in this namespace or a parent namespace.
getVariable(String) - Method in class bsh.Interpreter
Deprecated. does not properly evaluate compound names
getVariable(String, boolean) - Method in class bsh.NameSpace
Get the specified variable in this namespace.
getVariableImpl(String, boolean) - Method in class bsh.NameSpace
Return the raw variable retrieval (TypedVariable object or for untyped the simple value) with optional recursion.
getVariableNames() - Method in class bsh.NameSpace
Get the names of variables defined in this namespace.
GEX - Static variable in interface bsh.ParserConstants
 
GOTO - Static variable in interface bsh.ParserConstants
 
GT - Static variable in interface bsh.ParserConstants
 
GTX - Static variable in interface bsh.ParserConstants
 
GUIConsoleInterface - interface bsh.util.GUIConsoleInterface.
Additional capabilities of an interactive console for BeanShell.

H

HASH_BANG_COMMENT - Static variable in interface bsh.ParserConstants
 
haveAccessibility() - Static method in class bsh.Capabilities
If accessibility is enabled determine if the accessibility mechanism exists and if we have the optional bsh package to use it.
haveSwing() - Static method in class bsh.Capabilities
 
HEX_LITERAL - Static variable in interface bsh.ParserConstants
 
HOOK - Static variable in interface bsh.ParserConstants
 
Httpd - class bsh.util.Httpd.
A very simple httpd that supports the remote server mode.
Httpd(int) - Constructor for class bsh.util.Httpd
 

I

IDENTIFIER - Static variable in interface bsh.ParserConstants
 
identifierToClass(Name.ClassIdentifier) - Static method in class bsh.NameSpace
This is a helper method for working inside of bsh scripts and commands.
IF - Static variable in interface bsh.ParserConstants
 
IfStatement() - Method in class bsh.Parser
 
IMPORT - Static variable in interface bsh.ParserConstants
 
importClass(String) - Method in class bsh.NameSpace
Import a class name.
ImportDeclaration() - Method in class bsh.Parser
 
importPackage(String) - Method in class bsh.NameSpace
subsequent imports override earlier ones
InclusiveOrExpression() - Method in class bsh.Parser
 
INCR - Static variable in interface bsh.ParserConstants
 
init() - Method in class bsh.util.JRemoteApplet
 
init() - Method in class bsh.util.JDemoApplet
 
init() - Method in class bsh.util.ClassBrowser
 
init() - Method in class bsh.util.AWTRemoteApplet
 
init() - Method in class bsh.util.AWTDemoApplet
 
inNativeCode() - Method in class bsh.TargetError
Return true if the TargetError was generated from native code.
INSTANCEOF - Static variable in interface bsh.ParserConstants
 
InstanceOfExpression() - Method in class bsh.Parser
 
insureInitialized() - Method in class bsh.classpath.BshClassPath
If the claspath map is not initialized, do it now.
insureInitialized(boolean) - Method in class bsh.classpath.BshClassPath
 
INT - Static variable in interface bsh.ParserConstants
 
INTEGER_LITERAL - Static variable in interface bsh.ParserConstants
 
INTERFACE - Static variable in interface bsh.ParserConstants
 
Interpreter - class bsh.Interpreter.
The BeanShell script interpreter.
Interpreter() - Constructor for class bsh.Interpreter
Create an interpreter for evaluation only.
Interpreter(ConsoleInterface) - Constructor for class bsh.Interpreter
Construct a new interactive interpreter attached to the specified console.
Interpreter(ConsoleInterface, NameSpace) - Constructor for class bsh.Interpreter
Construct a new interactive interpreter attached to the specified console using the specified parent namespace.
Interpreter(Reader, PrintStream, PrintStream, boolean) - Constructor for class bsh.Interpreter
 
Interpreter(Reader, PrintStream, PrintStream, boolean, NameSpace) - Constructor for class bsh.Interpreter
 
Interpreter(Reader, PrintStream, PrintStream, boolean, NameSpace, Interpreter, String) - Constructor for class bsh.Interpreter
The main constructor.
InterpreterError - exception bsh.InterpreterError.
An internal error in the interpreter has occurred.
InterpreterError(String) - Constructor for class bsh.InterpreterError
 
intValue() - Method in class bsh.Primitive
 
invoke(Object[], Interpreter, CallStack) - Method in class bsh.BshMethod
Invoke the declared method with the specified arguments, interpreter reference, and callstack.
invokeMethod(String, Object[]) - Method in class bsh.This
Invoke specified method from outside java code, using the declaring interpreter and current namespace.
invokeMethod(String, Object[], Interpreter) - Method in class bsh.NameSpace
Invoke a method in this namespace with the specified args and interpreter reference.
invokeMethod(String, Object[], Interpreter, CallStack, SimpleNode) - Method in class bsh.NameSpace
invoke a method in this namespace with the specified args, interpreter reference, and callstack This is a convenience for users outside of this package.
invokeMethod(String, Object[], Interpreter, CallStack, SimpleNode) - Method in class bsh.This
Invoke specified method with specified interpreter.
isArchiveFileName(String) - Static method in class bsh.classpath.BshClassPath
 
isClassFileName(String) - Static method in class bsh.classpath.BshClassPath
 
isNumber() - Method in class bsh.Primitive
Determine if this primitive is a numeric type.

J

JAVACODE - Static variable in class bsh.NameSpace
 
JConsole - class bsh.util.JConsole.
A JFC/Swing based console for the BeanShell desktop.
JConsole.BlockingPipedInputStream - class bsh.util.JConsole.BlockingPipedInputStream.
The overridden read method in this class will not throw "Broken pipe" IOExceptions; It will simply wait for new writers and data.
JConsole.BlockingPipedInputStream(PipedOutputStream) - Constructor for class bsh.util.JConsole.BlockingPipedInputStream
 
JConsole() - Constructor for class bsh.util.JConsole
 
JConsole(InputStream, OutputStream) - Constructor for class bsh.util.JConsole
 
JDemoApplet - class bsh.util.JDemoApplet.
Run bsh as an applet for demo purposes.
JDemoApplet() - Constructor for class bsh.util.JDemoApplet
 
jj_nt - Variable in class bsh.Parser
 
jjstrLiteralImages - Static variable in class bsh.ParserTokenManager
 
JJTALLOCATIONEXPRESSION - Static variable in interface bsh.ParserTreeConstants
 
JJTAMBIGUOUSNAME - Static variable in interface bsh.ParserTreeConstants
 
JJTARGUMENTS - Static variable in interface bsh.ParserTreeConstants
 
JJTARRAYDIMENSIONS - Static variable in interface bsh.ParserTreeConstants
 
JJTARRAYINITIALIZER - Static variable in interface bsh.ParserTreeConstants
 
JJTASSIGNMENT - Static variable in interface bsh.ParserTreeConstants
 
JJTBINARYEXPRESSION - Static variable in interface bsh.ParserTreeConstants
 
JJTBLOCK - Static variable in interface bsh.ParserTreeConstants
 
JJTCASTEXPRESSION - Static variable in interface bsh.ParserTreeConstants
 
JJTFORMALCOMMENT - Static variable in interface bsh.ParserTreeConstants
 
JJTFORMALPARAMETER - Static variable in interface bsh.ParserTreeConstants
 
JJTFORMALPARAMETERS - Static variable in interface bsh.ParserTreeConstants
 
JJTFORSTATEMENT - Static variable in interface bsh.ParserTreeConstants
 
JJTIFSTATEMENT - Static variable in interface bsh.ParserTreeConstants
 
JJTIMPORTDECLARATION - Static variable in interface bsh.ParserTreeConstants
 
JJTLHSPRIMARYEXPRESSION - Static variable in interface bsh.ParserTreeConstants
 
JJTLHSPRIMARYSUFFIX - Static variable in interface bsh.ParserTreeConstants
 
JJTLITERAL - Static variable in interface bsh.ParserTreeConstants
 
JJTMETHODDECLARATION - Static variable in interface bsh.ParserTreeConstants
 
JJTMETHODINVOCATION - Static variable in interface bsh.ParserTreeConstants
 
jjtNodeName - Static variable in interface bsh.ParserTreeConstants
 
JJTPRIMARYEXPRESSION - Static variable in interface bsh.ParserTreeConstants
 
JJTPRIMARYSUFFIX - Static variable in interface bsh.ParserTreeConstants
 
JJTPRIMITIVETYPE - Static variable in interface bsh.ParserTreeConstants
 
jjtree - Variable in class bsh.Parser
 
JJTRETURNSTATEMENT - Static variable in interface bsh.ParserTreeConstants
 
JJTRETURNTYPE - Static variable in interface bsh.ParserTreeConstants
 
JJTSTATEMENTEXPRESSIONLIST - Static variable in interface bsh.ParserTreeConstants
 
JJTSWITCHLABEL - Static variable in interface bsh.ParserTreeConstants
 
JJTSWITCHSTATEMENT - Static variable in interface bsh.ParserTreeConstants
 
JJTTERNARYEXPRESSION - Static variable in interface bsh.ParserTreeConstants
 
JJTTHROWSTATEMENT - Static variable in interface bsh.ParserTreeConstants
 
JJTTRYSTATEMENT - Static variable in interface bsh.ParserTreeConstants
 
JJTTYPE - Static variable in interface bsh.ParserTreeConstants
 
JJTTYPEDVARIABLEDECLARATION - Static variable in interface bsh.ParserTreeConstants
 
JJTUNARYEXPRESSION - Static variable in interface bsh.ParserTreeConstants
 
JJTVARIABLEDECLARATOR - Static variable in interface bsh.ParserTreeConstants
 
JJTVOID - Static variable in interface bsh.ParserTreeConstants
 
JJTWHILESTATEMENT - Static variable in interface bsh.ParserTreeConstants
 
JRemoteApplet - class bsh.util.JRemoteApplet.
A lightweight console applet for remote display of a Beanshell session.
JRemoteApplet() - Constructor for class bsh.util.JRemoteApplet
 

K

keyPressed(KeyEvent) - Method in class bsh.util.JConsole
 
keyPressed(KeyEvent) - Method in class bsh.util.AWTConsole
 
keyReleased(KeyEvent) - Method in class bsh.util.JConsole
 
keyReleased(KeyEvent) - Method in class bsh.util.AWTConsole
 
keyTyped(KeyEvent) - Method in class bsh.util.JConsole
 
keyTyped(KeyEvent) - Method in class bsh.util.AWTConsole
 

L

LabeledStatement() - Method in class bsh.Parser
 
LBRACE - Static variable in interface bsh.ParserConstants
 
LBRACKET - Static variable in interface bsh.ParserConstants
 
LE - Static variable in interface bsh.ParserConstants
 
LETTER - Static variable in interface bsh.ParserConstants
 
LEX - Static variable in interface bsh.ParserConstants
 
lexStateNames - Static variable in class bsh.ParserTokenManager
 
LHSPrimaryExpression() - Method in class bsh.Parser
 
LHSPrimaryPrefix() - Method in class bsh.Parser
The method invocation is here to force this to an object type in order to simplify the suffix processing.
LHSPrimarySuffix() - Method in class bsh.Parser
 
Line() - Method in class bsh.Parser
 
Literal() - Method in class bsh.Parser
 
loadClass(String, boolean) - Method in class bsh.classpath.BshClassLoader
This modification allows us to reload classes which are in the Java VM user classpath.
loadClassFromFile(File, String) - Method in class bsh.classpath.DiscreteFilesClassLoader
 
loadDefaultImports() - Method in class bsh.NameSpace
Import standard packages.
LONG - Static variable in interface bsh.ParserConstants
 
lookingAhead - Variable in class bsh.Parser
 
LPAREN - Static variable in interface bsh.ParserConstants
 
LSHIFT - Static variable in interface bsh.ParserConstants
 
LSHIFTASSIGN - Static variable in interface bsh.ParserConstants
 
LSHIFTASSIGNX - Static variable in interface bsh.ParserConstants
 
LSHIFTX - Static variable in interface bsh.ParserConstants
 
LT - Static variable in interface bsh.ParserConstants
 
LTX - Static variable in interface bsh.ParserConstants
 

M

main(String[]) - Static method in class bsh.Parser
 
main(String[]) - Static method in class bsh.Interpreter
Run the text only interpreter on the command line or specify a file.
main(String[]) - Static method in class bsh.Console
 
main(String[]) - Static method in class bsh.Remote
 
main(String[]) - Static method in class bsh.classpath.BshClassPath
 
main(String[]) - Static method in class bsh.util.Httpd
 
main(String[]) - Static method in class bsh.util.ClassBrowser
 
main(String[]) - Static method in class bsh.util.AWTConsole
 
maxCommonPrefix(String, String) - Static method in class bsh.StringUtil
 
MethodDeclaration() - Method in class bsh.Parser
THE JAVA LANGUAGE GRAMMAR STARTS HERE *
MethodDeclarationLookahead() - Method in class bsh.Parser
 
MethodDeclarationTypeLookahead() - Method in class bsh.Parser
 
MethodInvocation() - Method in class bsh.Parser
 
methodString(String, Class[]) - Static method in class bsh.StringUtil
 
MINUS - Static variable in interface bsh.ParserConstants
 
MINUSASSIGN - Static variable in interface bsh.ParserConstants
 
MOD - Static variable in interface bsh.ParserConstants
 
MODASSIGN - Static variable in interface bsh.ParserConstants
 
mouseClicked(MouseEvent) - Method in class bsh.util.JConsole
 
mouseEntered(MouseEvent) - Method in class bsh.util.JConsole
 
mouseExited(MouseEvent) - Method in class bsh.util.JConsole
 
mousePressed(MouseEvent) - Method in class bsh.util.JConsole
 
mouseReleased(MouseEvent) - Method in class bsh.util.JConsole
 
MULTI_LINE_COMMENT - Static variable in interface bsh.ParserConstants
 
MultiplicativeExpression() - Method in class bsh.Parser
 

N

name - Variable in class bsh.NameSpace
 
NameCompletion - interface bsh.util.NameCompletion.
The interface for name completion.
NameCompletionTable - class bsh.util.NameCompletionTable.
NameCompletionTable is a utility that implements simple name completion for a collection of names, NameSources, and other NameCompletionTables.
NameCompletionTable() - Constructor for class bsh.util.NameCompletionTable
 
NameSource - interface bsh.NameSource.
This interface supports name completion, which is used primarily for command line tools, etc.
NameSource.Listener - interface bsh.NameSource.Listener.
 
nameSourceChanged(NameSource) - Method in interface bsh.NameSource.Listener
 
NameSpace - class bsh.NameSpace.
A namespace in which methods and variables live.
NameSpace(NameSpace, String) - Constructor for class bsh.NameSpace
 
NameSpace(String) - Constructor for class bsh.NameSpace
 
nameSpaceChanged() - Method in class bsh.NameSpace
Clear all cached classes and names
NE - Static variable in interface bsh.ParserConstants
 
NEW - Static variable in interface bsh.ParserConstants
 
noExitOnEOF - Variable in class bsh.Interpreter
Specify whether we override exit on EOF as normally done in iteractive mode.
NONPRINTABLE - Static variable in interface bsh.ParserConstants
 
NULL - Static variable in interface bsh.ParserConstants
 
NULL - Static variable in class bsh.Primitive
 
NullLiteral() - Method in class bsh.Parser
 
numberValue() - Method in class bsh.Primitive
 

O

OCTAL_LITERAL - Static variable in interface bsh.ParserConstants
 
ORASSIGN - Static variable in interface bsh.ParserConstants
 
ORASSIGNX - Static variable in interface bsh.ParserConstants
 

P

paintComponent(Graphics) - Method in class bsh.util.BshCanvas
 
Parser - class bsh.Parser.
This is the BeanShell parser.
Parser(InputStream) - Constructor for class bsh.Parser
 
Parser(ParserTokenManager) - Constructor for class bsh.Parser
 
Parser(Reader) - Constructor for class bsh.Parser
 
ParserConstants - interface bsh.ParserConstants.
 
ParserTokenManager - class bsh.ParserTokenManager.
 
ParserTokenManager(ASCII_UCodeESC_CharStream) - Constructor for class bsh.ParserTokenManager
 
ParserTokenManager(ASCII_UCodeESC_CharStream, int) - Constructor for class bsh.ParserTokenManager
 
ParserTreeConstants - interface bsh.ParserTreeConstants.
 
pathToFile(String) - Method in class bsh.Interpreter
Localize a path to the file name based on the bsh.cwd interpreter working directory.
plainClassForName(String) - Static method in class bsh.BshClassManager
Perform a plain Class.forName() or call the externally provided class loader.
PLUS - Static variable in interface bsh.ParserConstants
 
PLUSASSIGN - Static variable in interface bsh.ParserConstants
 
pop() - Method in class bsh.CallStack
 
popNode() - Method in class bsh.Parser
 
PostfixExpression() - Method in class bsh.Parser
 
PreDecrementExpression() - Method in class bsh.Parser
 
PreIncrementExpression() - Method in class bsh.Parser
 
prependMessage(String) - Method in class bsh.EvalError
Prepend the message if it is non-null.
PrimaryExpression() - Method in class bsh.Parser
 
PrimaryPrefix() - Method in class bsh.Parser
 
PrimarySuffix() - Method in class bsh.Parser
 
Primitive - class bsh.Primitive.
Wrapper for primitive types in Bsh.
Primitive(boolean) - Constructor for class bsh.Primitive
 
Primitive(Boolean) - Constructor for class bsh.Primitive
 
Primitive(byte) - Constructor for class bsh.Primitive
 
Primitive(Byte) - Constructor for class bsh.Primitive
 
Primitive(char) - Constructor for class bsh.Primitive
 
Primitive(Character) - Constructor for class bsh.Primitive
 
Primitive(double) - Constructor for class bsh.Primitive
 
Primitive(Double) - Constructor for class bsh.Primitive
 
Primitive(float) - Constructor for class bsh.Primitive
 
Primitive(Float) - Constructor for class bsh.Primitive
 
Primitive(int) - Constructor for class bsh.Primitive
 
Primitive(Integer) - Constructor for class bsh.Primitive
 
Primitive(long) - Constructor for class bsh.Primitive
 
Primitive(Long) - Constructor for class bsh.Primitive
 
Primitive(Number) - Constructor for class bsh.Primitive
 
Primitive(short) - Constructor for class bsh.Primitive
 
Primitive(Short) - Constructor for class bsh.Primitive
 
PrimitiveType() - Method in class bsh.Parser
 
print(Icon) - Method in class bsh.util.JConsole
 
print(Object) - Method in class bsh.util.JConsole
Prints the primitive type "float" (needed because of float->double coercion weirdness) public void println(float f) { println(String.valueOf(f)); }
print(Object, Color) - Method in class bsh.util.JConsole
 
print(Object, Font) - Method in class bsh.util.JConsole
Prints the primitive type "float" (needed because of float->double coercion weirdness) public void print(float f) { print(String.valueOf(f)); }
print(Object, Font, Color) - Method in class bsh.util.JConsole
 
print(Object, String, int, Color) - Method in class bsh.util.JConsole
 
print(Object, String, int, Color, boolean, boolean, boolean) - Method in class bsh.util.JConsole
 
print(String) - Method in class bsh.Interpreter
 
print(String) - Method in interface bsh.ConsoleInterface
 
print(String) - Method in class bsh.util.JConsole
 
print(String) - Method in class bsh.util.AWTConsole
 
print(String, Color) - Method in class bsh.util.JConsole
 
print(String, Color) - Method in interface bsh.util.GUIConsoleInterface
 
print(String, Color) - Method in class bsh.util.AWTConsole
 
println() - Method in class bsh.util.JConsole
Prints "\\n" (i.e.
println(Icon) - Method in class bsh.util.JConsole
 
println(Object) - Method in class bsh.util.JConsole
 
println(String) - Method in class bsh.Interpreter
 
println(String) - Method in interface bsh.ConsoleInterface
 
println(String) - Method in class bsh.util.JConsole
 
println(String) - Method in class bsh.util.AWTConsole
 
printStackTrace() - Method in class bsh.TargetError
 
printStackTrace(boolean, PrintStream) - Method in class bsh.TargetError
 
printStackTrace(PrintStream) - Method in class bsh.TargetError
 
printTargetError(Throwable) - Method in class bsh.TargetError
Generate a printable string showing the wrapped target exception.
PRIVATE - Static variable in interface bsh.ParserConstants
 
propertyChange(PropertyChangeEvent) - Method in class bsh.util.JConsole
 
PROTECTED - Static variable in interface bsh.ParserConstants
 
prune() - Method in class bsh.NameSpace
Used for serialization
PUBLIC - Static variable in interface bsh.ParserConstants
 
push(NameSpace) - Method in class bsh.CallStack
 
put(String, File) - Method in class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
 

R

RBRACE - Static variable in interface bsh.ParserConstants
 
RBRACKET - Static variable in interface bsh.ParserConstants
 
read() - Method in class bsh.util.JConsole.BlockingPipedInputStream
 
redirectOutputToFile(String) - Static method in class bsh.Interpreter
 
ReflectManager - class bsh.ReflectManager.
ReflectManager is a dynamically loaded extension that supports extended reflection features supported by JDK1.2 and greater.
ReflectManager() - Constructor for class bsh.ReflectManager
 
ReflectManagerImpl - class bsh.reflect.ReflectManagerImpl.
This is the implementation of: ReflectManager - a dynamically loaded extension that supports extended reflection features supported by JDK1.2 and greater.
ReflectManagerImpl() - Constructor for class bsh.reflect.ReflectManagerImpl
 
ReInit(ASCII_UCodeESC_CharStream) - Method in class bsh.ParserTokenManager
 
ReInit(ASCII_UCodeESC_CharStream, int) - Method in class bsh.ParserTokenManager
 
ReInit(InputStream) - Method in class bsh.Parser
 
ReInit(ParserTokenManager) - Method in class bsh.Parser
 
ReInit(Reader) - Method in class bsh.Parser
 
RelationalExpression() - Method in class bsh.Parser
 
reloadAllClasses() - Method in class bsh.BshClassManager
Overlay the entire path with a new class loader.
reloadAllClasses() - Method in class bsh.classpath.ClassManagerImpl
Overlay the entire path with a new class loader.
reloadClasses(String[]) - Method in class bsh.BshClassManager
Reloading classes means creating a new classloader and using it whenever we are asked for classes in the appropriate space.
reloadClasses(String[]) - Method in class bsh.classpath.ClassManagerImpl
Reloading classes means creating a new classloader and using it whenever we are asked for classes in the appropriate space.
reloadPackage(String) - Method in class bsh.BshClassManager
Reload all classes in the specified package: e.g.
reloadPackage(String) - Method in class bsh.classpath.ClassManagerImpl
Reload all classes in the specified package: e.g.
Remote - class bsh.Remote.
Remoe executor class.
Remote() - Constructor for class bsh.Remote
 
removeInnerClassNames(Collection) - Static method in class bsh.classpath.BshClassPath
Return a new collection without any inner class names
removeListener(BshClassManager.Listener) - Method in class bsh.BshClassManager
 
removeListener(BshClassManager.Listener) - Method in class bsh.classpath.ClassManagerImpl
 
removeListener(ClassPathListener) - Method in class bsh.classpath.BshClassPath
 
reset() - Method in class bsh.BshClassManager
Clear all loaders and start over.
reset() - Method in class bsh.classpath.ClassManagerImpl
Clear all loaders and start over.
reThrow(SimpleNode) - Method in class bsh.EvalError
Re-throw the eval error, specifying the node.
reThrow(String) - Method in class bsh.EvalError
Re-throw the eval error, prepending msg to the message.
reThrow(String, SimpleNode) - Method in class bsh.EvalError
Re-throw the eval error, prefixing msg to the message and specifying the node.
RETURN - Static variable in interface bsh.ParserConstants
 
ReturnStatement() - Method in class bsh.Parser
 
ReturnType() - Method in class bsh.Parser
 
RMSetAccessible(Object) - Static method in class bsh.ReflectManager
Reflect Manager Set Accessible.
RPAREN - Static variable in interface bsh.ParserConstants
 
RSIGNEDSHIFT - Static variable in interface bsh.ParserConstants
 
RSIGNEDSHIFTASSIGN - Static variable in interface bsh.ParserConstants
 
RSIGNEDSHIFTASSIGNX - Static variable in interface bsh.ParserConstants
 
RSIGNEDSHIFTX - Static variable in interface bsh.ParserConstants
 
run() - Method in class bsh.Interpreter
Run interactively.
run() - Method in class bsh.This
 
run() - Method in class bsh.util.Sessiond
 
run() - Method in class bsh.util.JConsole
 
run() - Method in class bsh.util.Httpd
 
run() - Method in class bsh.util.AWTConsole
 
RUNSIGNEDSHIFT - Static variable in interface bsh.ParserConstants
 
RUNSIGNEDSHIFTASSIGN - Static variable in interface bsh.ParserConstants
 
RUNSIGNEDSHIFTASSIGNX - Static variable in interface bsh.ParserConstants
 
RUNSIGNEDSHIFTX - Static variable in interface bsh.ParserConstants
 

S

SEMICOLON - Static variable in interface bsh.ParserConstants
 
Sessiond - class bsh.util.Sessiond.
BeanShell remote session server.
Sessiond(NameSpace, int) - Constructor for class bsh.util.Sessiond
 
set(int, NameSpace) - Method in class bsh.CallStack
This is kind of crazy, but used by the setNameSpace command.
set(String, boolean) - Method in class bsh.Interpreter
 
set(String, double) - Method in class bsh.Interpreter
 
set(String, float) - Method in class bsh.Interpreter
 
set(String, int) - Method in class bsh.Interpreter
 
set(String, long) - Method in class bsh.Interpreter
 
set(String, Object) - Method in class bsh.Interpreter
Assign the value to the name.
setAccessibility(boolean) - Static method in class bsh.Capabilities
 
setAccessible(Object) - Method in class bsh.ReflectManager
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.
setAccessible(Object) - Method in class bsh.reflect.ReflectManagerImpl
Set a java.lang.reflect Field, Method, Constructor, or Array of accessible objects to accessible mode.
setBounds(int, int, int, int) - Method in class bsh.util.BshCanvas
 
setCaretPosition(int) - Method in class bsh.util.AWTConsole
 
setClassLoader(ClassLoader) - Method in class bsh.Interpreter
Set an external class loader to be used for all basic class loading in BeanShell.
setClassLoader(ClassLoader) - Static method in class bsh.BshClassManager
Set an external class loader.
setClassPath(URL[]) - Method in class bsh.BshClassManager
Set a new base classpath and create a new base classloader.
setClassPath(URL[]) - Method in class bsh.classpath.ClassManagerImpl
Set a new base classpath and create a new base classloader.
setConsole(ConsoleInterface) - Method in class bsh.Interpreter
Attach a console Note: this method is incomplete.
setErr(PrintStream) - Method in class bsh.Interpreter
 
setFont(Font) - Method in class bsh.util.JConsole
 
setFrame(JFrame) - Method in class bsh.util.ClassBrowser
 
setFrame(JInternalFrame) - Method in class bsh.util.ClassBrowser
 
setMessage(String) - Method in class bsh.EvalError
 
setMethod(String, BshMethod) - Method in class bsh.NameSpace
Note: this is primarily for internal use.
setName(String) - Method in class bsh.NameSpace
 
setNameCompletion(NameCompletion) - Method in class bsh.util.JConsole
 
setNameCompletion(NameCompletion) - Method in interface bsh.util.GUIConsoleInterface
 
setNameSpace(NameSpace) - Method in class bsh.Interpreter
Set the global namespace for this interpreter.
setOut(PrintStream) - Method in class bsh.Interpreter
 
setParent(NameSpace) - Method in class bsh.NameSpace
 
setPath(URL[]) - Method in class bsh.classpath.BshClassPath
 
setRetainComments(boolean) - Method in class bsh.Parser
 
setStrictJava(boolean) - Method in class bsh.Interpreter
Set strict Java mode on or off.
setStyle(AttributeSet) - Method in class bsh.util.JConsole
 
setStyle(AttributeSet, boolean) - Method in class bsh.util.JConsole
 
setStyle(Color) - Method in class bsh.util.JConsole
 
setStyle(Font) - Method in class bsh.util.JConsole
 
setStyle(Font, Color) - Method in class bsh.util.JConsole
 
setStyle(String, int, Color) - Method in class bsh.util.JConsole
 
setStyle(String, int, Color, boolean, boolean, boolean) - Method in class bsh.util.JConsole
 
setTypedVariable(String, Class, Object, boolean) - Method in class bsh.NameSpace
Set the typed variable with the value.
setVariable(String, boolean) - Method in class bsh.Interpreter
Deprecated. does not properly evaluate compound names
setVariable(String, float) - Method in class bsh.Interpreter
Deprecated. does not properly evaluate compound names
setVariable(String, int) - Method in class bsh.Interpreter
Deprecated. does not properly evaluate compound names
setVariable(String, Object) - Method in class bsh.NameSpace
Deprecated. Use the form specifying strict java. This method assumes strict java is false.
setVariable(String, Object) - Method in class bsh.Interpreter
Deprecated. does not properly evaluate compound names
setVariable(String, Object, boolean) - Method in class bsh.NameSpace
Set a variable in this namespace.
setWaitFeedback(boolean) - Method in class bsh.util.JConsole
 
setWaitFeedback(boolean) - Method in interface bsh.util.GUIConsoleInterface
e.g.
ShiftExpression() - Method in class bsh.Parser
 
SHORT - Static variable in interface bsh.ParserConstants
 
SINGLE_LINE_COMMENT - Static variable in interface bsh.ParserConstants
 
SLASH - Static variable in interface bsh.ParserConstants
 
SLASHASSIGN - Static variable in interface bsh.ParserConstants
 
source(String) - Method in class bsh.Interpreter
Read text from fileName and eval it.
source(String, NameSpace) - Method in class bsh.Interpreter
Read text from fileName and eval it.
split(String, String) - Static method in class bsh.StringUtil
 
splitClassname(String) - Static method in class bsh.classpath.BshClassPath
Split class name into package and name
STAR - Static variable in interface bsh.ParserConstants
 
STARASSIGN - Static variable in interface bsh.ParserConstants
 
startClassMapping() - Method in interface bsh.classpath.BshClassPath.MappingFeedback
 
startSplashScreen() - Static method in class bsh.util.Util
 
Statement() - Method in class bsh.Parser
 
StatementExpression() - Method in class bsh.Parser
 
StatementExpressionList() - Method in class bsh.Parser
 
STATIC - Static variable in interface bsh.ParserConstants
 
STRING_LITERAL - Static variable in interface bsh.ParserConstants
 
StringUtil - class bsh.StringUtil.
 
StringUtil() - Constructor for class bsh.StringUtil
 
swap(NameSpace) - Method in class bsh.CallStack
Swap in the value as the new top of the stack and return the old value.
SWITCH - Static variable in interface bsh.ParserConstants
 
SwitchLabel() - Method in class bsh.Parser
 
SwitchStatement() - Method in class bsh.Parser
 
SwitchTo(int) - Method in class bsh.ParserTokenManager
 

T

TargetError - exception bsh.TargetError.
TargetError is an EvalError that wraps an exception thrown by the script (or by code called from the script).
TargetError(String, Throwable) - Constructor for class bsh.TargetError
If you're going to use this please catch and re-throw the exception in an AST and add the node...
TargetError(String, Throwable, SimpleNode, boolean) - Constructor for class bsh.TargetError
 
TargetError(Throwable, SimpleNode) - Constructor for class bsh.TargetError
 
text - Variable in class bsh.BSHFormalComment
 
This - class bsh.This.
'This' is the type of bsh scripted objects.
This(NameSpace, Interpreter) - Constructor for class bsh.This
 
THROW - Static variable in interface bsh.ParserConstants
 
ThrowStatement() - Method in class bsh.Parser
 
TILDE - Static variable in interface bsh.ParserConstants
 
toArray() - Method in class bsh.CallStack
 
toFront() - Method in class bsh.util.ClassBrowser
 
token - Variable in class bsh.Parser
 
token_source - Variable in class bsh.Parser
 
tokenImage - Static variable in interface bsh.ParserConstants
 
top() - Method in class bsh.CallStack
 
toString() - Method in class bsh.NameSpace
 
toString() - Method in class bsh.EvalError
 
toString() - Method in class bsh.CallStack
 
toString() - Method in class bsh.BshMethod
 
toString() - Method in class bsh.This
 
toString() - Method in class bsh.TargetError
 
toString() - Method in class bsh.Primitive
 
toString() - Method in class bsh.classpath.DiscreteFilesClassLoader
 
toString() - Method in class bsh.classpath.BshClassPath
 
toString() - Method in class bsh.classpath.BshClassPath.JarClassSource
 
toString() - Method in class bsh.classpath.BshClassPath.DirClassSource
 
toString() - Method in class bsh.util.JConsole
 
toString() - Method in class bsh.util.AWTConsole
 
TRACE - Static variable in class bsh.Interpreter
 
TRUE - Static variable in interface bsh.ParserConstants
 
TRY - Static variable in interface bsh.ParserConstants
 
TryStatement() - Method in class bsh.Parser
 
Type() - Method in class bsh.Parser
 
type(int, char, int) - Method in class bsh.util.AWTConsole
 
TypedVariableDeclaration() - Method in class bsh.Parser
Declared a typed variable.

U

UnaryExpression() - Method in class bsh.Parser
 
UnaryExpressionNotPlusMinus() - Method in class bsh.Parser
 
unaryOperation(Primitive, int) - Static method in class bsh.Primitive
 
unset(String) - Method in class bsh.Interpreter
Unassign the variable name.
unwrap(Object) - Static method in class bsh.Primitive
Unwrap primitive values and map voids to nulls.
unwrapVariable(Object) - Method in class bsh.NameSpace
Unwrap a typed variable to its value.
Util - class bsh.util.Util.
Misc utilities for the bsh.util package.
Util() - Constructor for class bsh.util.Util
 

V

valueChanged(ListSelectionEvent) - Method in class bsh.util.ClassBrowser
 
VariableDeclarator() - Method in class bsh.Parser
 
VariableInitializer() - Method in class bsh.Parser
 
VERSION - Static variable in class bsh.Interpreter
 
VOID - Static variable in interface bsh.ParserConstants
 
VOID - Static variable in class bsh.Primitive
VOID means "no type".
VoidLiteral() - Method in class bsh.Parser
 

W

WHILE - Static variable in interface bsh.ParserConstants
 
WhileStatement() - Method in class bsh.Parser
 

X

XOR - Static variable in interface bsh.ParserConstants
 
XORASSIGN - Static variable in interface bsh.ParserConstants
 
xPrintTargetError(Throwable) - Method in class bsh.TargetError
Extended form of print target error.

_

_DEFAULT - Static variable in interface bsh.ParserConstants
 

A B C D E F G H I J K L M N O P R S T U V W X _

© 2000 pat@pat.net :-)