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

A

abortTransaction(Connection, String) - Static method in class fc.jdbc.QueryUtil
Aborts (rolls back) the current transaction on the specified connection.
abortTransaction(Connection) - Static method in class fc.jdbc.QueryUtil
Calls abortTransaction with an empty message string.
absolute(int) - Method in class fc.jdbc.ResultSetTransform
 
absoluteEncPath(HttpServletRequest, HttpServletResponse, String) - Static method in class fc.web.servlet.WebUtil
URL encodes and returns the path obtained via WebUtil.absolutePath(javax.servlet.http.HttpServletRequest, java.lang.String).
absolutePath(HttpServletRequest, String) - Static method in class fc.web.servlet.WebUtil
Creates an absolute path starting from the web document root directory.
AbstractText - Class in fc.web.forms
Represents a field that: returns one (1) string as their value.
Action - Class in fc.web.servlet
Represents an action available to a servlet.
ActionMgr - Class in fc.web.servlet
Manages various Action available to a servlet.
add(Object) - Method in class fc.util.SortedCollection
 
add(Tree.Node) - Method in class fc.util.Tree.Node
Adds the specified node as a new child node to this node.
add(ChoiceGroup.Choice) - Method in class fc.web.forms.ChoiceGroup
 
add(FieldRefresher) - Method in class fc.web.forms.Field
Adds a refresher to this field.
add(Object) - Method in class fc.web.forms.FieldRef
Adds an object to this fieldref.
add(Field) - Method in class fc.web.forms.Form
Adds the specified element to the form.
add(Dependency) - Method in class fc.web.forms.Form
Adds the specified dependency to the form.
add(FieldRef) - Method in class fc.web.forms.Form
Adds a FieldRef to this Form.
add(Form) - Method in class fc.web.forms.FormSequence
Adds a form to the sequence
add(Select.Option) - Method in class fc.web.forms.RefreshableSelect
Adds a new option to the selection list.
add(String) - Method in class fc.web.forms.RefreshableSelect
Adds a new option to the selection list.
add(Select.Option) - Method in class fc.web.forms.Select
Adds a new option to the selection list.
add(String) - Method in class fc.web.forms.Select
Adds a new option to the selection list.
add(Connection, String, String, String) - Static method in class fc.web.servlet.JDBCSession
Saves the tuple [sessionID, key, value] in the database.
addAction(Action) - Method in class fc.web.servlet.ActionMgr
Registers an action.
addAll(ChoiceGroup) - Method in class fc.web.forms.ChoiceGroup
Adds all the elements of the specified choice group to this choice group.
addAll(Connection, String, Map) - Static method in class fc.web.servlet.JDBCSession
Adds all [key, value] pairs in the specified map to the session with the specified sessionID.
addColumnTransform(int, ResultSetTransform.Rule) - Method in class fc.jdbc.ResultSetTransform
Adds a transform rule for the specified column.
addColumnTransform(String, ResultSetTransform.Rule) - Method in class fc.jdbc.ResultSetTransform
Adds a transform rule for the specified column.
addDependency(Dependency) - Method in class fc.web.forms.DependentField
This method should be invoked by all Dependency implementations in the implementations constructor.
addDynamicField(FormData, Hidden) - Method in class fc.web.forms.Form
Adds a Hidden field to this form.
addDynamicField(Hidden) - Method in class fc.web.forms.FormData
Adds a Hidden field to this form.
addError(FormData, String) - Method in class fc.web.forms.Field
Adds a field level validation error message.
addError(FormData, String, String) - Method in class fc.web.forms.Form
Adds a form level validation error message.
addError(FormData, String) - Method in class fc.web.forms.Form
Convenience method that invokes addError with an empty validation errorKey.
addFieldError(String, Object) - Method in class fc.web.simpleforms.Errors
Adds a field validation error
addFieldWarning(String, Object) - Method in class fc.web.simpleforms.Errors
Adds an arbitrary warning message generated as part of form processing.
addFormError(String) - Method in class fc.web.simpleforms.Errors
Adds a form level error, typically associated with the form itself and/or multiple fields as a group.
addFormWarning(String) - Method in class fc.web.simpleforms.Errors
Adds an arbitrary warning message generated as part of form processing
addIfFilledValidators(Form, String) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Validates a form field if it is filled by the user.
addLabel(String) - Method in class fc.web.forms.Field
Adds some arbitrary text to this field which can later be retrieved via the getLabel method and shown as an html label for this field.
addMessage(FormData, String, String) - Method in class fc.web.forms.Form
Adds an arbitrary message for this request.
addOption(Select.Option) - Method in class fc.web.forms.DependentSelect.Data
Convienence method for use by the Dependency.getInitialValues(fc.web.forms.Field) method.
addString(String) - Method in class fc.web.forms.Field
Adds any arbitrary string to the field, which is written as is when the field is rendered.
addSubmitHackedHandler(SubmitHackedHandler) - Method in class fc.web.forms.Form
 
addValidator(FormValidator) - Method in class fc.web.forms.Form
Adds a form level validator to this form.
addValidators(Form, String, String, Map) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Creates and attaches validators for all the fields in the specified Form.
addValidators(Form, Map) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Convenience method that calls alltypesMgr.addValidators(Form, String, String, Map) with a null prefix/suffix and the specified map
addValidators(Form) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Convenience method that calls alltypesMgr.addValidators(Form, String, String, Map) with a null prefix/suffix/map
addValidators(Form, String) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Convenience method that calls #addValidators(Form, String, String, map) with the specified prefix and a null suffix/map
AdminServlet - Class in fc.web.servlet
Allows tweaking of configuration parameters (such as log levels) at runtime.
AdminServlet() - Constructor for class fc.web.servlet.AdminServlet
 
afterLast() - Method in class fc.jdbc.ResultSetTransform
 
allFilledOrEmpty() - Method in class fc.web.forms.VFilledGroup
This is the default mode.
allowEmpty(boolean) - Method in class fc.web.forms.VText
Checks to see if the field is required to be filled by the user.
allowFloatingOnly() - Method in class fc.web.forms.VText
Ensures that the string is composed of only floating point number characters with optional leading/trailing blanks.
allowIntegersOnly() - Method in class fc.web.forms.VText
Ensures that the string is composed of only integer characters, with optional leading/trailing blanks.
allowMultiple(FormData, boolean) - Method in class fc.web.forms.DependentSelect
true if multiple selections are allowed, false otherwise.
allowMultiple(boolean) - Method in class fc.web.forms.RefreshableSelect
true is multiple selections are allowed, false otherwise.
allowMultiple(boolean) - Method in class fc.web.forms.Select
true is multiple selections are allowed, false otherwise.
allowSpaceBeforeAM_PM(boolean) - Method in class fc.web.forms.VTime
 
allServletsMap - Static variable in class fc.web.servlet.WebApp
A (initially empty) Map that servlets can use to store a reference to themselves.
alltypes - Class in fc.jdbc.dbo.generated
Represents a row in the alltypes table.
alltypes() - Constructor for class fc.jdbc.dbo.generated.alltypes
 
alltypesMgr - Class in fc.jdbc.dbo.generated
Manages various operations on the alltypes table.
anyFilled(boolean) - Method in class fc.web.forms.VFilledOnChoice
By default, this validator checks to see that all post-condition fields are filled.
append(Object) - Method in class fc.util.ToString
Appends an arbitrary string to the result.
append(String, Object) - Method in class fc.util.ToString
 
append(String, String) - Method in class fc.util.ToString
 
append(String, long) - Method in class fc.util.ToString
 
append(String, int) - Method in class fc.util.ToString
 
append(String, short) - Method in class fc.util.ToString
 
append(String, byte) - Method in class fc.util.ToString
 
append(String, double) - Method in class fc.util.ToString
 
append(String, float) - Method in class fc.util.ToString
 
append(String, char) - Method in class fc.util.ToString
 
append(String, boolean) - Method in class fc.util.ToString
 
append(String, Object[]) - Method in class fc.util.ToString
 
append(String, long[]) - Method in class fc.util.ToString
 
append(String, int[]) - Method in class fc.util.ToString
 
append(String, short[]) - Method in class fc.util.ToString
 
append(String, byte[]) - Method in class fc.util.ToString
 
append(String, char[]) - Method in class fc.util.ToString
 
append(String, double[]) - Method in class fc.util.ToString
 
append(String, float[]) - Method in class fc.util.ToString
 
append(String, boolean[]) - Method in class fc.util.ToString
 
appLog - Static variable in class fc.web.servlet.WebApp
A SystemLog object.
appMap - Static variable in class fc.web.servlet.WebApp
 
Argcheck - Class in fc.util
This class is intended primarily for checking whether method paramaters meet various pre-conditions.
Args - Class in fc.util
Manages arguments passed to an application.
Args(String[]) - Constructor for class fc.util.Args
Creates a new instance, with the specified String[] to read arguments from.
Args(InputStream) - Constructor for class fc.util.Args
Creates a new instance, with the specified InputStream to read arguments from.
arrayToCharBuffer(byte[], String) - Static method in class fc.io.IOUtil
Converts the specified byte array into a CharBuffer using the specified encoding.
arrayToCharBuffer(byte[]) - Static method in class fc.io.IOUtil
Convenience method that delegates to IOUtil.arrayToCharBuffer(byte[], String) using the platform's default encoding.
arrayToString(char[]) - Static method in class fc.util.StringUtil
Converts a character array into a viewable comma delimited string.
arrayValSep - Variable in class fc.util.ToString.Style
default: ,
ask(String, boolean) - Method in class fc.io.Prompt
Shows the specified string to the user shows the input prompt to the user (to indicate the user's input is expected).
ask(String) - Method in class fc.io.Prompt
Calls Prompt.ask(String, boolean) so that a newline is not shown after the question shown to the user.
ask(String, String, boolean) - Method in class fc.io.Prompt
Shows the specified string to the user shows the input prompt to the user (to indicate the user's input is expected).
ask(String, String) - Method in class fc.io.Prompt
Calls Prompt.ask(String, String, boolean) so that a newline is not shown after the question shown to the user.
attributeAdded(HttpSessionBindingEvent) - Method in class fc.web.servlet.DebugSessionListener
 
attributeRemoved(HttpSessionBindingEvent) - Method in class fc.web.servlet.DebugSessionListener
 
attributeReplaced(HttpSessionBindingEvent) - Method in class fc.web.servlet.DebugSessionListener
 
AuthFilter - Class in fc.web.servlet
An abstract servlet filter that only allows authenticated access to a resource.
AuthFilter() - Constructor for class fc.web.servlet.AuthFilter
 

B

BasicArgcheckFailHandler - Class in fc.util
Handles argument Checker errors by printing the thread, time and stack trace to System.err.
BasicArgcheckFailHandler() - Constructor for class fc.util.BasicArgcheckFailHandler
 
beep() - Static method in class fc.io.IOUtil
Beeps by writing the beep control code to System.out
beforeFirst() - Method in class fc.jdbc.ResultSetTransform
 
BOTTOM - Static variable in class fc.util.VAlign
 
BreadthFirst - Static variable in class fc.util.Tree.IterationOrder
A breadth first iteration of the tree, starting from the specified startnode.
bufferReader(Reader) - Static method in class fc.io.IOUtil
 
bufferStream(InputStream) - Static method in class fc.io.IOUtil
Buffers and returns the specified InputStream, if it is not already buffered.
bufferStream(OutputStream) - Static method in class fc.io.IOUtil
Buffers and returns the specified OutputStream, if it is not already buffered.
bufferWriter(Writer) - Static method in class fc.io.IOUtil
 
bug(Object) - Method in class fc.io.Log
 
bug(Object, Object) - Method in class fc.io.Log
 
bug(Object, Object, Object) - Method in class fc.io.Log
 
bug(Object, Object, Object, Object) - Method in class fc.io.Log
 
bug(Object, Object, Object, Object, Object) - Method in class fc.io.Log
 
bug(Object, Object, Object, Object, Object, Object) - Method in class fc.io.Log
 
bug(Object, Object, Object, Object, Object, Object, Object) - Method in class fc.io.Log
 
bug(Object, Object, Object, Object, Object, Object, Object, Object...) - Method in class fc.io.Log
 
bug(Writer, Object) - Method in class fc.web.page.PageImpl
Prints a debug statement if debugging is turned on for this page.
bug(Writer, Object, Object) - Method in class fc.web.page.PageImpl
 
bug(Writer, Object, Object, Object) - Method in class fc.web.page.PageImpl
 
bug(Writer, Object, Object, Object, Object...) - Method in class fc.web.page.PageImpl
 

C

Cache - Interface in fc.util.cache
A data cache.
CalendarUtil - Class in fc.util
 
CalendarUtil() - Constructor for class fc.util.CalendarUtil
 
cancelRowUpdates() - Method in class fc.jdbc.ResultSetTransform
 
canLog(LogLevel) - Method in class fc.io.Log
Returns true if the log's current level will allow logging messages at the specified logging level.
capitalWord(String) - Static method in class fc.util.StringUtil
Converts the specified String to start with a capital letter.
CENTER - Static variable in class fc.util.HAlign
 
CharRange - Class in fc.util
A range of characters.
CharRange(char, char) - Constructor for class fc.util.CharRange
Constructs a character range between the specified start and end chars (both inclusive).
CharRangeSet - Class in fc.util
A set of char ranges.
CharRangeSet(CharRange) - Constructor for class fc.util.CharRangeSet
Constructs a new CharRangeSet with the initial set containing only the specified charrange
Checkbox - Class in fc.web.forms
Represents a HTML form's checkbox element.
Checkbox(String, String, boolean) - Constructor for class fc.web.forms.Checkbox
Creates a new checkbox object.
Checkbox(String, String) - Constructor for class fc.web.forms.Checkbox
Constructs a new unselected checkbox with the specified value and HTML text.
Checkbox(String, boolean) - Constructor for class fc.web.forms.Checkbox
Constructs a new checkbox which is selected/unselected as specified.
Checkbox(String) - Constructor for class fc.web.forms.Checkbox
Constructs a new unselected checkbox with no separate value attribute
CHECKBOX - Static variable in class fc.web.forms.Field.Type
 
checkbox(HttpServletRequest, String) - Static method in class fc.web.simpleforms.State
Returns the checked state of the submitted checkbox.
CheckboxGroup - Class in fc.web.forms
Represents a grouped set of check boxes.
CheckboxGroup(String) - Constructor for class fc.web.forms.CheckboxGroup
checkboxgroup(HttpServletRequest, String, String) - Static method in class fc.web.simpleforms.State
Returns the submitted state of the specified check box which is part of a checkbox group (multiple check buttons with the same name).
Choice - Class in fc.web.forms
Abstracts an HTML choice type such as choicebox or radio.
ChoiceGroup - Class in fc.web.forms
Abstracts a HTML grouped choice element type such as choicebox or radio.
ChoiceGroup(String) - Constructor for class fc.web.forms.ChoiceGroup
Creates a new grouped choice object that intitially contains no choice fields
ChoiceGroup(String, List) - Constructor for class fc.web.forms.ChoiceGroup
Creates a new grouped choice object that intitially contains the specified choices.
ChoiceGroup.Choice - Class in fc.web.forms
Creates a new choice for this choice group.
ChoiceGroup.Choice(String, String, boolean) - Constructor for class fc.web.forms.ChoiceGroup.Choice
Creates a new choice object.
ChoiceGroup.Choice(String, String) - Constructor for class fc.web.forms.ChoiceGroup.Choice
Constructs a new unselected choice with the specified value and HTML text.
ChoiceGroup.Choice(String, boolean) - Constructor for class fc.web.forms.ChoiceGroup.Choice
Constructs a new unselected choice with the specified label (and no separate value attribute)
className - Variable in class fc.util.ToString.Style
Print the class name at all ? default: true
ClassUtil - Class in fc.util
 
ClassUtil() - Constructor for class fc.util.ClassUtil
 
clear() - Method in interface fc.util.cache.Cache
Empties the entire cache by expiring and removing all objects.
clear() - Method in class fc.util.cache.MemoryCache
 
clear(HttpServletRequest) - Static method in class fc.web.simpleforms.State
The servlet api is written by retarded monkeys smoking crack....which is why there is no way to modify/remove/change/clear the parameters in the servlet request (the parameters map is read-only) ..which leads to all sort of problems in html form processing.
clearSubmittedData() - Method in class fc.web.forms.DependentSelect.Data
 
clearWarnings() - Method in class fc.jdbc.PooledConnection
 
clearWarnings() - Method in class fc.jdbc.ResultSetTransform
 
clientRedirect(HttpServletRequest, HttpServletResponse, String) - Method in interface fc.web.page.Page
Redirects the client to the new page location.
clientRedirect(HttpServletRequest, HttpServletResponse, String) - Method in class fc.web.page.PageImpl
 
clientRedirect(HttpServletRequest, HttpServletResponse, String) - Static method in class fc.web.servlet.WebUtil
Redirects the browser to the specified URL via a client side redirect URL.
close() - Method in class fc.io.HexOutputStream
Be careful with this call, if the underlying stream is say, System.out, then calling this method will close System.out
close() - Method in class fc.io.Log
 
close() - Method in class fc.io.SystemLog
Closes the log by flushing the destination PrintStream.
close() - Method in class fc.jdbc.ConnectionMgr
Closes the ConnectionMgr.
close() - Method in class fc.jdbc.PooledConnection
 
close(ResultSet, Statement, Connection) - Static method in class fc.jdbc.QueryUtil
Closes the specified connection, statement and resultset, logging any errors to the stderr.
close(Connection) - Static method in class fc.jdbc.QueryUtil
Closes the specified connection, ignoring any exceptions encountered in the connection.close() method itself.
close() - Method in class fc.jdbc.ResultSetTransform
 
close() - Method in interface fc.util.cache.Cache
Closes this cache, which makes all items in the cache unavailable.
close() - Method in class fc.util.cache.MemoryCache
Closes this cache, which makes all items in the cache unavailable.
close() - Method in class fc.web.page.PageReader
 
closeLog(String) - Static method in class fc.io.Log
Closes and removes the log with the specified name if it exists
code(Writer, Template) - Method in interface fc.util.CustomCode
Called back from the template engine while substiting data inside a template.
code(Writer, Template) - Method in class fc.util.TestCustomCode
 
columns() - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Returns a comma delimited list of all columns in alltypes.
commit() - Method in class fc.jdbc.PooledConnection
 
compareTo(Object) - Method in class fc.io.LogLevel
 
compile() - Method in class fc.web.page.PageCompiler
 
connectionManagers - Static variable in class fc.web.servlet.WebApp
 
ConnectionMgr - Class in fc.jdbc
This class implements the gateway to a Database.
ConnectionMgr(String, String, String, String, String) - Constructor for class fc.jdbc.ConnectionMgr
Creates a new ConnectionMgr with logging to logging to Log.getDefault().
ConnectionMgr(PropertyMgr) - Constructor for class fc.jdbc.ConnectionMgr
Delegates to ConnectionMgr.ConnectionMgr(Log, PropertyMgr) with logging to Log.getDefault().
ConnectionMgr(Log, PropertyMgr) - Constructor for class fc.jdbc.ConnectionMgr
Constructs a new ConnectionMgr.
ConnectionTimeoutWarning - Static variable in class fc.jdbc.PooledConnectionMgr
If a connection cannot be obtained within this time, then a warning will be logged.
containsChild(Tree.Node) - Method in class fc.util.Tree.Node
Returns true if this node contains the specified element.
containsField(String) - Method in class fc.web.forms.Form
Returns true if the form contains the specified field.
contextDestroyed(ServletContextEvent) - Method in class fc.web.servlet.WebApp
Basic implementation of the web application cleanup upon context destruction.
contextInitialized(ServletContextEvent) - Method in class fc.web.servlet.WebApp
Basic implementation of the web application cleanup upon context creation.
copyDirectory(File, File) - Static method in class fc.io.IOUtil
Calls IOUtil.copyFile(File, File, int) with the IOUtil.DIRCOPY_ADD_OR_OVERWRITE flag.
copyDirectory(File, File, int) - Static method in class fc.io.IOUtil
Copies the source directory and all it's contents to the specified destination directory.
copyFile(File, File) - Static method in class fc.io.IOUtil
Copies source file (not directory) to destination.
copyFile(File, File, int) - Static method in class fc.io.IOUtil
Copies the source file (not directory) to the specified destination file or directory.
copyStream(InputStream, OutputStream) - Static method in class fc.io.IOUtil
Copies all data from the specific input stream to the specified output stream.
count(Connection) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Returns the count of all rows in the table.
countUsing(Connection, alltypes) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Returns the rows count by querying the table with the contents of the specified instance of alltypes As many fields in alltypes can be set as needed and the values of all set fields (including fields explicitly set to null) are then used to perform the query.
countWhere(Connection, String) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Returns the count of rows in the table using the specified where clause.
create(Connection, String, String) - Static method in class fc.web.servlet.JDBCSession
Creates a new session.
create(Connection, String) - Static method in class fc.web.servlet.JDBCSession
Creates a new session.
create(Connection, String) - Static method in class fc.web.servlet.TransactionToken
Creates a new transactional token.
CreateAllTypes - Class in fc.jdbc.dbo
Create a table containing all JDBC/SQL types we are interested in.
CreateAllTypes() - Constructor for class fc.jdbc.dbo.CreateAllTypes
 
createJDBCTables(Connection, String, String, boolean) - Static method in class fc.web.servlet.JDBCSession
Creates database tables for storing session data.
createRootNode(Object) - Method in class fc.util.Tree
Creates and returns the root node for this tree.
createStatement() - Method in class fc.jdbc.PooledConnection
 
createStatement(int, int) - Method in class fc.jdbc.PooledConnection
 
createStatement(int, int, int) - Method in class fc.jdbc.PooledConnection
 
cumulativeTime() - Method in class fc.util.NanoWatch
Returns the total time recorded by this Watch (across several starts/stops)
cumulativeTime() - Method in class fc.util.Watch
Returns the total time recorded by this Watch (across several starts/stops)
CustomCode - Interface in fc.util
Should be implemented for custom code functionality inside a Template.

D

d_buffersize - Static variable in class fc.web.page.PageParser
The name ("buffersize") of the [page buffersize=....] directive
d_encoding - Static variable in class fc.web.page.PageParser
The name ("encoding") of the [page encoding=....] directive.
d_mimetype - Static variable in class fc.web.page.PageParser
The name ("mimetype") of the[@ mimetype=....] directive.
d_out - Static variable in class fc.web.page.PageParser
The name ("out") of the [page out=....] directive
d_out_stream1 - Static variable in class fc.web.page.PageParser
A value ("outputstream") of the [page out=outputstream] directive
d_out_stream2 - Static variable in class fc.web.page.PageParser
A value ("outputstream") of the [page out=stream] directive
d_out_writer - Static variable in class fc.web.page.PageParser
A value ("writer") of the [page out=writer] directive
d_src_encoding - Static variable in class fc.web.page.PageParser
The name ("src-encoding") of the [page src-encoding=....] directive.
DateRange - Class in fc.util
A range of dates.
DateRange(Date, Date) - Constructor for class fc.util.DateRange
Constructs a date range between the specified start and end dates (both inclusive).
DateRangeSet - Class in fc.util
A set of date ranges.
DateRangeSet(DateRange) - Constructor for class fc.util.DateRangeSet
Constructs a new DateRangeSet with the initial set containing only the specified DateRange
dbg(boolean) - Method in class fc.web.page.PageImpl
Starts/stop debugging with no dbg_prefix/dbg_suffix.
dbgPrefix(String) - Method in class fc.web.page.PageImpl
Sets the prefix for debugging output.
dbgSuffix(String) - Method in class fc.web.page.PageImpl
Sets the suffix for debugging output.
DBName - Class in fc.jdbc
Enumerates database names.
DBO - Class in fc.jdbc.dbo
The base dbo class which is extended by all generated dbo classes.
DBOException - Exception in fc.jdbc.dbo
Captures exceptional conditions in the dbo framework.
DBOException(String) - Constructor for exception fc.jdbc.dbo.DBOException
 
DBOMgr - Class in fc.jdbc.dbo
The base Manager class which is extended by all generated "Mgr" classes.
DBOMgr() - Constructor for class fc.jdbc.dbo.DBOMgr
 
DEBUG - Static variable in class fc.io.Log
 
debug(Object) - Method in class fc.io.Log
 
debug(Object, Object) - Method in class fc.io.Log
 
debug(Object, Object, Object) - Method in class fc.io.Log
 
debug(Object, Object, Object, Object) - Method in class fc.io.Log
 
debug(Object, Object, Object, Object, Object) - Method in class fc.io.Log
 
debug(Object, Object, Object, Object, Object, Object) - Method in class fc.io.Log
 
debug(Object, Object, Object, Object, Object, Object, Object) - Method in class fc.io.Log
 
debug(Object, Object, Object, Object, Object, Object, Object, Object...) - Method in class fc.io.Log
 
debugRequestParams(HttpServletRequest) - Static method in class fc.web.servlet.WebUtil
writes all request params received in the specied request to System.out.
DebugSessionListener - Class in fc.web.servlet
For debugging session attribute set/get events.
DebugSessionListener() - Constructor for class fc.web.servlet.DebugSessionListener
 
deepDelete(File) - Static method in class fc.io.IOUtil
This method recursively removes a specified file or recursively removes a specified directory.
DEFAULT - Static variable in class fc.util.ToString.Style.VisibleLevel
 
DEFAULT_BUFFER_SIZE - Static variable in interface fc.web.page.Page
 
DEFAULT_CONTENT_TYPE - Static variable in interface fc.web.page.Page
 
default_dbcache_time - Static variable in class fc.web.servlet.WebApp
 
DEFAULT_ENCODING - Static variable in interface fc.web.page.Page
The default encoding of the page, specified in the header sent back to the client.
DEFAULT_FLAGNAME - Static variable in class fc.util.Args
If a flag name is not well formed, then the corresponding value (if any) is stored under this name.
DEFAULT_MIME_TYPE - Static variable in interface fc.web.page.Page
The default mime-type for each page.
default_tlcal - Static variable in class fc.web.servlet.WebApp
 
default_tldf - Static variable in class fc.web.servlet.WebApp
 
default_tlnf - Static variable in class fc.web.servlet.WebApp
 
default_tlrand - Static variable in class fc.web.servlet.WebApp
 
defaultConnectionManager - Static variable in class fc.web.servlet.WebApp
 
defaultSize - Static variable in class fc.jdbc.PooledConnectionMgr
 
delete(Connection, alltypes) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Deletes this object from the database.
delete(Connection, String, String) - Static method in class fc.web.servlet.JDBCSession
Deletes both the key and value specified by the sessionID and key.
deleteByKey(Connection, int) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Deletes the rows with the specified primary key(s) from the database.
deleteRow() - Method in class fc.jdbc.ResultSetTransform
 
deleteTestCookie(HttpServletRequest, HttpServletResponse) - Static method in class fc.web.servlet.SessionUtil
Removes the test cookies if previously set.
deleteUsing(Connection, alltypes) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Returns the rows returned by querying the table with the contents of the specified instance of alltypes or null if no rows were found.
deleteWhere(Connection, String) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Deletes the rows with the specified where clause.
Dependency - Interface in fc.web.forms
A dependency changes the values or state of some form element based on the user selection or choice of some other form element.
DependencyException - Exception in fc.web.forms
 
DependencyException(String) - Constructor for exception fc.web.forms.DependencyException
 
DependentField - Class in fc.web.forms
A dependent field.
DependentField(String) - Constructor for class fc.web.forms.DependentField
 
DependentSelect - Class in fc.web.forms
A dependent HTML DependentSelect field.
DependentSelect(String) - Constructor for class fc.web.forms.DependentSelect
Creates a new select element with no initial values.
DependentSelect.Data - Class in fc.web.forms
 
DependentSelect.Data() - Constructor for class fc.web.forms.DependentSelect.Data
 
deque() - Method in class fc.util.Queue
Dequeues an object from the beginning of the queue
desc - Variable in class fc.io.LogLevel
 
destroy() - Method in class fc.web.forms.Form
This method should be called when the form is removed from session or application scope.
destroy() - Method in interface fc.web.page.Page
This method is invoked whenever a page is destoryed/unloaded
destroy() - Method in class fc.web.page.PageImpl
 
destroy() - Method in class fc.web.page.PageServlet
 
destroy() - Method in class fc.web.servlet.AuthFilter
 
destroy() - Method in class fc.web.servlet.FCBaseServlet
 
DIRCOPY_ADD_OR_OVERWRITE - Static variable in class fc.io.IOUtil
Copies the existing directory and overwrites any files with the same name in the destination directory.
DIRCOPY_DELETE_AND_WRITE - Static variable in class fc.io.IOUtil
Copies the existing directory.
DIRCOPY_NO_OVERWRITE - Static variable in class fc.io.IOUtil
Ignores a directory copy command if the destination directory already exists.
dirName(String) - Static method in class fc.util.StringUtil
Returns the path component of the specified filename.
dirSize(File) - Static method in class fc.io.IOUtil
Gets the total size for a directory and all of it's contents.
disable(FormData) - Method in class fc.web.forms.Field
Disabled this field for this particular request.
disable() - Method in class fc.web.forms.Field
Disables this field for all users.
disabled(HttpServletRequest, String) - Static method in class fc.web.simpleforms.State
Convenience method.
discard() - Method in class fc.jdbc.dbo.DBO
"discards" this object.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class fc.web.servlet.AuthFilter
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class fc.web.servlet.AdminServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class fc.web.servlet.GzipFileServlet
Returns the specified gzip file.
doGet(HttpServletRequest, HttpServletResponse) - Method in class fc.web.servlet.LoginServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class fc.web.servlet.PathServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class fc.web.servlet.RawSQLServlet
 
doPathInfo(HttpServletRequest, HttpServletResponse, String) - Method in class fc.web.servlet.PathServlet
The pathinfo parameter is not intern()'ed but can be if/as needed in this method.
doPost(HttpServletRequest, HttpServletResponse) - Method in class fc.web.servlet.AdminServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class fc.web.servlet.LoginServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class fc.web.servlet.PathServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class fc.web.servlet.RawSQLServlet
 

E

EIGHT_HOUR - Static variable in class fc.util.cache.MemoryCache
Useful constant for cache expiry time of eight hours (in milliseconds)
empty() - Method in class fc.util.Queue
Returns true is this queue is empty, false otherwise
empty_list - Static variable in class fc.web.forms.Form
 
empty_map - Static variable in class fc.web.forms.Form
 
enable(FormData) - Method in class fc.web.forms.Field
Enables this field for this particular request.
enable() - Method in class fc.web.forms.Field
Enables this field for all users.
encodePassword(String) - Method in class fc.web.servlet.LoginServlet
For this method to be available from application code, this servlet should be set to load on startup and code similar to the following example invoked.
endArray - Variable in class fc.util.ToString.Style
default: }
endContent - Variable in class fc.util.ToString.Style
The end of the string after the object classname and identity reference.
endRow() - Method in class fc.io.TablePrinter
This method should be called to finish the existing row
endString - Variable in class fc.util.ToString.Style
The end of the entire string.
endTable() - Method in class fc.io.TablePrinter
This method should be called to finish the table
endTransaction(Connection, String) - Static method in class fc.jdbc.QueryUtil
Commits the specified connection.
endTransaction(Connection) - Static method in class fc.jdbc.QueryUtil
Calls endTransaction with an empty message string.
enque(Object) - Method in class fc.util.Queue
Enqueue's the specified object.
ensureCount(int, int) - Static method in class fc.jdbc.QueryUtil
Checks to see if actual row count was same as expected row count, for some query.
ensureScrollable(ResultSet) - Static method in class fc.jdbc.QueryUtil
Checks to see if the specified result set is scrollable.
entityToQuote(String) - Static method in class fc.util.HTMLUtil
Replaces embedded entities for single and double quotes, back to the correspoding single and double quote characters.
equals(Object) - Method in class fc.util.NumberRange
 
equals(Object) - Method in class fc.util.Tree.Node
Calls super.equals(), i.e, reference equality.
ERROR - Static variable in class fc.io.Log
 
error(Object) - Method in class fc.io.Log
 
error(Object, Object) - Method in class fc.io.Log
 
error(Object, Object, Object) - Method in class fc.io.Log
 
error(Object, Object, Object, Object) - Method in class fc.io.Log
 
error(Object, Object, Object, Object, Object) - Method in class fc.io.Log
 
error(Object, Object, Object, Object, Object, Object) - Method in class fc.io.Log
 
error(Object, Object, Object, Object, Object, Object, Object) - Method in class fc.io.Log
 
error(Object, Object, Object, Object, Object, Object, Object, Object...) - Method in class fc.io.Log
 
error(HttpServletResponse, String) - Method in class fc.web.servlet.PathServlet
Sends a 404 (page not found) error to the client.
Errors - Class in fc.web.simpleforms
Convenience class to store arbitrary form validation errors and messages.
Errors() - Constructor for class fc.web.simpleforms.Errors
 
escapedHidden(HttpServletRequest, String) - Static method in class fc.web.simpleforms.State
Convenience method that returns: HTMLUtil.quoteToEntity(hidden(req, name)); Useful for setting arbitrary values in the value="..." part of a hidden field.
escapedPassword(HttpServletRequest, String) - Static method in class fc.web.simpleforms.State
Convenience method that returns: HTMLUtil.quoteToEntity(password (req, name)); Useful for setting arbitrary values in the value="..." part of a password field.
escapedText(HttpServletRequest, String) - Static method in class fc.web.simpleforms.State
Convenience method that returns: HTMLUtil.quoteToEntity(text(req, name)); Useful for setting arbitrary values in the value="..." part of a text field.
escapeSingleQuotes(String) - Static method in class fc.util.StringUtil
Escapes all single quotes in the specified a string with a backslash character.
escapeSingleQuotes(String, String) - Static method in class fc.util.StringUtil
Escapes all single quotes in the specified a string with the specified escpape character.
executeQuery(Connection, String) - Static method in class fc.jdbc.QueryUtil
Convenience method that calls #executeQuery(String, boolean) specifying no header options (i.e., column headers are not returned as part of the query results).
executeQuery(Connection, String, boolean) - Static method in class fc.jdbc.QueryUtil
Performs the specified query and returns a List (the result of converting the ResultSet via the QueryUtil.rsToList(java.sql.ResultSet, boolean) method).
exists(Connection, int) - Static method in class fc.jdbc.dbo.generated.alltypesMgr
Returns true if a row with the specified primary keys exists, false otherwise.
exists(Connection, String) - Static method in class fc.web.servlet.JDBCSession
Returns true is the specified sessionID is valid (i.e., the specified sessionID exists in the database and has not expired).
expandArrays - Variable in class fc.util.ToString.Style
Expand array values, default: false.
expire(Object) - Method in interface fc.util.cache.Cache
Expires immediately the object specified by the key.
expire(Object) - Method in class fc.util.cache.MemoryCache
 
expire(Connection, String) - Static method in class fc.web.servlet.JDBCSession
Expires the session.
expireInactiveSessions(Connection) - Static method in class fc.web.servlet.JDBCSession
Utility method that deletes (or marked as expired depending on JDBCSession.setDeleteExpiredSessions(boolean)) all sessions in the database that have exceeded the maximum inactive time.
expireTimeLeft(Object) - Method in class fc.util.cache.MemoryCache
 
extend(Object, long) - Method in interface fc.util.cache.Cache
Adds the specified amount of time to the object (to it's current time left) before that object will be expired.
extend(Object, long) - Method in class fc.util.cache.MemoryCache
 

F

fc.io - package fc.io
 
fc.jdbc - package fc.jdbc
 
fc.jdbc.dbo - package fc.jdbc.dbo
 
fc.jdbc.dbo.generated - package fc.jdbc.dbo.generated
 
fc.net - package fc.net
 
fc.util - package fc.util
 
fc.util.cache - package fc.util.cache
 
fc.web.forms - package fc.web.forms
Encapsulates HTML forms as java objects (Usage Diagram [in new window], Class Hierarchy Diagram).
fc.web.page - package fc.web.page
 
fc.web.servlet - package fc.web.servlet
 
fc.web.simpleforms - package fc.web.simpleforms
 
FCBaseServlet - Class in fc.web.servlet
A basic servlet that other servlets should extend.
FCBaseServlet() - Constructor for class fc.web.servlet.FCBaseServlet
 
Field - Class in fc.web.forms
Represents an HTML form field.
Field(String) - Constructor for class fc.web.forms.Field
Creates a new form Field.
Field.Type - Class in fc.web.forms
Encapsulates different types of HTML form elements.
fieldAndValSep - Variable in class fc.util.ToString.Style
default: =
fieldName - Variable in class fc.util.ToString.Style
Print the field name ? default: true.
FieldRef - Class in fc.web.forms
Keeps track of a set of related/grouped fields in a form.
FieldRef(String) - Constructor for class fc.web.forms.FieldRef
Creates a new field with the specified name.
FieldRef(String, Object) - Constructor for class fc.web.forms.FieldRef
Creates a new field with the specified name and the specified object (which may be any data structure like a list, map or whatever containing references to fields in the form).
FieldRefresher - Class in fc.web.forms
Refreshes the value of a field (or fields) before the field is displayed to the user.
FieldRefresher() - Constructor for class fc.web.forms.FieldRefresher
 
fieldSep - Variable in class fc.util.ToString.Style
default: ,
FieldValidator - Class in fc.web.forms
Represents a form field validator.
FieldValidator(Field, String) - Constructor for class fc.web.forms.FieldValidator
Creates a new validator.
FILE_SEP - Static variable in class fc.io.IOUtil
System.getProperty("file.separator") for convenience
FILECOPY_NO_OVERWRITE - Static variable in class fc.io.IOUtil
 
FILECOPY_OVERWRITE - Static variable in class fc.io.IOUtil
 
fileName(String) - Static method in class fc.util.StringUtil
Returns the file component of specified filename.
FilePropertyMgr - Class in fc.util
Loads properties from a file.
FilePropertyMgr(File) - Constructor for class fc.util.FilePropertyMgr
 
fileSizeToString(long, int) - Static method in class fc.io.IOUtil
Calls IOUtil.fileSizeToString(long) and truncates the size to fit in the specified number of digits.
fileSizeToString(long) - Static method in class fc.io.IOUtil
Converts the specified file size into a human readable description.
fileToByteArray(String) - Static method in class fc.io.IOUtil
Returns the contents of an entire file as a byte[].
fileToByteArray(File) - Static method in class fc.io.IOUtil
Returns the contents of an entire file as a byte[].
fileToByteBuffer(File) - Static method in class fc.io.IOUtil
Returns the contents of an entire file as a ByteBuffer backed by mapping the file to memory.
fileToCharArray(File, String) - Static method in class fc.io.IOUtil
Returns the contents of an entire file as a char[].
fileToString(String, boolean) - Static method in class fc.io.IOUtil
Returns the contents of an entire file as a String.
fileToString(String) - Static method in class fc.io.IOUtil
Calls IOUtil.fileToString(String, boolean) with trim being false (that is, files are not trimmed at their trailing end).
fillCheckboxGroup(CheckboxGroup, List, Class, String, String) - Static method in class fc.web.forms.FormUtil
Fills in the specified checkboxgroup with values from the supplied list.
fillRadioGroup(RadioGroup, List, Class, String, String) - Static method in class fc.web.forms.FormUtil
Fills in the specified radiogroup with values from the supplied list.
fillSelect(Select, List, String, Class, String, String) - Static method in class fc.web.forms.FormUtil
Note: This method is almost never needed.
fillSelect(Select, Map, String) - Static method in class fc.web.forms.FormUtil
Note: This method is almost never needed.
fillSelectWithDays(Select) - Static method in class fc.web.forms.FormUtil
Fills the specified select from years, starting with the specified year.
fillSelectWithDays(Select, Calendar) - Static method in class fc.web.forms.FormUtil
Fills the specified select from years, starting with the specified year.
fillSelectWithDaysToday(Select) - Static method in class fc.web.forms.FormUtil
Fills the specified select from years, starting with the specified year.
fillSelectWithMonths(Select, boolean) - Static method in class fc.web.forms.FormUtil
Fills the specified select from years, starting with the specified year.
fillSelectWithMonths(Select, boolean, Calendar) - Static method in class fc.web.forms.FormUtil
Fills the specified select from years, starting with the specified year.
fillSelectWithMonthsToday(Select, boolean) - Static method in class fc.web.forms.FormUtil
Fills the specified select from years, starting with the specified year.
fillSelectWithYears(Select, int) - Static method in class fc.web.forms.FormUtil
Fills the specified select from years, starting with the specified year till the current year.
fillSelectWithYears(Select, int, Calendar) - Static method in class fc.web.forms.FormUtil
Fills the specified select from years, starting with the specified year, upto the current year.
fillSelectWithYears(Select, int, int, Calendar) - Static method in class fc.web.forms.FormUtil
Fills the specified select from years, from the specified start and end years (both inclusive).
fillSelectWithYearsToday(Select, int) - Static method in class fc.web.forms.FormUtil
Fills the specified select from years, starting with the specified year.
findColumn(String) - Method in class fc.jdbc.ResultSetTransform
 
first() - Method in class fc.jdbc.ResultSetTransform
 
FIVE_MIN - Static variable in class fc.util.cache.MemoryCache
Useful constant for cache expiry time of five minutes (in milliseconds)
fixedWidth(String, int) - Static method in class fc.util.StringUtil
Converts the specified String into a fixed width string, left padding (with a blank space) or truncating on the right as necessary.
fixedWidth(String, int, HAlign) - Static method in class fc.util.StringUtil
Calls StringUtil.fixedWidth(String, int, HAlign, char) specifying the padding character as a blank space.
fixedWidth(String, int, HAlign, char) - Static method in class fc.util.StringUtil
Converts the specified String into a fixed width string.
FLAG_REPEAT_VALUE_DELIM - Static variable in class fc.util.Args
If a flag name is repeated, then all corresponding values for that name are concatenated with each other and the concatenated values are delimited by this value.
flagExists(String) - Method in class fc.util.Args
Checks if the specified flag exits, regardless of whether a corresponding value exist for that flag.
flush() - Method in class fc.io.HexOutputStream
 
Form - Class in fc.web.forms
Represents an HTML form.
Form(String, String, String, Log, SubmitHackedHandler) - Constructor for class fc.web.forms.Form
Creates a new form with the specified name, method (get/post) and URL
Form(String, String, String, Log) - Constructor for class fc.web.forms.Form
 
Form(String, String, String) - Constructor for class fc.web.forms.Form
Creates a new form with logging to the default log retreived by Log.getDefault() and the default SubmitHackedHandler
Form(String) - Constructor for class fc.web.forms.Form
Creates a new form with the specified name, method=POST and no action URL
FormData - Class in fc.web.forms
An object that contains form data submitted by a user.
FormData(Log) - Constructor for class fc.web.forms.FormData
 
FormData() - Constructor for class fc.web.forms.FormData
 
FormSequence - Class in fc.web.forms
A container for a sequence of forms.
FormSequence() - Constructor for class fc.web.forms.FormSequence
 
FormUtil - Class in fc.web.forms
Misc.
FormUtil() - Constructor for class fc.web.forms.FormUtil
 
FormValidator - Class in fc.web.forms
Represents a form level validator that may examine more than one form field for a grouped/form level validation.
FormValidator(Form, String, String) - Constructor for class fc.web.forms.FormValidator
Creates a new validator and adds it to the specified form.
forward(HttpServletRequest, HttpServletResponse, String) - Static method in class fc.web.servlet.WebUtil
Redirects the request (server side redirect) to the specified relative URL via the ServletRequest.getRequestDispatcher(java.lang.String).
FOUR_GB - Static variable in class fc.io.IOUtil
number of bytes equal to 2^32
FOUR_HOUR - Static variable in class fc.util.cache.MemoryCache
Useful constant for cache expiry time of four hours (in milliseconds)
FREEBSD - Static variable in class fc.util.Platform
 
fromDriver(String) - Static method in class fc.jdbc.DBName
Returns the DBName corresponding to the specified jdbc driver or null if the jdbc driver could not be parsed.
fullClassName - Variable in class fc.util.ToString.Style
print full class name ? default: false

G

Generate - Class in fc.jdbc.dbo
Generates java objects that represent tables in a database.
Generate(String[]) - Constructor for class fc.jdbc.dbo.Generate
 
get(String) - Static method in class fc.io.Log
Returns a SystemLog with the specified name.
get(Class) - Static method in class fc.io.Log
Convenience method that returns the log named after the package that the specified class belong to.
get(Object) - Static method in class fc.io.Log
Convenience method that returns a log named after the package that the specified object's class belong to.
get(int) - Method in class fc.util.Args
Returns an argument by positional value.
get(String) - Method in class fc.util.Args
Returns the value corresponding to the specified flag.
get(String, String) - Method in class fc.util.Args
Returns the value corresponding to the specified flag.
get(Object) - Method in interface fc.util.cache.Cache
Returns the cached item specified by the key.
get(Object) - Method in class fc.util.cache.MemoryCache
 
get(String) - Method in class fc.util.FilePropertyMgr
 
get(String) - Method in class fc.util.PropertyMgr
Returns the property associated with the specified key or null if the property was not found.
get(String, String) - Method in class fc.util.PropertyMgr
Returns the property associated with the specified key.
get(String, String) - Method in class fc.util.Table
Returns the object at row, col or null if the specified row or col do not exist.
get(int, String) - Method in class fc.util.Table
Returns the object at row, col or null if the specified row or col do not exist.
get(String, int) - Method in class fc.util.Table
Returns the object at row, col or null if the specified row or col do not exist.
get(int, int) - Method in class fc.util.Table
Returns the object at row, col or null if the specified row or col do not exist.
get() - Method in class fc.util.ThreadLocalCalendar
 
get() - Method in class fc.util.ThreadLocalDateFormat
 
ge