Public Member Functions | |
AccessExample (Environment env, String databaseName) throws Exception | |
void | run () |
Static Public Member Functions | |
static void | main (String[] argv) |
Package Functions | |
String | askForLine (InputStreamReader reader, PrintStream out, String prompt) |
String | getLine (InputStreamReader reader) |
Definition at line 42 of file AccessExample.java.
|
Constructor for the AccessExample object
Definition at line 125 of file AccessExample.java. Referenced by main(). |
|
Prompts for a line, and keeps prompting until a non blank line is returned. Returns null on error.
Definition at line 232 of file AccessExample.java. Referenced by run(). |
|
Read a single line. Gets the line attribute of the AccessExample object Not terribly efficient, but does the job. Works for reading a line from stdin or a file.
Definition at line 254 of file AccessExample.java. |
|
The main program for the AccessExample class
Definition at line 62 of file AccessExample.java. References AccessExample(), and run(). |
|
Main processing method for the AccessExample object Definition at line 158 of file AccessExample.java. References askForLine(), and com::sleepycat::collections::TransactionRunner::run(). Referenced by main(). |