Buju 0.4
A B C D E F G H I L M N P R S U V W

A

accessAllowed(String, String) - Method in class biz.bbeans.buju.BServer
Access allowed for the given user and password.
allowed(String, String) - Method in class biz.bbeans.buju.BServerAccess
Check if the given user with the given password is in the access list.

B

BAdminInterpreter - class biz.bbeans.buju.BAdminInterpreter.
The admin interpreter.
BAdminInterpreter(String) - Constructor for class biz.bbeans.buju.BAdminInterpreter
Create a private (non-shared) admin interpreter with the given initial script.
BBase64 - class biz.bbeans.util.BBase64.
Encodes and decodes to and from Base64 notation.
BBase64.InputStream - class biz.bbeans.util.BBase64.InputStream.
A BBase64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
BBase64.InputStream(InputStream) - Constructor for class biz.bbeans.util.BBase64.InputStream
Constructs a BBase64.InputStream in DECODE mode.
BBase64.InputStream(InputStream, int) - Constructor for class biz.bbeans.util.BBase64.InputStream
Constructs a BBase64.InputStream in either ENCODE or DECODE mode.
BBase64.OutputStream - class biz.bbeans.util.BBase64.OutputStream.
A BBase64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
BBase64.OutputStream(OutputStream) - Constructor for class biz.bbeans.util.BBase64.OutputStream
Constructs a BBase64.OutputStream in ENCODE mode.
BBase64.OutputStream(OutputStream, int) - Constructor for class biz.bbeans.util.BBase64.OutputStream
Constructs a BBase64.OutputStream in either ENCODE or DECODE mode.
BClassInspector - class biz.bbeans.util.BClassInspector.
Utility to inspect a class using Java reflection.
BClassInspector(Class) - Constructor for class biz.bbeans.util.BClassInspector
Create a new BClassInspector to inspect the given class.
BClassInspector(Object) - Constructor for class biz.bbeans.util.BClassInspector
Create a new BClassInspector to inspect the class of the given object.
BDigest - class biz.bbeans.util.BDigest.
Digest which produces a human-readable hash.
BIgnoreCaseComparator - class biz.bbeans.util.BIgnoreCaseComparator.
Comparator which ignores case in comparing Strings.
BIgnoreCaseComparator() - Constructor for class biz.bbeans.util.BIgnoreCaseComparator
Create a new BIgnoreCaseComparator.
BInputStreamLoader - class biz.bbeans.util.BInputStreamLoader.
Utility to load an InputStream into a String.
BInputStreamLoader() - Constructor for class biz.bbeans.util.BInputStreamLoader
Create a new BInputStreamLoader.
BInterpreter - class biz.bbeans.buju.BInterpreter.
A wrapper for the Java interpreter engine.
BInterpreter(String) - Constructor for class biz.bbeans.buju.BInterpreter
Create a private (non-shared) interpreter with the given initial script.
BInterpreter(String, boolean) - Constructor for class biz.bbeans.buju.BInterpreter
Create a shared or private interpreter with the given initial script.
BListLoader - class biz.bbeans.util.BListLoader.
Utility to load a list from some input source.
BListLoader() - Constructor for class biz.bbeans.util.BListLoader
Create a new BListLoader.
BServer - class biz.bbeans.buju.BServer.
Java interpreter non-interactive remote session server.
BServer.BConnection - class biz.bbeans.buju.BServer.BConnection.
 
BServerAccess - class biz.bbeans.buju.BServerAccess.
A utility for maintaining user ID's and passwords.
BServerAccess(String) - Constructor for class biz.bbeans.buju.BServerAccess
Create a new BServerAccess using the given access properties file name.
BServerException - exception biz.bbeans.buju.BServerException.
An exception related to admin commands in the BServer application.
BServerException(String) - Constructor for class biz.bbeans.buju.BServerException
Create a BServerException with the given message.
BTest - class biz.bbeans.bujutest.BTest.
Interactive test client for the Buju server.
BTest(String, int, boolean) - Constructor for class biz.bbeans.bujutest.BTest
Create a Buju server test client.
BTestUI - class biz.bbeans.bujutest.BTestUI.
Interactive graphical test client for the Buju server.
BTestUI(String) - Constructor for class biz.bbeans.bujutest.BTestUI
Create a graphical Buju server test client.
BUtil - class biz.bbeans.util.BUtil.
A collection of static utility methods.
biz.bbeans.buju - package biz.bbeans.buju
 
biz.bbeans.bujutest - package biz.bbeans.bujutest
 
biz.bbeans.util - package biz.bbeans.util
 

C

close() - Method in class biz.bbeans.buju.BServer.BConnection
Close this connection gracefully.
close() - Method in class biz.bbeans.bujutest.BTest
Close any unclosed socket.
close() - Method in class biz.bbeans.util.BBase64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
compare(Object, Object) - Method in class biz.bbeans.util.BIgnoreCaseComparator
Compare String 1 to String 3, ignoring case.

D

DECODE - Static variable in class biz.bbeans.util.BBase64
Specify decoding.
DONT_BREAK_LINES - Static variable in class biz.bbeans.util.BBase64
Don't break lines when encoding (violates strict Base64 specification)
debug(Object, String) - Static method in class biz.bbeans.util.BUtil
Prints the object name and specified string to System.out.
decode(byte[], int, int) - Static method in class biz.bbeans.util.BBase64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class biz.bbeans.util.BBase64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFromFile(String) - Static method in class biz.bbeans.util.BBase64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class biz.bbeans.util.BBase64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class biz.bbeans.util.BBase64
Attempts to decode Base64 data and deserialize a Java Object within.

E

ENCODE - Static variable in class biz.bbeans.util.BBase64
Specify encoding.
encodeBytes(byte[]) - Static method in class biz.bbeans.util.BBase64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class biz.bbeans.util.BBase64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class biz.bbeans.util.BBase64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class biz.bbeans.util.BBase64
Encodes a byte array into Base64 notation.
encodeFromFile(String) - Static method in class biz.bbeans.util.BBase64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class biz.bbeans.util.BBase64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class biz.bbeans.util.BBase64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class biz.bbeans.util.BBase64
Convenience method for encoding data to a file.
encrypt(String) - Method in class biz.bbeans.util.BDigest
Encrypt the plain text.
eval(String) - Method in class biz.bbeans.buju.BInterpreter
Evaluate the line of script.
eval(String, long) - Method in class biz.bbeans.buju.BInterpreter
Evaluate the line of script.
eval(String) - Method in class biz.bbeans.bujutest.BTest
Evaluate the Java source line.

F

finalize() - Method in class biz.bbeans.bujutest.BTest
Closes any unclosed socket by calling close().
flushBase64() - Method in class biz.bbeans.util.BBase64.OutputStream
Method added by PHIL.

G

GZIP - Static variable in class biz.bbeans.util.BBase64
Specify that data should be gzip-compressed.
getAdminCommandToken() - Method in class biz.bbeans.buju.BServer.BConnection
Get the token for recognizing an admin command.
getBundleAsProperties(String, Locale, Properties) - Static method in class biz.bbeans.util.BUtil
 
getCopyrightMsg() - Static method in class biz.bbeans.util.BUtil
Returns copyright message.
getDateFormat(String) - Static method in class biz.bbeans.util.BUtil
Get a localized date format object, using the given pattern, if possible.
getDefaultInstance() - Static method in class biz.bbeans.util.BInputStreamLoader
Get an instance of BInputStreamLoader which implements processLine by simply returning the line untouched.
getFileInputStream(String) - Static method in class biz.bbeans.util.BUtil
Get a FileInputStream for given file name.
getFileOutputStream(String) - Static method in class biz.bbeans.util.BUtil
Get a FileOutputStream for given file name.
getFirstClassPath() - Static method in class biz.bbeans.util.BUtil
Return the first directory name in the classpath.
getInstance() - Static method in class biz.bbeans.util.BDigest
Get or create the singleton instance of BDigest.
getInterpScript() - Method in class biz.bbeans.buju.BServer
Get the interpreter initialization script.
getInterpreter() - Method in class biz.bbeans.buju.BInterpreter
Get the interpreter engine wrapped by this BInterpreter.
getInterpreter() - Method in class biz.bbeans.buju.BServer.BConnection
Get this connection's current interpreter.
getLastThrowable() - Method in class biz.bbeans.buju.BServer.BConnection
Get the last throwable encountered by this connection when it was evaluating source code.
getNumberFormat(String) - Static method in class biz.bbeans.util.BUtil
Get a localized number format object, using the given pattern, if possible.
getPID() - Method in class biz.bbeans.buju.BServer.BConnection
Gets the connection thread process ID assigned when the thread was created.
getProperties() - Method in class biz.bbeans.buju.BInterpreter
Get the properties Map.
getProperties() - Method in class biz.bbeans.buju.BServer.BConnection
Get the properties Map.
getProperties(String) - Static method in class biz.bbeans.util.BUtil
Convenience method to retrieve Properties from a system resource with the given name.
getSuperclasses(Class, ArrayList) - Static method in class biz.bbeans.util.BClassInspector
Get all of the super classes.
getTimeout() - Method in class biz.bbeans.buju.BServer.BConnection
Get this connection's timeout setting.
getUsage() - Static method in class biz.bbeans.buju.BServer
Build and return the command line usage for the Main method.
getUsage() - Static method in class biz.bbeans.buju.BServerAccess
Build and return the command line usage for the Main method.

H

handleException(Throwable) - Static method in class biz.bbeans.util.BUtil
General exception handling method, which prints the exception message to System.err and the stack trace.

I

isLocked() - Method in class biz.bbeans.buju.BInterpreter
Get the locked state of this interpreter.
isShared() - Method in class biz.bbeans.buju.BInterpreter
Get the immutable shared state of this interpreter.

L

l - Variable in class biz.bbeans.util.BListLoader
List created by this loader.
load(InputStreamReader) - Method in class biz.bbeans.util.BInputStreamLoader
Load the data from the given InputStreamReader into a String.
loadFromFile(String) - Method in class biz.bbeans.util.BListLoader
Load the list from the named file.
loadObject(String) - Static method in class biz.bbeans.util.BUtil
Loads serializable object from the specified file name.
lock(long) - Method in class biz.bbeans.buju.BInterpreter
Lock this interpreter.
login(String, char[]) - Method in class biz.bbeans.bujutest.BTest
Login to the Buju server.

M

main(String[]) - Static method in class biz.bbeans.buju.BServer
For usage display on standard out, use the -h option.
main(String[]) - Static method in class biz.bbeans.buju.BServerAccess
For usage display on standard output, use -h option.
main(String[]) - Static method in class biz.bbeans.bujutest.BTest
Character console interface for interactive test.
main(String[]) - Static method in class biz.bbeans.bujutest.BTestUI
Usage: biz.bbeans.bujutest.BTestUI
main(String[]) - Static method in class biz.bbeans.util.BClassInspector
Usage: biz.bbeans.util.BClassInspector className
main(String[]) - Static method in class biz.bbeans.util.BDigest
Usage: BDigest password1 [password2 password3 ...]

N

NO_OPTIONS - Static variable in class biz.bbeans.util.BBase64
No options specified.

P

pad(String, int) - Static method in class biz.bbeans.util.BUtil
Forces string to be the given length by padding with spaces or truncating.
pauseServer(String) - Method in class biz.bbeans.buju.BServer
Pause the server.
paused() - Method in class biz.bbeans.buju.BServer
Status of the server.
pop() - Method in class biz.bbeans.buju.BInterpreter
Pop the last-in namespace from the namespace stack and set it on the interpreter.
print(InputStream, OutputStream) - Static method in class biz.bbeans.util.BUtil
Print the input stream to the output stream using a BufferedReader and BufferedWriter.
printConstructors() - Method in class biz.bbeans.util.BClassInspector
Print all constructors of the inspected class.
printDeclaredConstructors() - Method in class biz.bbeans.util.BClassInspector
Print all declared constructors of the inspected class.
printDeclaredFields() - Method in class biz.bbeans.util.BClassInspector
Print all declared fields of the inspected class.
printDeclaredMethods() - Method in class biz.bbeans.util.BClassInspector
Print all declared methods of the inspected class.
printInterfaces() - Method in class biz.bbeans.util.BClassInspector
Print all interfaces of the inspected class.
printSuperclasses() - Method in class biz.bbeans.util.BClassInspector
Print all of the super classes.
processLine(String) - Method in class biz.bbeans.util.BInputStreamLoader
Process the line of data.
push() - Method in class biz.bbeans.buju.BInterpreter
Push the current namespace of the interpreter onto the namespace stack, and create and set a new child namespace for the interpreter.
put(String, String) - Method in class biz.bbeans.buju.BServerAccess
Put the user and password in the access list.

R

read() - Method in class biz.bbeans.util.BBase64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class biz.bbeans.util.BBase64.InputStream
Calls BBase64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
refreshServer(String) - Method in class biz.bbeans.buju.BServer
Refresh the server's data.
remove(String) - Method in class biz.bbeans.buju.BServerAccess
Remove the user from the access list.
restartServer(String) - Method in class biz.bbeans.buju.BServer
Restart the server by creating a new server instance.
restarted() - Method in class biz.bbeans.buju.BServer
Status of the server.
resumeEncoding() - Method in class biz.bbeans.util.BBase64.OutputStream
Resumes encoding of the stream.
resumeServer(String) - Method in class biz.bbeans.buju.BServer
Resume the server after being paused.
run() - Method in class biz.bbeans.buju.BServer.BConnection
Run the thread servicing the client.
run() - Method in class biz.bbeans.buju.BServer
Run the service.
run(String, String[]) - Static method in class biz.bbeans.util.BUtil
Load the given class and call its main method in a new thread, passing the given arguments.

S

SPACE - Static variable in class biz.bbeans.util.BUtil
A single space
set(String, Object) - Method in class biz.bbeans.buju.BInterpreter
Set the named variable to the given value in the interpreter's current namespace.
setAdminCommandToken(String) - Method in class biz.bbeans.buju.BServer.BConnection
Set the token for recognizing an admin command.
setInputStream(InputStream) - Method in class biz.bbeans.util.BClassInspector
Set the InputStream.
setInterpreter(BInterpreter) - Method in class biz.bbeans.buju.BServer.BConnection
Set the current interpreter for this connection.
setPrintStream(PrintStream) - Method in class biz.bbeans.util.BClassInspector
Set the PrintStream.
setTimeout(long) - Method in class biz.bbeans.buju.BServer.BConnection
Set this connection's timeout in milleseconds.
started() - Method in class biz.bbeans.buju.BServer
Status of the server.
stopServer(String) - Method in class biz.bbeans.buju.BServer
Stop the server.
stopped() - Method in class biz.bbeans.buju.BServer
Status of the server.
store() - Method in class biz.bbeans.buju.BServerAccess
 
storeObject(String, Serializable) - Static method in class biz.bbeans.util.BUtil
Saves serializable object to the specified file name.
suspendEncoding() - Method in class biz.bbeans.util.BBase64.OutputStream
Suspends encoding of the stream.

U

unlock(long) - Method in class biz.bbeans.buju.BInterpreter
Unlock this interpreter.

V

VERSION - Static variable in class biz.bbeans.buju.BServer
Buju version.

W

write(int) - Method in class biz.bbeans.util.BBase64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class biz.bbeans.util.BBase64.OutputStream
Calls write(int) repeatedly until len bytes are written.

A B C D E F G H I L M N P R S U V W
Buju 0.4