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 - Variable in class bsh.BshClassManager
Global cache for things we know are classes.
absoluteNonClasses - Variable in class bsh.BshClassManager
Global cache for things we know are *not* classes.
ABSTRACT - Static variable in interface bsh.ParserConstants
 
actionPerformed(ActionEvent) - Method in class bsh.util.JConsole
 
add_escapes(String) - Method in class bsh.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
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
 
addComponent(BshClassPath) - Method in class bsh.classpath.BshClassPath
Add the specified BshClassPath as a component of our path.
addEscapes(String) - Static method in class bsh.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
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.
addURL(URL) - Method in class bsh.classpath.BshClassLoader
 
adjustBeginLineColumn(int, int) - Method in class bsh.JavaCharStream
Method to adjust line and column numbers for the start of a token.
AdjustBuffSize() - Method in class bsh.JavaCharStream
 
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

backup(int) - Method in class bsh.JavaCharStream
 
BANG - Static variable in interface bsh.ParserConstants
 
beginColumn - Variable in class bsh.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class bsh.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Method in class bsh.JavaCharStream
 
binaryOperation(Object, Object, int) - Static method in class bsh.Primitive
Perform a binary operation on two Primitives or wrapper types.
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(BshClassManager) - Constructor for class bsh.classpath.BshClassLoader
For use by children
BshClassLoader(BshClassManager, BshClassPath) - Constructor for class bsh.classpath.BshClassLoader
 
BshClassLoader(BshClassManager, 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
 
BshIterator - interface bsh.BshIterator.
An interface implemented by classes wrapping instances of iterators, enumerations, collections, etc.
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
 
bufcolumn - Variable in class bsh.JavaCharStream
 
buffer - Variable in class bsh.JavaCharStream
 
bufline - Variable in class bsh.JavaCharStream
 
bufpos - Variable in class bsh.JavaCharStream
 
BYTE - Static variable in interface bsh.ParserConstants
 

C

cacheClassInfo(String, Class) - Method in class bsh.BshClassManager
Cache info about whether name is a class or not.
cacheResolvedMethod(Class, Object[], Method) - Method in class bsh.BshClassManager
Cache a resolved (possibly overloaded) method based on the argument types used to invoke it, subject to classloader change.
CallStack - class bsh.CallStack.
A stack of NameSpaces representing the call path.
CallStack() - Constructor for class bsh.CallStack
 
CallStack(NameSpace) - 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
 
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
 
ClassBrowser(BshClassManager) - 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) - Method in class bsh.BshClassManager
 
classForName(String) - Method in class bsh.BshClassManager
Load the specified class by name, taking into account added classpath and reloaded classes, etc.
classForName(String) - Method in class bsh.classpath.ClassManagerImpl
 
ClassIdentifier - class bsh.ClassIdentifier.
 
ClassIdentifier(Class) - Constructor for class bsh.ClassIdentifier
 
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 class bsh.util.ClassBrowser
 
classPathChanged() - Method in interface bsh.classpath.ClassPathListener
 
classPathChanged() - Method in class bsh.classpath.BshClassPath
 
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 caches in BshClassManager
close() - Method in class bsh.util.JConsole.BlockingPipedInputStream
 
cmUnavailable() - Static method in class bsh.BshClassManager
 
CollectionManager - class bsh.CollectionManager.
The default CollectionManager (which remains Java 1.1 compatible) supports iteration over objects of type: Enumeration, Vector, String, StringBuffer and array.
CollectionManager.BasicBshIterator - class bsh.CollectionManager.BasicBshIterator.
An implementation that works with JDK 1.1
CollectionManager.BasicBshIterator(Object) - Constructor for class bsh.CollectionManager.BasicBshIterator
Construct a basic BasicBshIterator
CollectionManager() - Constructor for class bsh.CollectionManager
 
COLON - Static variable in interface bsh.ParserConstants
 
column - Variable in class bsh.JavaCharStream
 
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
 
copy() - Method in class bsh.CallStack
Occasionally we need to freeze the callstack for error reporting purposes, etc.
createClassManager() - Static method in class bsh.BshClassManager
Create a new instance of the class manager.
createEnumeration(Object) - Method in class bsh.CollectionManager.BasicBshIterator
Create an enumeration over the given object
curChar - Variable in class bsh.ParserTokenManager
 
currentToken - Variable in class bsh.ParseException
This is the last token that has been consumed successfully.

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.
debugStream - Variable in class bsh.ParserTokenManager
 
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(BshClassManager, DiscreteFilesClassLoader.ClassSourceMap) - Constructor for class bsh.classpath.DiscreteFilesClassLoader
 
DO - Static variable in interface bsh.ParserConstants
 
Done() - Method in class bsh.JavaCharStream
 
DoStatement() - Method in class bsh.Parser
 
doSuperImport() - 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
 
endColumn - Variable in class bsh.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class bsh.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endSplashScreen() - Static method in class bsh.util.Util
 
EnhancedForStatement() - Method in class bsh.Parser
 
EOF - Static variable in interface bsh.ParserConstants
 
eol - Variable in class bsh.ParseException
The end of line string for this machine.
EQ - Static variable in interface bsh.ParserConstants
 
EqualityExpression() - Method in class bsh.Parser
 
equals(Object) - Method in class bsh.Primitive
Primitives compare equal with other Primitives containing an equal wrapped value.
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, SimpleNode, CallStack) - Constructor for class bsh.EvalError
 
evalOnly - Variable in class bsh.Interpreter
 
ExclusiveOrExpression() - Method in class bsh.Parser
 
ExpandBuff(boolean) - Method in class bsh.JavaCharStream
 
expectedTokenSequences - Variable in class bsh.ParseException
Each entry in this array is an array of integers.
EXPONENT - Static variable in interface bsh.ParserConstants
 
Expression() - Method in class bsh.Parser
 

F

FALSE - Static variable in interface bsh.ParserConstants
 
FillBuff() - Method in class bsh.JavaCharStream
 
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
Deprecated. See #getArgumentTypes()
getArgumentTypes() - Method in class bsh.BshMethod
Get the argument types of this method.
getAssignableForm(Object, Class) - Static method in class bsh.NameSpace
Determine if the RHS object can be assigned to the LHS type:

1) As in a legal Java assignment (as determined by Reflect.isJavaAssignable()) through widening or promotion

2) Via special BeanShell extensions like interface generation or (gag) numeric-style promotion of primitive wrappers (e.g.

getBaseLoader() - Method in class bsh.classpath.ClassManagerImpl
 
getBeginColumn() - Method in class bsh.JavaCharStream
 
getBeginLine() - Method in class bsh.JavaCharStream
 
getBootClassPath() - Static method in class bsh.classpath.BshClassPath
Get the boot path including the lib/rt.jar if possible.
getBshIterator(Object) - Method in class bsh.CollectionManager
 
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.
getClassManager() - Method in class bsh.NameSpace
 
getClassManager() - Method in class bsh.Interpreter
Get the class manager associated with this interpreter (the BshClassManager of this interpreter's global namespace).
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
getCollectionManager() - Static method in class bsh.CollectionManager
 
getColumn() - Method in class bsh.JavaCharStream
Deprecated.  
getCommand(String, Class[], Interpreter) - Method in class bsh.NameSpace
A command is a scripted method or compiled command class implementing a specified method signature.
getDefaultValue(Class) - Static method in class bsh.Primitive
Get the appropriate default value per JLS 4.5.4
getDir() - Method in class bsh.classpath.BshClassPath.DirClassSource
 
getEndColumn() - Method in class bsh.JavaCharStream
 
getEndLine() - Method in class bsh.JavaCharStream
 
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.ParseException
 
getErrorLineNumber() - Method in class bsh.EvalError
 
getErrorSourceFile() - Method in class bsh.ParseException
 
getErrorSourceFile() - Method in class bsh.EvalError
 
getErrorText() - Method in class bsh.ParseException
 
getErrorText() - Method in class bsh.EvalError
 
getFromMap(Object, Object) - Method in class bsh.CollectionManager
 
getFullPath() - Method in class bsh.classpath.BshClassPath
Get the full path including component paths.
getGlobal() - Method in class bsh.NameSpace
 
GetImage() - Method in class bsh.JavaCharStream
 
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.This
Get a version of the interface.
getInterface(Class) - Method in class bsh.Interpreter
Get a reference to the interpreter (global namespace), cast to the specified interface type.
getInvocationLine() - Method in class bsh.NameSpace
 
getInvocationText() - Method in class bsh.NameSpace
 
getLine() - Method in class bsh.JavaCharStream
Deprecated.  
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.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in class bsh.ParseException
 
getMessage() - Method in class bsh.EvalError
 
getMessage(boolean) - Method in class bsh.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
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.This
 
getNameSpace() - Method in class bsh.Interpreter
Get the global namespace of this interpreter.
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
Get the parent Interpreter of this interpreter, if any.
getPathComponents() - Method in class bsh.classpath.BshClassPath
Get the path components including any component paths.
getReflectManager() - Static method in class bsh.ReflectManager
Return the singleton bsh ReflectManager.
getResolvedMethod(Class, String, Object[], boolean) - Method in class bsh.BshClassManager
Return a previously cached resolved method.
getResource(String) - Method in class bsh.BshClassManager
Get a resource URL using the BeanShell classpath
getResource(String) - Method in class bsh.classpath.ClassManagerImpl
Get a resource URL using the BeanShell classpath
getResourceAsStream(String) - Method in class bsh.BshClassManager
Get a resource stream using the BeanShell classpath
getResourceAsStream(String) - Method in class bsh.classpath.ClassManagerImpl
Get a resource stream using the BeanShell classpath
getReturnType() - Method in class bsh.BshMethod
Get the return type of the method.
getScriptStackTrace() - Method in class bsh.EvalError
 
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
 
GetSuffix(int) - Method in class bsh.JavaCharStream
 
getSuper() - Method in class bsh.NameSpace
 
getTarget() - Method in class bsh.TargetError
 
getTargetClass() - Method in class bsh.ClassIdentifier
 
getToken(int) - Method in class bsh.Parser
 
getType() - Method in class bsh.Primitive
Get the corresponding primitive TYPE class for the 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
Return the primitive value stored in its java.lang wrapper class
getVariable(String) - Method in class bsh.NameSpace
Get the specified variable in this namespace or a parent namespace.
getVariable(String, boolean) - Method in class bsh.NameSpace
Get the specified variable in this namespace.
getVariableImpl(String, boolean) - Method in class bsh.NameSpace
Locate a variable and return the Variable object with optional recursion through parent name spaces.
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
 
hashCode() - Method in class bsh.Primitive
The hash of the Primitive is tied to the hash of the wrapped value but shifted so that they are not the same.
hasNext() - Method in class bsh.CollectionManager.BasicBshIterator
Returns true if and only if there are more objects available via the next() method
hasNext() - Method in interface bsh.BshIterator
Returns true if and only if there are more objects available via the next() method
hasSuperImport() - Method in class bsh.BshClassManager
A "super import" ("import *") operation has been performed.
hasSuperImport() - Method in class bsh.classpath.ClassManagerImpl
 
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(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
 
image - Variable in class bsh.Token
The string image of the token.
IMPORT - Static variable in interface bsh.ParserConstants
 
importClass(String) - Method in class bsh.NameSpace
Import a class name.
importCommands(String) - Method in class bsh.NameSpace
Import scripted or compiled BeanShell commands in the following package in the classpath.
ImportDeclaration() - Method in class bsh.Parser
 
importPackage(String) - Method in class bsh.NameSpace
subsequent imports override earlier ones
inBuf - Variable in class bsh.JavaCharStream
 
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.
input_stream - Variable in class bsh.ParserTokenManager
 
inputStream - Variable in class bsh.JavaCharStream
 
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
 
interactive - Variable in class bsh.Interpreter
 
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) - Method in class bsh.BshMethod
Invoke the declared method with the specified arguments and interpreter reference.
invoke(Object[], Interpreter, CallStack) - Method in class bsh.BshMethod
Invoke the declared method with the specified arguments, interpreter reference, and callstack.
invoke(Object[], Interpreter, CallStack, SimpleNode) - Method in class bsh.BshMethod
Invoke the bsh method with the specified args, interpreter ref, and callstack.
invokeMethod(String, Object[]) - Method in class bsh.This
Invoke specified method as 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.This
Invoke a method in this namespace with the specified args, interpreter reference, callstack, and caller info.
invokeMethod(String, Object[], Interpreter, CallStack, SimpleNode) - Method in class bsh.NameSpace
This method simply delegates to This.invokeMethod();
isArchiveFileName(String) - Static method in class bsh.classpath.BshClassPath
 
isBshIterable(Object) - Method in class bsh.CollectionManager
 
isClassFileName(String) - Static method in class bsh.classpath.BshClassPath
 
isMap(Object) - Method in class bsh.CollectionManager
 
isMethod - Variable in class bsh.NameSpace
Note that the namespace is a method body namespace.
isNumber() - Method in class bsh.Primitive
Determine if this primitive is a numeric type.

J

JavaCharStream - class bsh.JavaCharStream.
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
JavaCharStream(InputStream) - Constructor for class bsh.JavaCharStream
 
JavaCharStream(InputStream, int, int) - Constructor for class bsh.JavaCharStream
 
JavaCharStream(InputStream, int, int, int) - Constructor for class bsh.JavaCharStream
 
JavaCharStream(Reader) - Constructor for class bsh.JavaCharStream
 
JavaCharStream(Reader, int, int) - Constructor for class bsh.JavaCharStream
 
JavaCharStream(Reader, int, int, int) - Constructor for class bsh.JavaCharStream
 
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
 
jjFillToken() - Method in class bsh.ParserTokenManager
 
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
 
JJTENHANCEDFORSTATEMENT - 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
 
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
 
kind - Variable in class bsh.Token
An integer that describes the kind of this token.

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
 
LexicalError(boolean, int, int, int, String, char) - Static method in class bsh.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class bsh.ParserTokenManager
 
line - Variable in class bsh.JavaCharStream
 
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.
LOCALSCOPING - Static variable in class bsh.Interpreter
 
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.Remote
 
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.util.Httpd
 
main(String[]) - Static method in class bsh.util.ClassBrowser
 
main(String[]) - Static method in class bsh.util.AWTConsole
 
main(String[]) - Static method in class bsh.classpath.BshClassPath
 
maxCommonPrefix(String, String) - Static method in class bsh.StringUtil
 
maxNextCharInd - Variable in class bsh.JavaCharStream
 
MethodDeclaration() - Method in class bsh.Parser
 
MethodDeclarationLookahead() - Method in class bsh.Parser
It's tempting to collapse this to one like like so: [ LOOKAHEAD( { methodHasReturnType() } ) ReturnType() ] FormalParameters() "{" However this doesn't work because nested lookaheads are not evaluated during lookahead! http://www.engr.mun.ca/~theo/JavaCC-FAQ/javacc-faq.htm#tth_sEc4.9
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
 
Modifiers(int, boolean) - Method in class bsh.Parser
THE JAVA LANGUAGE GRAMMAR STARTS HERE *
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

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
 
NameList() - Method in class bsh.Parser
 
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, variables, and imports (class names) live.
NameSpace(BshClassManager, String) - Constructor for class bsh.NameSpace
 
NameSpace(NameSpace, BshClassManager, String) - Constructor for class bsh.NameSpace
 
NameSpace(NameSpace, String) - Constructor for class bsh.NameSpace
 
nameSpaceChanged() - Method in class bsh.NameSpace
Clear all cached classes and names
NATIVE - Static variable in interface bsh.ParserConstants
 
NE - Static variable in interface bsh.ParserConstants
 
NEW - Static variable in interface bsh.ParserConstants
 
newToken(int) - Static method in class bsh.Token
Returns a new Token object, by default.
next - Variable in class bsh.Token
A reference to the next regular (non-special) token from the input stream.
next() - Method in class bsh.CollectionManager.BasicBshIterator
Fetch the next object in the iteration
next() - Method in interface bsh.BshIterator
Fetch the next object in the iteration
nextCharBuf - Variable in class bsh.JavaCharStream
 
nextCharInd - Variable in class bsh.JavaCharStream
 
noClassDefFound(String, Error) - Static method in class bsh.BshClassManager
Annotate the NoClassDefFoundError with some info about the class we were trying to load.
NONPRINTABLE - Static variable in interface bsh.ParserConstants
 
normalizeClassName(Class) - Static method in class bsh.StringUtil
Hack - The real method is in Reflect.java which is not public.
nsName - Variable in class bsh.NameSpace
 
NULL - Static variable in class bsh.Primitive
 
NULL - Static variable in interface bsh.ParserConstants
 
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
 
ParseException - exception bsh.ParseException.
This exception is thrown when parse errors are encountered.
ParseException() - Constructor for class bsh.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class bsh.ParseException
 
ParseException(Token, int[][], String[]) - Constructor for class bsh.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
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(JavaCharStream) - Constructor for class bsh.ParserTokenManager
 
ParserTokenManager(JavaCharStream, 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) - Method in class bsh.BshClassManager
Perform a plain Class.forName() or call the externally provided classloader.
plainClassForName(String) - Method in class bsh.classpath.ClassManagerImpl
Delegate for bottom level implementation of Class.forName().
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.
prevCharIsCR - Variable in class bsh.JavaCharStream
 
prevCharIsLF - Variable in class bsh.JavaCharStream
 
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
 
putInMap(Object, Object, Object) - Method in class bsh.CollectionManager
 

R

RBRACE - Static variable in interface bsh.ParserConstants
 
RBRACKET - Static variable in interface bsh.ParserConstants
 
read() - Method in class bsh.util.JConsole.BlockingPipedInputStream
 
ReadByte() - Method in class bsh.JavaCharStream
 
readChar() - Method in class bsh.JavaCharStream
 
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(InputStream) - Method in class bsh.Parser
 
ReInit(InputStream) - Method in class bsh.JavaCharStream
 
ReInit(InputStream, int, int) - Method in class bsh.JavaCharStream
 
ReInit(InputStream, int, int, int) - Method in class bsh.JavaCharStream
 
ReInit(JavaCharStream) - Method in class bsh.ParserTokenManager
 
ReInit(JavaCharStream, int) - Method in class bsh.ParserTokenManager
 
ReInit(ParserTokenManager) - Method in class bsh.Parser
 
ReInit(Reader) - Method in class bsh.Parser
 
ReInit(Reader) - Method in class bsh.JavaCharStream
 
ReInit(Reader, int, int) - Method in class bsh.JavaCharStream
 
ReInit(Reader, int, int, int) - Method in class bsh.JavaCharStream
 
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.
Remote 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 classloading behavior and class caches and reset to initial state.
resolvedObjectMethods - Variable in class bsh.BshClassManager
Caches for resolved object and static methods.
resolvedStaticMethods - Variable in class bsh.BshClassManager
 
reThrow(String) - Method in class bsh.EvalError
Re-throw the error, prepending the specified message.
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.This
 
run() - Method in class bsh.Interpreter
Run interactively.
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) - 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.
setDebugStream(PrintStream) - Method in class bsh.ParserTokenManager
 
setErr(PrintStream) - Method in class bsh.Interpreter
 
setErrorSourceFile(String) - Method in class bsh.ParseException
Used to add source file info to exception
setExitOnEOF(boolean) - Method in class bsh.Interpreter
Specify whether, in interactive mode, the interpreter exits Java upon end of input.
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
Declare a variable in the local scope and set its initial value.
setVariable(String, Object, boolean) - Method in class bsh.NameSpace
Set the variable through 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.
specialConstructor - Variable in class bsh.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class bsh.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
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
 
staticFlag - Static variable in class bsh.JavaCharStream
 
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
 
SYNCHRONIZED - Static variable in interface bsh.ParserConstants
 
SynchronizedStatement() - Method in class bsh.Parser
 

T

t - Variable in class bsh.UtilTargetError
 
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, SimpleNode, CallStack, boolean) - Constructor for class bsh.TargetError
 
TargetError(Throwable, SimpleNode, CallStack) - 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
 
THROWS - 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
 
toEvalError(SimpleNode, CallStack) - Method in class bsh.UtilEvalError
 
toEvalError(String, SimpleNode, CallStack) - Method in class bsh.UtilTargetError
Override toEvalError to throw TargetError type.
toEvalError(String, SimpleNode, CallStack) - Method in class bsh.UtilEvalError
Re-throw as an eval error, prefixing msg to the message and specifying the node.
toFront() - Method in class bsh.util.ClassBrowser
 
token - Variable in class bsh.Parser
 
Token - class bsh.Token.
Describes the input token stream.
token_source - Variable in class bsh.Parser
 
Token() - Constructor for class bsh.Token
 
tokenImage - Static variable in interface bsh.ParserConstants
 
tokenImage - Variable in class bsh.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError - error bsh.TokenMgrError.
 
TokenMgrError() - Constructor for class bsh.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class bsh.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class bsh.TokenMgrError
 
top() - Method in class bsh.CallStack
 
toString() - Method in class bsh.Token
Returns the image.
toString() - Method in class bsh.This
 
toString() - Method in class bsh.TargetError
 
toString() - Method in class bsh.Primitive
 
toString() - Method in class bsh.ParseException
 
toString() - Method in class bsh.NameSpace
 
toString() - Method in class bsh.EvalError
Print the error with line number and stack trace.
toString() - Method in class bsh.ClassIdentifier
 
toString() - Method in class bsh.CallStack
 
toString() - Method in class bsh.BshMethod
 
toString() - Method in class bsh.util.JConsole
 
toString() - Method in class bsh.util.AWTConsole
 
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
 
TRACE - Static variable in class bsh.Interpreter
 
TRANSIENT - Static variable in interface bsh.ParserConstants
 
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.
unsetVariable(String) - Method in class bsh.NameSpace
Remove the variable from the namespace.
unwrap(Object) - Static method in class bsh.Primitive
Unwrap primitive values and map voids to nulls.
unwrapVariable(NameSpace.Variable) - Method in class bsh.NameSpace
Unwrap a variable to its value.
UpdateLineColumn(char) - Method in class bsh.JavaCharStream
 
Util - class bsh.util.Util.
Misc utilities for the bsh.util package.
Util() - Constructor for class bsh.util.Util
 
UtilEvalError - exception bsh.UtilEvalError.
UtilEvalError is an error corresponding to an EvalError but thrown by a utility or other class that does not have the caller context (Node) available to it.
UtilEvalError() - Constructor for class bsh.UtilEvalError
 
UtilEvalError(String) - Constructor for class bsh.UtilEvalError
 
UtilTargetError - exception bsh.UtilTargetError.
UtilTargetError is an error corresponding to a TargetError but thrown by a utility or other class that does not have the caller context (Node) available to it.
UtilTargetError(String, Throwable) - Constructor for class bsh.UtilTargetError
 
UtilTargetError(Throwable) - Constructor for class bsh.UtilTargetError
 

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 class bsh.Primitive
VOID means "no type".
VOID - Static variable in interface bsh.ParserConstants
 
VoidLiteral() - Method in class bsh.Parser
 
VOLATILE - Static variable in interface bsh.ParserConstants
 

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 :-)