A B C D E F G H I K L M N O P Q R S T U V W X Z

A

addAliasedTable(String, String) - Method in class com.perdues.db.Query
Add a table to the statement, giving an alias.
addColumn(ColumnInfo) - Method in class com.perdues.db.Query
Add a column to the list of columns to select, and its table to the set of tables for the query.
addColumn(String) - Method in class com.perdues.db.Query
Add a column to the list of columns to select, given its name; and adds the column's table to the set of tables for the query.
addColumns(String[]) - Method in class com.perdues.db.Query
Adds each column ID String in the given array to this Query, as by addColumn.
addCondition(String) - Method in class com.perdues.db.Query
Add a condition to the "where" part of the select.
addDatabase(XMLTag) - Method in class com.perdues.db.Schema
Adds a database, defined by an XMLTag of type "db", to the set of databases described by this Schema.
addDays(int) - Method in class com.perdues.StyleDate
Ajust the day forward the given number of days, negative to go back.
addElement(XMLTag) - Method in class com.perdues.XMLTag
 
addEquiJoins(String) - Method in class com.perdues.db.Query
Add a table to the join across known tables.
addEquiJoins(TableInfo) - Method in class com.perdues.db.Query
Adds equijoin conditions to this Query, requiring that foreign keys of the given TableInfo must be equal to the corresponding primary key of the table referred to.
addFieldTest(String, String, String) - Method in class com.perdues.db.Query
Adds a condition comparing the value of a field to a specific String value.
addHaving(String) - Method in class com.perdues.db.Query
Add a condition to the "having" part of the select.
addMillis(long) - Method in class com.perdues.StyleDate
 
addMonths(int) - Method in class com.perdues.StyleDate
Ajust the month forward the given number of months, negative to go back.
addSearchContainsCondition(String, String) - Method in class com.perdues.db.Query
Adds a condition that the value of the named field must contain the given value, or if the field is an empty string or null no condition is added.
addSearchEqualCondition(String, String) - Method in class com.perdues.db.Query
Adds a condition that the value of the named field must be equal to the given value, or if the field is an empty string or null no condition is added.
addTable(String) - Method in class com.perdues.db.Query
Add a table by name to the list of tables to select from.
addTable(TableInfo) - Method in class com.perdues.db.Query
Add a table to the statement, using a TableInfo object.
addTypeHandler(String, DBTypeHandler) - Method in class com.perdues.db.Schema
Adds a handler for a type.
addValue(String, String) - Method in class com.perdues.web.HTForm
Adds the given value to the list of values for the given field name if not already in the list.
addWhat(String) - Method in class com.perdues.db.Query
Add a result column that is not a table column.
addYears(int) - Method in class com.perdues.StyleDate
Ajust the year forward the given number of years, negative to go back.
after(Date) - Method in class com.perdues.StyleDate
Is this date after the argument?
after(String, String) - Static method in class com.perdues.PString
Returns a suffix of the subject, starting just after the first occurrence of the delimiter string.
after(StyleDate) - Method in class com.perdues.StyleDate
Is this date after the argument?
afterLast(String, String) - Static method in class com.perdues.PString
Returns a suffix of the subject, starting just after the last occurrence of the delimiter string.
asDate() - Method in class com.perdues.StyleDate
Return the current date/time as a Date.
asMillis() - Method in class com.perdues.StyleDate
Returns the current date/time in milliseconds.

B

BaseTypeHandler - class com.perdues.db.typeHandlers.BaseTypeHandler.
 
BaseTypeHandler() - Constructor for class com.perdues.db.typeHandlers.BaseTypeHandler
 
before(Date) - Method in class com.perdues.StyleDate
Is this date before the argument?
before(StyleDate) - Method in class com.perdues.StyleDate
Is this date before the argument?
BooleanTypeHandler - class com.perdues.db.typeHandlers.BooleanTypeHandler.
Booleans are integers with value of 0 or 1.
BooleanTypeHandler() - Constructor for class com.perdues.db.typeHandlers.BooleanTypeHandler
Construct a Boolean typeHandler.
BytePump - class com.perdues.BytePump.
Copies from InputStream to OutputStream until EOF.
BytePump(InputStream, OutputStream) - Constructor for class com.perdues.BytePump
 

C

checkConfig(XMLTag) - Method in class com.perdues.db.typeHandlers.BaseTypeHandler
 
ColumnInfo - class com.perdues.db.ColumnInfo.
 
ColumnInfo(TableInfo, XMLTag) - Constructor for class com.perdues.db.ColumnInfo
This creates a ColumnInfo from a TableInfo object and an XMLTag.
com.perdues - package com.perdues
 
com.perdues.db - package com.perdues.db
 
com.perdues.db.typeHandlers - package com.perdues.db.typeHandlers
 
com.perdues.web - package com.perdues.web
 
configure(String) - Static method in class com.perdues.db.Schema
Loads database definitions from a file or archive member, given its Java "resource name".

D

databases() - Method in class com.perdues.db.Schema
Enumerate all available databases.
DateTypeHandler - class com.perdues.db.typeHandlers.DateTypeHandler.
 
DateTypeHandler() - Constructor for class com.perdues.db.typeHandlers.DateTypeHandler
 
DBInfo - class com.perdues.db.DBInfo.
 
DBInfo(Schema, XMLTag) - Constructor for class com.perdues.db.DBInfo
Build a DBInfo for the given schema, defined with the information from an XMLTag of type "db".
DBTypeHandler - interface com.perdues.db.DBTypeHandler.
Each Schema object has an associated set of classes that perform various type-specific actions based on the extended types specified in the Schema.
debug - Static variable in class com.perdues.Scheduler
Turn this flag on to receive debugging information on System.err.
debug - Static variable in class com.perdues.db.TableInfo
 
debug - Static variable in class com.perdues.db.Form
 
debug - Static variable in class com.perdues.db.Query
 
debug - Static variable in class com.perdues.web.URLCheck
 
defaultScheduler() - Static method in class com.perdues.Scheduler
Returns the default Scheduler, creating and starting it if this has not already been done.
defTypeHandler(String, DBTypeHandler) - Static method in class com.perdues.db.Schema
Defines a global ("default") handler for a type.
delete(String, Connection) - Method in class com.perdues.db.Form
Deletes the record determined by this form, using the given database connection.

E

EmailTypeHandler - class com.perdues.db.typeHandlers.EmailTypeHandler.
Type handler for the Email address type.
EmailTypeHandler() - Constructor for class com.perdues.db.typeHandlers.EmailTypeHandler
 
exec(String[]) - Static method in class com.perdues.SyncExec
Runs a process using Runtime.exec().
exec(String[], Writer, Writer) - Static method in class com.perdues.SyncExec
Runs a process using Runtime.exec().
expectation(String) - Method in class com.perdues.XP
 

F

filter(File, File) - Method in class com.perdues.TextFilter
This method opens up a BufferedReader for input from the given input file and a PrintWriter for output to the given output file.
filter(String[]) - Method in class com.perdues.TextFilter
Convenience method that calls the filter method with File arguments.
Form - class com.perdues.db.Form.
This class extends HTForm with methods to read, insert, update, and delete records in a SQL database, and to validate data entered in an HTML form for insert or update of a database record.
Form(Form) - Constructor for class com.perdues.db.Form
Makes a new Form that is a copy of an existing one.
Form(HttpServletRequest, Schema) - Constructor for class com.perdues.db.Form
A form gets its initial state from the parameters in the request.
Form(Schema) - Constructor for class com.perdues.db.Form
Constructs an empty Form.
format() - Method in class com.perdues.StyleDate
Format the currently-set date/time.

G

get(int) - Method in class com.perdues.StyleDate
Gets an arbitrary Calendar field.
get(String) - Method in class com.perdues.db.Schema
Return a Database given its name.
get(String) - Method in class com.perdues.db.ColumnInfo
Returns the value of the named attribute of the XMLTag that defined this column, or null if none was specified.
getCaption() - Method in class com.perdues.db.ColumnInfo
Returns the user-oriented caption for the column.
getCheckbox(String) - Method in class com.perdues.web.HTForm
Renders a single checkbox with the given field name and the value "y" when checked.
getCheckbox(String, String) - Method in class com.perdues.web.HTForm
Renders a single checkbox with the given field name and value when checked.
getCheckboxes(String, String[]) - Method in class com.perdues.web.HTForm
Renders a list of checkboxes, all with the same field name, with the values and labels the same, as if with an empty hash table in the variant with a hash table argument.
getCheckboxes(String, String[], Hashtable) - Method in class com.perdues.web.HTForm
Renders a list of checkboxes, all with the same field name, one for each value in the list.
getChoice(String, String[]) - Method in class com.perdues.web.HTForm
Render a choice (dropdown list) for the named field with the listed values.
getChoice(String, String[], Hashtable) - Method in class com.perdues.web.HTForm
Render a choice (dropdown list) for the named field with the listed values.
getChoices() - Method in class com.perdues.db.ColumnInfo
Get an Enum field's choices as an array.
getChoicesPlus(String) - Method in class com.perdues.db.ColumnInfo
Return the choices, with an extra string prepended.
getColumn(String) - Method in class com.perdues.db.TableInfo
Returns the ColumnInfo having the given, unqualified name.
getColumn(String) - Method in class com.perdues.db.Schema
Return a ColumnInfo given a qualified column name, from the default Database.
getColumn(String) - Method in class com.perdues.db.DBInfo
Return a ColumnInfo given a column name qualified by a table name or shorthand.
getDatabase() - Method in class com.perdues.db.TableInfo
The Database of this table.
getDatabase() - Method in class com.perdues.db.ColumnInfo
Return the Schema for this Column.
getDate(String) - Method in class com.perdues.web.HTForm
Reconstructs a date from the three shadow fields.
getDateField(String, int, int) - Method in class com.perdues.web.HTForm
 
getDB() - Method in class com.perdues.db.Schema
Return the default Database.
getElements() - Method in class com.perdues.XMLTag
 
getElements() - Method in class com.perdues.db.ColumnInfo
Returns an array of XMLTag objects for the elements of the XML tag that defined this column.
getEnoughName() - Method in class com.perdues.db.TableInfo
Adequately-qualified name of table based.
getException() - Method in class com.perdues.WrappedException
Returns the Throwable wrapped inside this WrappedException.
getExtends() - Method in class com.perdues.db.TableInfo
Returns the TableInfo of the table that this extends, or null if none.
getFirstDayOfWeek() - Method in class com.perdues.StyleDate
Returns the first day of the week for the locale.
getForeignKey(TableInfo) - Method in class com.perdues.db.TableInfo
Returns the column that is the foreign key into the given Table, or null if none.
getFullName() - Method in class com.perdues.db.TableInfo
Fully-qualified name of the table.
getFullName() - Method in class com.perdues.db.ColumnInfo
Returns the fully-qualified name of this column, currently ..
getHidden(String) - Method in class com.perdues.web.HTForm
Returns a set of <input type="hidden"> HTML form fields with the values properly set.
getInt(String) - Method in class com.perdues.web.HTForm
Returns the value of the given field as an integer, throwing a NumberFormatException if the value does not represent an integer, as determined by Integer.parseInt.
getInt(String, int) - Method in class com.perdues.web.HTForm
Returns the value of the given field as an integer, returning the given defaultvalue if the value does not represent an intger as determined by Integer.parseInt.
getJobCount() - Method in class com.perdues.Scheduler
Returns the number of periodic jobs currently managed by this Scheduler.
getLastInsertID(Statement) - Static method in class com.perdues.db.Query
Returns the last "insert ID" automatically generated by the database for an insert request on the given Statement's connection.
getList(String, int, boolean, String[]) - Method in class com.perdues.web.HTForm
Render a scrolling list for the named field and values, with the specified size in rows, and allowing multiple selection if allowMultiple is true.
getList(String, int, boolean, String[], Hashtable) - Method in class com.perdues.web.HTForm
Render a scrolling list for the named field and values, with the specified size in rows, and allowing multiple selection if allowMultiple is true.
getName() - Method in class com.perdues.db.TableInfo
Unqualified name of the table.
getName() - Method in class com.perdues.db.DBInfo
Get the name of the database.
getName() - Method in class com.perdues.db.ColumnInfo
Returns just the (unqualified) name of the column.
getOptions(String, String[], Hashtable) - Method in class com.perdues.web.HTForm
Return a list of option tags for an HTML select.
getPassword(String, int, int) - Method in class com.perdues.web.HTForm
Returns a <input type="password"> HTML form element with the state maintained
getPrimaryColumn() - Method in class com.perdues.db.TableInfo
Returns the column that is the primary key.
getPrimaryKey() - Method in class com.perdues.db.TableInfo
Returns the name of the primary key field, or null if there is none.
getRadios(String, String[], Hashtable) - Method in class com.perdues.web.HTForm
Renders a list of radio buttons, all with the same field name, one for each value in the list.
getSchema() - Method in class com.perdues.db.DBInfo
Get the Schema for this DBInfo.
getShorthand() - Method in class com.perdues.db.TableInfo
Shorthand name of the table.
getStatus() - Method in class com.perdues.SyncExec.Exception
 
getTable() - Method in class com.perdues.db.ColumnInfo
Returns the TableInfo this column belongs to.
getTable(String) - Method in class com.perdues.db.Schema
Get a table from the current database by name or shorthand, or errs if there is none.
getTable(String) - Method in class com.perdues.db.DBInfo
Returns the TableInfo with the given name or shorthand, or errs if there is none.
getText(String) - Method in class com.perdues.web.HTForm
Returns the same value, escaped for HTML, and suitably escaped to be inside an HTML attribute (quotes escaped).
getTextarea(String, int, int) - Method in class com.perdues.web.HTForm
calls getTextarea() with "none" as the wrap attribute.
getTextarea(String, int, int, String) - Method in class com.perdues.web.HTForm
Returns a <textarea> HTML form element with the state maintained.
getTextfield(String, int, int) - Method in class com.perdues.web.HTForm
Returns a <input type="text"> HTML form element with the state maintained
getType() - Method in class com.perdues.XMLTag
 
getType() - Method in class com.perdues.db.ColumnInfo
Return the type string for the column as set from the Schema information.
getTypeHandler() - Method in class com.perdues.db.ColumnInfo
 
getValue(String) - Method in class com.perdues.web.HTForm
A shorthand version of getValue(string, boolean) that passes in true as the returnNull parameter.
getValue(String, boolean) - Method in class com.perdues.web.HTForm
Returns the value of a given field.
getValue(String, String) - Method in class com.perdues.web.HTForm
Returns the value of a given field.
getValues(String) - Method in class com.perdues.web.HTForm
Returns the list of values for the given fieldname.

H

handleEOF() - Method in class com.perdues.TextFilter
Override this method to define an action to do at end of input.
handleLine(String) - Method in class com.perdues.TextFilter
Filter calls this on each line of input.
has(String) - Method in class com.perdues.web.HTForm
Returns true iff getValue(fieldname) would return a string with at least one character in it.
hasShorthand() - Method in class com.perdues.db.TableInfo
Returns true iff this table has a shorthand.
hasValue(String, String) - Method in class com.perdues.web.HTForm
True iff the given field of the form has a value equal to the one given.
HTForm - class com.perdues.web.HTForm.
This class is sort of modeled after Perl's CGI.pm.
HTForm() - Constructor for class com.perdues.web.HTForm
Construct an empty Form.
HTForm(HTForm) - Constructor for class com.perdues.web.HTForm
Construct a copy of an existing HTForm.
HTForm(HttpServletRequest) - Constructor for class com.perdues.web.HTForm
A form gets its initial state from the parameters in the request.

I

IDTypeHandler - class com.perdues.db.typeHandlers.IDTypeHandler.
Type handler for the ID type, integers starting with 1, used as unique IDs for rcords..
IDTypeHandler() - Constructor for class com.perdues.db.typeHandlers.IDTypeHandler
 
insert(String, Connection) - Method in class com.perdues.db.Form
Inserts a new record into the database using data from the form.
IntegerTypeHandler - class com.perdues.db.typeHandlers.IntegerTypeHandler.
 
IntegerTypeHandler() - Constructor for class com.perdues.db.typeHandlers.IntegerTypeHandler
 
IntegerTypeHandler(int) - Constructor for class com.perdues.db.typeHandlers.IntegerTypeHandler
You can build an Integer type with a specific number of required numeric digits.
integerValidator(String, int) - Static method in class com.perdues.db.typeHandlers.IntegerTypeHandler
Returns a message string if the format is not valid, or null if OK.
intValue(String, int) - Static method in class com.perdues.PString
Returns the decimal integer value represented by the String, or the given default if the string is null or its format is bad.
isEmpty() - Method in class com.perdues.XMLTag
 
isEndTag() - Method in class com.perdues.XMLTag
 
isRequired() - Method in class com.perdues.db.ColumnInfo
True if the column has the "required" attribute.

K

keys() - Method in class com.perdues.web.HTForm
Returns an enumeration of all the field names in this HTForm.

L

load(File) - Static method in class com.perdues.XP
This method loads XML from the given file, returning an array of XMLTag objects representing the top-level XML tags in the file.
load(Reader) - Static method in class com.perdues.XP
This method loads XML from the given Reader, returning an array of XMLTag objects representing the top-level XML tags in the input.
loadResource(String) - Static method in class com.perdues.XP
Loads an XML file or archive member given a "system resource" name referring to a file or archive member of some element of CLASSPATH.

M

main(String[]) - Static method in class com.perdues.Recompiler
Takes no command line arguments.
main(String[]) - Static method in class com.perdues.StyleDate
 
main(String[]) - Static method in class com.perdues.PString
For testing.
main(String[]) - Static method in class com.perdues.SyncExec
Main routine, for testing.
main(String[]) - Static method in class com.perdues.XP
 
main(String[]) - Static method in class com.perdues.web.URLCheck
The command line arguments should be a list of URLs.
mergeForm(HTForm, boolean) - Method in class com.perdues.web.HTForm
Copies the contents of form into this form.
mergePathInfo(boolean) - Method in class com.perdues.web.HTForm
Treats PATH_INFO like another QUERY_STRING and folds those values into the form.

N

NumericTypeHandler - class com.perdues.db.typeHandlers.NumericTypeHandler.
 
NumericTypeHandler() - Constructor for class com.perdues.db.typeHandlers.NumericTypeHandler
 
NumericTypeHandler(int) - Constructor for class com.perdues.db.typeHandlers.NumericTypeHandler
You can build a Numeric type with a specific number of required digits.
numericValidator(String, int) - Static method in class com.perdues.db.typeHandlers.NumericTypeHandler
Returns a message string if the format is not valid, or null if OK.

O

okBoolean(String) - Static method in class com.perdues.db.Validate
A boolean in a form is valid if it is "0" or "1".
okEmail(String) - Static method in class com.perdues.db.Validate
Rough validation of an email address.
okPhone(String) - Static method in class com.perdues.db.Validate
Very generic phone number validator.
okPhoneDigits(String) - Static method in class com.perdues.db.Validate
As okPhone, but returns the number of digits before the first "x", or a negative number if the input is not valid.
okSSN(String) - Static method in class com.perdues.db.Validate
Social Security Number (SSN) validator.

P

padLeft(String, int, char) - Static method in class com.perdues.PString
Pad a string on the left to the specified width in characters, using the specified pad character and returning the string with added padding.
padRight(String, int, char) - Static method in class com.perdues.PString
Pad a string on the right to the specified width in characters, using the specified pad character and returning the string with added padding.
parse() - Method in class com.perdues.XP
Parses the text from this XP's input, returning an array of XMLTag objects representing the top-level XML tags in the document.
parseTag() - Method in class com.perdues.XP
Parse an XML tag and return a XMLTag object representing it.
PhoneACTypeHandler - class com.perdues.db.typeHandlers.PhoneACTypeHandler.
Type handler for "PhoneAC" == U.S.-style phone area code type.
PhoneACTypeHandler() - Constructor for class com.perdues.db.typeHandlers.PhoneACTypeHandler
 
PhoneTypeHandler - class com.perdues.db.typeHandlers.PhoneTypeHandler.
Type handler for "Phone" == generic phone number type.
PhoneTypeHandler() - Constructor for class com.perdues.db.typeHandlers.PhoneTypeHandler
 
printStackTrace(PrintStream) - Method in class com.perdues.WrappedException
 
printStackTrace(PrintWriter) - Method in class com.perdues.WrappedException
 
PString - class com.perdues.PString.
Static utility methods involving Strings.

Q

Query - class com.perdues.db.Query.
Class that holds some clauses of a SQL select and helps you build select statements.
Query(Query) - Constructor for class com.perdues.db.Query
You can build a select statement from another Query.
Query(Schema) - Constructor for class com.perdues.db.Query
 

R

read(String, Connection) - Method in class com.perdues.db.Form
Reads a row of data from the named table into this Form via the given JDBC connection.
read(String, Connection, String[], String[]) - Method in class com.perdues.db.Form
Reads a row of data from the named table into this Form via the given JDBC connection.
readAll(InputStream) - Static method in class com.perdues.PString
Read all remaining input from the InputStream through the default character encoding, and return it as a String.
readAll(Reader) - Static method in class com.perdues.PString
Reads all remaining input from the Reader and returns it as a String.
readAll(URL) - Static method in class com.perdues.PString
Reads and returns the contents of a URL as a String.
Recompiler - class com.perdues.Recompiler.
Recompile .java files that need it anywhere under the current directory, using javac.
Recompiler.BytePump - class com.perdues.Recompiler.BytePump.
Copies from InputStream to OutputStream until EOF.
Recompiler.BytePump(InputStream, OutputStream) - Constructor for class com.perdues.Recompiler.BytePump
 
Recompiler() - Constructor for class com.perdues.Recompiler
 
removeJob(Runnable) - Method in class com.perdues.Scheduler
Removes a periodic job from the list.
removeValue(String) - Method in class com.perdues.web.HTForm
Removes the value with the specified key.
removeValue(String, String) - Method in class com.perdues.web.HTForm
Removes any occurrences of the given value from the list of values for fieldname.
render() - Method in class com.perdues.db.Query
Returns a string containing the complete select statement.
renderForSQL(ColumnInfo, Form, String) - Method in interface com.perdues.db.DBTypeHandler
Renders a form field given by name into an SQL literal, based on the extended type given by the ColumnInfo.
renderForSQL(ColumnInfo, Form, String) - Method in class com.perdues.db.typeHandlers.SSNTypeHandler
 
renderForSQL(ColumnInfo, Form, String) - Method in class com.perdues.db.typeHandlers.DateTypeHandler
Permits a String value in standard SQL date format (YYYY-MM-DD), or a GSP virtual date field if no standard SQL date field.
renderForSQL(ColumnInfo, Form, String) - Method in class com.perdues.db.typeHandlers.StringTypeHandler
Renders an SQL string literal for the field, or null if it is not present in the Form.
renderForSQL(ColumnInfo, Form, String) - Method in class com.perdues.db.typeHandlers.IntegerTypeHandler
 
renderForSQL(ColumnInfo, Form, String) - Method in class com.perdues.db.typeHandlers.BooleanTypeHandler
Render as a 0 or 1, or null if not present.
renderForSQL(ColumnInfo, Form, String) - Method in class com.perdues.db.typeHandlers.IDTypeHandler
 
requiredProperty(String) - Method in class com.perdues.XMLTag
 
run() - Method in class com.perdues.BytePump
Implementation of Thread.run.
run() - Method in class com.perdues.Recompiler.BytePump
Implementation of Thread.run.
run() - Method in class com.perdues.Scheduler
Implementation of Runnable; not intended to be called directly from user code.
run() - Method in class com.perdues.SyncExec.CharPump
 

S

scheduleJob(Runnable, int) - Method in class com.perdues.Scheduler
Adds a Runnable to this Scheduler, to be run every sleepInterval seconds.
Scheduler - class com.perdues.Scheduler.
Class to support periodic jobs passed to it as Runnables.
Scheduler() - Constructor for class com.perdues.Scheduler
Creates but does not start a new Scheduler.
Schema - class com.perdues.db.Schema.
This class defines information about one or more databases.
Schema(Schema) - Constructor for class com.perdues.db.Schema
The primary way to build a Schema is with Schema.configure, but you can build one similar to one that already exists with this constructor.
set(int, int) - Method in class com.perdues.StyleDate
Sets an arbitrary Calendar field.
setDate(Date) - Method in class com.perdues.StyleDate
Sets the date/time to the given Date.
setDate(String) - Method in class com.perdues.StyleDate
Sets the date/time to the formatted date, parsing leniently according to the current format.
setDate(String, Date) - Method in class com.perdues.web.HTForm
Sets a SQL-style string and three shadow variables for the date.
setDay(int) - Method in class com.perdues.StyleDate
Sets the day of the month.
setDayOfWeek(int) - Method in class com.perdues.StyleDate
Sets the day of the week to the given constant within the current week, where the current week is determined by the locale's notion of "first day" of a week.
setDefault(String, String) - Method in class com.perdues.web.HTForm
Sets the given value if there is none yet for the given field name.
setEmpty(boolean) - Method in class com.perdues.XMLTag
 
setFormat(String) - Method in class com.perdues.StyleDate
Sets the format (does not localize it, whatever that implies).
setGroupBy(String) - Method in class com.perdues.db.Query
Sets contents for the "group by" clause of the statement.
setLimit(String) - Method in class com.perdues.db.Query
Sets contents for the (MySQL-specific) "limit" clause.
setLocale(Locale) - Method in class com.perdues.StyleDate
 
setLocalizedFormat(String) - Method in class com.perdues.StyleDate
Sets the format, translating it to a localized version.
setMillis(long) - Method in class com.perdues.StyleDate
Sets the date/time to an absolute value in milliseconds.
setMonth(int) - Method in class com.perdues.StyleDate
Sets the month, zero-based counting.
setOrderBy(String) - Method in class com.perdues.db.Query
Sets contents for the "order by" clause of the statement.
setTimeZone(TimeZone) - Method in class com.perdues.StyleDate
 
setToStartOfDay() - Method in class com.perdues.StyleDate
Sets the date/time to the beginning of the day, local time.
setValue(String, String) - Method in class com.perdues.web.HTForm
Sets value in the given slot fieldname.
setValues(String, String[]) - Method in class com.perdues.web.HTForm
Same as form.setValue() except it sets multiple values from an array of values instead of taking a single value.
setYear(int) - Method in class com.perdues.StyleDate
Sets the year.
splitString(String) - Method in class com.perdues.web.HTForm
Splits "str" into an array of Strings using \r\n as the delimitter.
sqlEscape(String) - Static method in class com.perdues.db.Query
Escape the String so it is appropriate as part of a SQL string literal.
sqlFormat() - Method in class com.perdues.StyleDate
Format the currently-set date/time for SQL.
sqlFormat(Object) - Static method in class com.perdues.db.Query
Formats an object as a literal for SQL.
SSNTypeHandler - class com.perdues.db.typeHandlers.SSNTypeHandler.
On input, this handler accepts exactly 9 digits, with any number of blanks or '-' interspersed.
SSNTypeHandler() - Constructor for class com.perdues.db.typeHandlers.SSNTypeHandler
 
storeToForm(ColumnInfo, ResultSet, int, Form, String) - Method in interface com.perdues.db.DBTypeHandler
Stores the value of the numbered field of the ResultSet into the given field of the form.
storeToForm(ColumnInfo, ResultSet, int, Form, String) - Method in class com.perdues.db.typeHandlers.SSNTypeHandler
 
storeToForm(ColumnInfo, ResultSet, int, Form, String) - Method in class com.perdues.db.typeHandlers.DateTypeHandler
 
storeToForm(ColumnInfo, ResultSet, int, Form, String) - Method in class com.perdues.db.typeHandlers.StringTypeHandler
 
storeToForm(ColumnInfo, ResultSet, String, Form, String) - Method in interface com.perdues.db.DBTypeHandler
Stores the value of the named field of the ResultSet into the given field of the form.
storeToForm(ColumnInfo, ResultSet, String, Form, String) - Method in class com.perdues.db.typeHandlers.SSNTypeHandler
 
storeToForm(ColumnInfo, ResultSet, String, Form, String) - Method in class com.perdues.db.typeHandlers.DateTypeHandler
 
storeToForm(ColumnInfo, ResultSet, String, Form, String) - Method in class com.perdues.db.typeHandlers.StringTypeHandler
 
StringTypeHandler - class com.perdues.db.typeHandlers.StringTypeHandler.
This handler generally treats missing fields of the Form as empty Strings.
StringTypeHandler() - Constructor for class com.perdues.db.typeHandlers.StringTypeHandler
 
StyleDate - class com.perdues.StyleDate.
The StyleDate class makes it convenient to combine Calendar and time arithmetic with formatting.
StyleDate() - Constructor for class com.perdues.StyleDate
Creates a StyleDate with the current date and time.
StyleDate(Date) - Constructor for class com.perdues.StyleDate
Creates a StyleDate for the given Date.
StyleDate(Date, String) - Constructor for class com.perdues.StyleDate
Create a StyleDate with a particular format and Date.
StyleDate(long) - Constructor for class com.perdues.StyleDate
Creates a StyleDate for the given absolute time in milliseconds.
StyleDate(String) - Constructor for class com.perdues.StyleDate
Creates a StyleDate with the current date/time and the given format, which it localizes.
StyleDate(StyleDate) - Constructor for class com.perdues.StyleDate
Creates a StyleDate with the same date/time, format, locale, and timezone as the one given.
subst(String, String, String) - Static method in class com.perdues.PString
Substitute a new value in place of all occurrences one substring within a subject string.
SyncExec - class com.perdues.SyncExec.
Utility class for running a subprocess synchronously from Java and retrieving the contents of System.out and/or system.err.
SyncExec.CharPump - class com.perdues.SyncExec.CharPump.
 
SyncExec.CharPump(Reader, Writer) - Constructor for class com.perdues.SyncExec.CharPump
 
SyncExec.Exception - exception com.perdues.SyncExec.Exception.
 
SyncExec.Exception(int, String) - Constructor for class com.perdues.SyncExec.Exception
 

T

TableInfo - class com.perdues.db.TableInfo.
Class holding information about a table of a database.
TextFilter - class com.perdues.TextFilter.
Abstract class that provides a framework for programs that filter textual input to an output.
TextFilter() - Constructor for class com.perdues.TextFilter
 
toDBForm(String) - Static method in class com.perdues.db.typeHandlers.SSNTypeHandler
 
toDisplayForm(String) - Static method in class com.perdues.db.typeHandlers.SSNTypeHandler
 
toQueryString() - Method in class com.perdues.web.HTForm
Create and return an HTTP query string (without the "?") representing the same field information contained in this HTForm.
toString() - Method in class com.perdues.WrappedException
 
toString() - Method in class com.perdues.StyleDate
Formats the currently-set date/time.
toString() - Method in class com.perdues.SyncExec.Exception
 
toString() - Method in class com.perdues.XMLTag
 
toString() - Method in class com.perdues.db.Query
Returns a string containing the complete select statement.
toString() - Method in class com.perdues.db.ColumnInfo
 
toString() - Method in class com.perdues.web.HTForm
Overridden method from class Object.
toString(Object) - Static method in class com.perdues.PString
Same as object.toString() except for arrays, which come out as "{a[1],a[2],...}".

U

update(File, Vector) - Static method in class com.perdues.Recompiler
Recursive main work method.
update(String, Connection) - Method in class com.perdues.db.Form
Updates a record from a form.
upTo(String, String) - Static method in class com.perdues.PString
Returns a prefix of subject, up to the first occurrence of the delimiter string, or the entire subject if the delimiter is not found.
upToLast(String, String) - Static method in class com.perdues.PString
Returns a prefix of subject, up to the last occurrence of the delimiter string, or the entire subject if the delimiter is not found.
URLCheck - class com.perdues.web.URLCheck.
Standalone Java application to fetch a set of web pages and report their response codes.
URLCheck() - Constructor for class com.perdues.web.URLCheck
 
useDB(String) - Method in class com.perdues.db.Schema
Sets the current database.

V

Validate - class com.perdues.db.Validate.
Methods related to data validation.
validate(ColumnInfo, Form, Hashtable) - Method in interface com.perdues.db.DBTypeHandler
Validates a Form field based on type information from the extended database schema.
validate(ColumnInfo, Form, Hashtable) - Method in class com.perdues.db.typeHandlers.SSNTypeHandler
 
validate(ColumnInfo, Form, Hashtable) - Method in class com.perdues.db.typeHandlers.DateTypeHandler
Checks for a date, either a single field (e.g.
validate(ColumnInfo, Form, Hashtable) - Method in class com.perdues.db.typeHandlers.StringTypeHandler
 
validate(ColumnInfo, Form, Hashtable) - Method in class com.perdues.db.typeHandlers.NumericTypeHandler
A numeric field must have exactly the specified number of digits, but if the number of digits is unspecified, then any nonzero number will do.
validate(ColumnInfo, Form, Hashtable) - Method in class com.perdues.db.typeHandlers.EmailTypeHandler
 
validate(ColumnInfo, Form, Hashtable) - Method in class com.perdues.db.typeHandlers.PhoneTypeHandler
Validate a generic phone number as by Validate.okPhone.
validate(ColumnInfo, Form, Hashtable) - Method in class com.perdues.db.typeHandlers.IntegerTypeHandler
An integer field must have exactly the specified number of numeric digits, but if the number of digits is unspecified, then any nonzero number will do.
validate(ColumnInfo, Form, Hashtable) - Method in class com.perdues.db.typeHandlers.BooleanTypeHandler
 
validate(ColumnInfo, Form, Hashtable) - Method in class com.perdues.db.typeHandlers.IDTypeHandler
 
validate(String) - Method in class com.perdues.db.Form
Checks all fields of the form according to the type specified for the relevant column of this table.
validate(String, Hashtable) - Method in class com.perdues.db.Form
A form of validate that takes a Hashtable as input and adds any error messages to it.
validate(String, Hashtable, String[]) - Method in class com.perdues.db.Form
A form of validate that takes a Hashtable as input and adds any error messages to it.
validate(String, String[]) - Method in class com.perdues.db.Form
Validates this Form using extended schema information.

W

w - Variable in class com.perdues.TextFilter
This variable supports output.
WrappedException - exception com.perdues.WrappedException.
A RuntimeException to hold the state of any Throwable.
WrappedException(Throwable) - Constructor for class com.perdues.WrappedException
 
WrappedException(Throwable, String) - Constructor for class com.perdues.WrappedException
 

X

XMLTag - class com.perdues.XMLTag.
An object representing an XML tag.
XMLTag(String, boolean) - Constructor for class com.perdues.XMLTag
 
XP - class com.perdues.XP.
XML subset parser.
XP.Expectation - exception com.perdues.XP.Expectation.
 
XP.Expectation(XP, String) - Constructor for class com.perdues.XP.Expectation
 
XP(Reader) - Constructor for class com.perdues.XP
Constructs an XP parser from the given reader.

Z

ZipcodeTypeHandler - class com.perdues.db.typeHandlers.ZipcodeTypeHandler.
 
ZipcodeTypeHandler() - Constructor for class com.perdues.db.typeHandlers.ZipcodeTypeHandler
 

A B C D E F G H I K L M N O P Q R S T U V W X Z