Package | Description |
---|---|
bradleyross.j2ee.servlets |
Demonstration servlets.
|
bradleyross.library.database |
These are some utility programs for using JDBC to interact with databases.
|
bradleyross.library.helpers |
These are various utility classes that I developed for Java programs.
|
Modifier and Type | Field and Description |
---|---|
private GenericPrinter |
ThisPage.printer
This is the printer object that will be used by servlet code.
|
Modifier and Type | Method and Description |
---|---|
GenericPrinter |
ThisPage.getPrinter()
Get the generic printer object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ShowSchema.ProblemFound(Exception e,
GenericPrinter output,
String message)
Place error message on web page if exception is encountered.
|
protected void |
ShowSchema.processDatabaseInformation(DatabaseProperties data,
GenericPrinter output,
HttpServletRequest req,
HttpServletResponse res)
Generate a page containing information about the database system.
|
protected void |
ShowSchema.processDescribeTable(DatabaseProperties data,
GenericPrinter output,
HttpServletRequest req,
HttpServletResponse res)
Generate a web page describing the layout of a table.
|
protected void |
ShowSchema.processListProcedures(DatabaseProperties data,
GenericPrinter output,
HttpServletRequest req,
HttpServletResponse res)
Generate the list of procedures in the database.
|
protected void |
ShowSchema.processListTables(DatabaseProperties data,
GenericPrinter output,
HttpServletRequest req,
HttpServletResponse res)
Generate the list of tables in the database.
|
protected void |
ShowSchema.processListViews(DatabaseProperties data,
GenericPrinter output,
HttpServletRequest req,
HttpServletResponse res)
Generate the list of views in the database.
|
protected void |
ShowSchema.processRootPage(DatabaseProperties data,
GenericPrinter output,
HttpServletRequest req,
HttpServletResponse res)
Generate the root page for schema information for the database.
|
protected void |
ShowSchema.processUDTInformation(DatabaseProperties data,
GenericPrinter output,
HttpServletRequest req,
HttpServletResponse res)
Generate the list of user defined types for the database system.
|
protected int |
ShowSchema.showResultSet(GenericPrinter output,
ResultSet rs)
Displays a result set as an HTML table.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseProperties.dumpResultSet(ResultSet rs,
String targetTableName,
GenericPrinter output)
Dumps a result set as a set of INSERT SQL statements.
|
void |
DatabaseProperties.dumpTable(String sourceTableName,
String targetTableName,
GenericPrinter output) |
void |
ShowProperties.printInfo(GenericPrinter printer)
Sends information on the database to the object.
|
Modifier and Type | Field and Description |
---|---|
protected GenericPrinter |
WebTable.output |
Modifier and Type | Method and Description |
---|---|
static void |
StringHelpers.printJustified(GenericPrinter output,
String value) |
protected static void |
StringHelpers.printJustified(GenericPrinter output,
String value,
int length)
Send a string to an output device, inserting line breaks at the
first space after a specified number of characters on the line.
|
void |
WebTable.setOutput(GenericPrinter value) |
void |
TableInterface.setOutput(GenericPrinter output) |