- 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 in bsh
-
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 in bsh
-
The map of extended features supported by the runtime in which we live.
- Capabilities() - Constructor for class bsh.Capabilities
-
- Capabilities.Unavailable - Exception in bsh
-
An attempt was made to use an unavailable capability supported by
an optional package.
- 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
-
- checkMethodModifiers(BshMethod) - Method in class bsh.NameSpace
-
- checkVariableModifiers(String, Modifiers) - Method in class bsh.NameSpace
-
Dissallow static vars outside of a class
- CLASS - Static variable in interface bsh.ParserConstants
-
- ClassBrowser - Class in bsh.util
-
A simple class browser for the BeanShell desktop.
- ClassBrowser() - Constructor for class bsh.util.ClassBrowser
-
- ClassBrowser(BshClassManager) - Constructor for class bsh.util.ClassBrowser
-
- ClassDeclaration() - Method in class bsh.Parser
-
- classExists(String) - Method in class bsh.BshClassManager
-
- classExists(String) - Static method in class bsh.Capabilities
-
Use direct Class.forName() to test for the existence of a class.
- 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 in bsh
-
- ClassIdentifier(Class) - Constructor for class bsh.ClassIdentifier
-
- 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.
- classLoaderChanged() - Method in class bsh.NameSpace
-
Clear all cached classes and names
- ClassManagerImpl - Class in bsh.classpath
-
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.classpath.BshClassPath
-
- classPathChanged() - Method in interface bsh.classpath.ClassPathListener
-
- classPathChanged() - Method in class bsh.util.ClassBrowser
-
- ClassPathException - Exception in bsh
-
- ClassPathException(String) - Constructor for exception bsh.ClassPathException
-
- ClassPathListener - Interface in bsh.classpath
-
- ClassSource() - Constructor for class bsh.classpath.BshClassPath.ClassSource
-
- ClassSourceMap() - Constructor for class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
-
- clear() - Method in class bsh.CallStack
-
- clear() - Method in class bsh.NameSpace
-
Clear all variables, methods, and imports from this namespace.
- 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 in bsh
-
The default CollectionManager (which remains Java 1.1 compatible)
supports iteration over objects of type:
Enumeration, Vector, String, StringBuffer and array.
- CollectionManager() - Constructor for class bsh.CollectionManager
-
- CollectionManager.BasicBshIterator - Class in bsh
-
An implementation that works with JDK 1.1
- COLON - Static variable in interface bsh.ParserConstants
-
- column - Variable in class bsh.JavaCharStream
-
- COMMA - Static variable in interface bsh.ParserConstants
-
- 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.
- completeName(String) - Method in class bsh.util.NameCompletionTable
-
- ConditionalAndExpression() - Method in class bsh.Parser
-
- ConditionalExpression() - Method in class bsh.Parser
-
- ConditionalOrExpression() - Method in class bsh.Parser
-
- Console - Class in bsh
-
Console startup class.
- Console() - Constructor for class bsh.Console
-
- ConsoleInterface - Interface in bsh
-
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 exception bsh.ParseException
-
This is the last token that has been consumed successfully.
- 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
-
- ENUM - Static variable in interface bsh.ParserConstants
-
- EOF - Static variable in interface bsh.ParserConstants
-
- eol - Variable in exception 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 interface bsh.ConsoleInterface
-
- 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 class bsh.util.AWTConsole
-
- error(String) - Method in class bsh.util.JConsole
-
- errorWhileMapping(String) - Method in interface bsh.classpath.BshClassPath.MappingFeedback
-
- eval(Reader, NameSpace, String) - Method in class bsh.Interpreter
-
Spawn a non-interactive local interpreter to evaluate text in the
specified namespace.
- eval(Reader) - Method in class bsh.Interpreter
-
Evaluate the inputstream in this interpreter's global 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 in bsh
-
EvalError indicates that we cannot continue evaluating the script
or the script has thrown an exception.
- EvalError(String, SimpleNode, CallStack) - Constructor for exception bsh.EvalError
-
- evalOnly - Variable in class bsh.Interpreter
-
- ExclusiveOrExpression() - Method in class bsh.Parser
-
- ExpandBuff(boolean) - Method in class bsh.JavaCharStream
-
- expectedTokenSequences - Variable in exception 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
-
- EXTENDS - Static variable in interface bsh.ParserConstants
-
- GE - Static variable in interface bsh.ParserConstants
-
- generateParseException() - Method in class bsh.Parser
-
- get(int) - Method in class bsh.CallStack
-
zero based.
- get() - Method in class bsh.classpath.BshClassPath.AmbiguousName
-
- get(String) - Method in class bsh.classpath.DiscreteFilesClassLoader.ClassSourceMap
-
- get(String) - Method in class bsh.Interpreter
-
Get the value of the name.
- get(String, Interpreter) - Method in class bsh.NameSpace
-
Resolve name to an object through this namespace.
- getAllNames() - Method in class bsh.classpath.BshClassPath
-
- getAllNames() - Method in interface bsh.NameSource
-
- getAllNames() - Method in class bsh.NameSpace
-
Implements NameSource
- getAllNamesAux(Vector) - Method in class bsh.NameSpace
-
Helper for implementing NameSource
- 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.Interpreter
-
Get the class manager associated with this interpreter
(the BshClassManager of this interpreter's global namespace).
- getClassManager() - Method in class bsh.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.BshClassPath
-
Support for super import "*";
Get the full name associated with the unqualified name in this
classpath.
- 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.
- 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 interface bsh.ConsoleInterface
-
- getErr() - Method in class bsh.Interpreter
-
Get the error output stream associated with this interpreter.
- getErr() - Method in class bsh.util.AWTConsole
-
- getErr() - Method in class bsh.util.JConsole
-
- getErrorLineNumber() - Method in exception bsh.EvalError
-
- getErrorLineNumber() - Method in exception bsh.ParseException
-
- getErrorSourceFile() - Method in exception bsh.EvalError
-
- getErrorSourceFile() - Method in exception bsh.ParseException
-
- getErrorText() - Method in exception bsh.EvalError
-
- getErrorText() - Method in exception bsh.ParseException
-
- 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
-
Get the top level namespace or this namespace if we are the top.
- GetImage() - Method in class bsh.JavaCharStream
-
- getIn() - Method in interface bsh.ConsoleInterface
-
- getIn() - Method in class bsh.Interpreter
-
Get the input stream associated with this interpreter.
- getIn() - Method in class bsh.util.AWTConsole
-
- getIn() - Method in class bsh.util.JConsole
-
- getInputStream() - Method in class bsh.util.JConsole
-
- getInterface(Class) - Method in class bsh.Interpreter
-
Get a reference to the interpreter (global namespace), cast
to the specified interface type.
- getInterface(Class) - Method in class bsh.This
-
Get a version of this scripted object implementing the specified
interface.
- getInterface(Class[]) - Method in class bsh.This
-
Get a version of this scripted object implementing the specified
interfaces.
- 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 exception bsh.EvalError
-
- getMessage() - Method in exception bsh.ParseException
-
- getMessage(boolean) - Method in exception bsh.ParseException
-
This method has the standard behavior when this object has been
created using the standard constructors.
- getMessage() - Method in error bsh.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- 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.BshMethod
-
- getName() - Method in class bsh.NameSpace
-
- getNameSpace() - Method in class bsh.Interpreter
-
Get the global namespace of this interpreter.
- getNameSpace() - Method in class bsh.This
-
- getNextToken() - Method in class bsh.Parser
-
- getNextToken() - Method in class bsh.ParserTokenManager
-
- getOut() - Method in interface bsh.ConsoleInterface
-
- getOut() - Method in class bsh.Interpreter
-
Get the outptut stream associated with this interpreter.
- getOut() - Method in class bsh.util.AWTConsole
-
- getOut() - Method in class bsh.util.JConsole
-
- getPackagesSet() - Method in class bsh.classpath.BshClassPath
-
Get a list of all of the known packages
- getParent() - Method in class bsh.Interpreter
-
Get the parent Interpreter of this interpreter, if any.
- getParent() - Method in class bsh.NameSpace
-
Get the parent namespace.
- 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 exception 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
-
Get the parent namespace or this namespace if we are the top.
- getTarget() - Method in exception 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 in bsh.util
-
Additional capabilities of an interactive console for BeanShell.
- 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.
- IMPLEMENTS - Static variable in interface bsh.ParserConstants
-
- 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.AWTDemoApplet
-
- init() - Method in class bsh.util.AWTRemoteApplet
-
- init() - Method in class bsh.util.ClassBrowser
-
- init() - Method in class bsh.util.JDemoApplet
-
- init() - Method in class bsh.util.JRemoteApplet
-
- inNativeCode() - Method in exception 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 in bsh
-
The BeanShell script interpreter.
- Interpreter(Reader, PrintStream, PrintStream, boolean, NameSpace, Interpreter, String) - Constructor for class bsh.Interpreter
-
The main constructor.
- Interpreter(Reader, PrintStream, PrintStream, boolean, NameSpace) - Constructor for class bsh.Interpreter
-
- Interpreter(Reader, PrintStream, PrintStream, boolean) - Constructor for class bsh.Interpreter
-
- Interpreter(ConsoleInterface, NameSpace) - Constructor for class bsh.Interpreter
-
Construct a new interactive interpreter attached to the specified
console using the specified parent namespace.
- Interpreter(ConsoleInterface) - Constructor for class bsh.Interpreter
-
Construct a new interactive interpreter attached to the specified
console.
- Interpreter() - Constructor for class bsh.Interpreter
-
Create an interpreter for evaluation only.
- InterpreterError - Exception in bsh
-
An internal error in the interpreter has occurred.
- InterpreterError(String) - Constructor for exception 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(Object[], Interpreter, CallStack, SimpleNode, boolean) - Method in class bsh.BshMethod
-
Invoke the bsh method with the specified args, interpreter ref,
and callstack.
- 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
-
This method simply delegates to This.invokeMethod();
- 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, CallStack, SimpleNode) - Method in class bsh.This
-
Invoke a method in this namespace with the specified args,
interpreter reference, callstack, and caller info.
- 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
-
- isNumber() - Method in class bsh.Primitive
-
Determine if this primitive is a numeric type.
- isVisible(NameSpace.Variable) - Method in class bsh.NameSpace
-
This is a hook to allow ClassNameSpace to add functionality here.
- isVisible(BshMethod) - Method in class bsh.NameSpace
-
This is a hook to allow ClassNameSpace to add functionality to
getMethod()
- NameCompletion - Interface in bsh.util
-
The interface for name completion.
- NameCompletionTable - Class in bsh.util
-
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 in bsh
-
This interface supports name completion, which is used primarily for
command line tools, etc.
- NameSource.Listener - Interface in bsh
-
- nameSourceChanged(NameSource) - Method in interface bsh.NameSource.Listener
-
- NameSpace - Class in bsh
-
A namespace in which methods, variables, and imports (class names) live.
- NameSpace(NameSpace, String) - Constructor for class bsh.NameSpace
-
- NameSpace(BshClassManager, String) - Constructor for class bsh.NameSpace
-
- NameSpace(NameSpace, BshClassManager, 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() - Method in interface bsh.BshIterator
-
Fetch the next object in the iteration
- next() - Method in class bsh.CollectionManager.BasicBshIterator
-
Fetch the next object in the iteration
- next - Variable in class bsh.Token
-
A reference to the next regular (non-special) token from the input
stream.
- 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
-
The name of this namespace.
- 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
-
- 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 in bsh
-
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 in bsh.reflect
-
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(Reader, int, int, int) - Method in class bsh.JavaCharStream
-
- ReInit(Reader, int, int) - Method in class bsh.JavaCharStream
-
- ReInit(Reader) - Method in class bsh.JavaCharStream
-
- ReInit(InputStream, int, int, int) - Method in class bsh.JavaCharStream
-
- ReInit(InputStream, int, int) - Method in class bsh.JavaCharStream
-
- ReInit(InputStream) - Method in class bsh.JavaCharStream
-
- ReInit(InputStream) - Method in class bsh.Parser
-
- ReInit(Reader) - Method in class bsh.Parser
-
- ReInit(ParserTokenManager) - Method in class bsh.Parser
-
- ReInit(JavaCharStream) - Method in class bsh.ParserTokenManager
-
- ReInit(JavaCharStream, int) - Method in class bsh.ParserTokenManager
-
- 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 in bsh
-
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(ClassPathListener) - Method in class bsh.classpath.BshClassPath
-
- removeListener(BshClassManager.Listener) - Method in class bsh.classpath.ClassManagerImpl
-
- requestFocus() - Method in class bsh.util.JConsole
-
- 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 exception 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.Interpreter
-
Run interactively.
- run() - Method in class bsh.This
-
- run() - Method in class bsh.util.AWTConsole
-
- run() - Method in class bsh.util.Httpd
-
- run() - Method in class bsh.util.JConsole
-
- run() - Method in class bsh.util.Sessiond
-
- 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
-
- SEMICOLON - Static variable in interface bsh.ParserConstants
-
- Sessiond - Class in bsh.util
-
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, Object) - Method in class bsh.Interpreter
-
Assign the value to the name.
- set(String, long) - Method in class bsh.Interpreter
-
- set(String, int) - Method in class bsh.Interpreter
-
- set(String, double) - Method in class bsh.Interpreter
-
- set(String, float) - Method in class bsh.Interpreter
-
- set(String, boolean) - Method in class bsh.Interpreter
-
- setAccessibility(boolean) - Static method in class bsh.Capabilities
-
- setAccessible(Object) - Method in class bsh.reflect.ReflectManagerImpl
-
Set a java.lang.reflect Field, Method, Constructor, or Array of
accessible objects to accessible mode.
- setAccessible(Object) - Method in class bsh.ReflectManager
-
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.BshClassManager
-
Set an external class loader.
- setClassLoader(ClassLoader) - Method in class bsh.Interpreter
-
Set an external class loader to be used for all basic class loading
in BeanShell.
- 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 exception 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 exception 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 interface bsh.util.GUIConsoleInterface
-
- setNameCompletion(NameCompletion) - Method in class bsh.util.JConsole
-
- 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(Font) - Method in class bsh.util.JConsole
-
- setStyle(Color) - 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
-
- setStyle(AttributeSet) - Method in class bsh.util.JConsole
-
- setStyle(AttributeSet, boolean) - Method in class bsh.util.JConsole
-
- setTypedVariable(String, Class, Object, boolean) - Method in class bsh.NameSpace
-
- setTypedVariable(String, Class, Object, Modifiers) - 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 interface bsh.util.GUIConsoleInterface
-
e.g.
- setWaitFeedback(boolean) - Method in class bsh.util.JConsole
-
- 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, NameSpace) - Method in class bsh.Interpreter
-
Read text from fileName and eval it.
- source(String) - Method in class bsh.Interpreter
-
Read text from fileName and eval it.
- specialConstructor - Variable in exception 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
-
- STRICTFP - Static variable in interface bsh.ParserConstants
-
- STRING_LITERAL - Static variable in interface bsh.ParserConstants
-
- StringUtil - Class in bsh
-
- 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
-