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

A

addError(String) - Method in class org.erif.util.FormUtil
 
addError(String, String) - Method in class org.erif.util.FormUtil
 
addNode(long, Connection) - Method in class org.erif.util.DbTree
 
AMEX - Static variable in class org.erif.util.CCUtil
 
ampm - Static variable in class org.erif.util.DateUtil
Returns common name for AM and PM, plus java.util.Calendar constants for each
arrayToVector(Object[]) - Static method in class org.erif.util.JavaUtil
Creates a new Vector with the contents of the Object array.
ASCENDING - Static variable in class org.erif.util.SimpleCompare
 

B

build(Hashtable, String) - Static method in class org.erif.util.TextUtil
given a hash of mail merge field strings, returns the properly merged body; mail merge fields defined by (|fieldname|); fields with no corresponding value will be returned blank
byteArrayToHex(byte[]) - Static method in class org.erif.util.JavaUtil
 
byteToHex(byte) - Static method in class org.erif.util.JavaUtil
 

C

CARTBLANCHE - Static variable in class org.erif.util.CCUtil
 
CCUtil - class org.erif.util.CCUtil.
General credit card constants and information.
CCUtil() - Constructor for class org.erif.util.CCUtil
 
clean(String) - Static method in class org.erif.util.HTMLUtil
removes open brackets from text, neutralizing any HTML present
clearErrors() - Method in class org.erif.util.FormUtil
 
compare(Object, Object) - Method in class org.erif.util.SimpleCompare
 
compare(Object, Object, Method, boolean) - Method in class org.erif.util.SimpleCompare
 
compareTo(Object) - Method in class org.erif.util.SimpleDate
 
create(long, Connection) - Static method in class org.erif.util.DbTree
 
create(long, long, Connection) - Static method in class org.erif.util.DbTree
 
crypt(String) - Static method in class org.erif.util.CryptUtil
 
crypt(String, String) - Static method in class org.erif.util.CryptUtil
 
CryptUtil - class org.erif.util.CryptUtil.
class borrowed and partially updated for handling encrypted passwords the way unix crypt does.

D

DateUtil - class org.erif.util.DateUtil.
handy class with simple defaults for date formats and some html niftiness
DateUtil() - Constructor for class org.erif.util.DateUtil
 
DateUtil(Date) - Constructor for class org.erif.util.DateUtil
 
day - Variable in class org.erif.util.SimpleDate
 
days - Static variable in class org.erif.util.DateUtil
Returns an int array of days of the month.
DbTree - class org.erif.util.DbTree.
 
DbTree() - Constructor for class org.erif.util.DbTree
 
DbUtil - class org.erif.util.DbUtil.
DbUtil needs to be init with the "dburl" to get connections from.
DbUtil() - Constructor for class org.erif.util.DbUtil
 
depth - Variable in class org.erif.util.DbTree
 
DESCENDING - Static variable in class org.erif.util.SimpleCompare
 
digitToHex(int) - Static method in class org.erif.util.JavaUtil
 
DINERS - Static variable in class org.erif.util.CCUtil
 
DISCOVER - Static variable in class org.erif.util.CCUtil
 
displayLong() - Method in class org.erif.util.DateUtil
 
displayLong(Date) - Static method in class org.erif.util.DateUtil
 
displayLong(Date, String) - Static method in class org.erif.util.DateUtil
 
displayLong(String) - Method in class org.erif.util.DateUtil
 
displayShort() - Method in class org.erif.util.DateUtil
 
displayShort(Date) - Static method in class org.erif.util.DateUtil
 
displayShort(Date, String) - Static method in class org.erif.util.DateUtil
 
displayShort(String) - Method in class org.erif.util.DateUtil
 
displayShrunk() - Method in class org.erif.util.DateUtil
 
displayShrunk(Date) - Static method in class org.erif.util.DateUtil
 
displayShrunk(Date, String) - Static method in class org.erif.util.DateUtil
 
displayShrunk(String) - Method in class org.erif.util.DateUtil
 

E

emptyToNull(String) - Static method in class org.erif.util.TextUtil
Takes a string and returns null if it's empty, else returns the original string
emptyToNull(String, String) - Static method in class org.erif.util.TextUtil
Takes a string and returns null if it matches the empty string, else returns the original string
encode(String) - Static method in class org.erif.util.HTMLUtil
 
ENROUTE - Static variable in class org.erif.util.CCUtil
 
equals(Object) - Method in class org.erif.util.DbTree
 
exceptionToString(Throwable) - Static method in class org.erif.util.JavaUtil
 

F

fixNull(String) - Static method in class org.erif.util.TextUtil
returns the original string value, converting nulls to blanks
forestid - Variable in class org.erif.util.DbTree
 
FormUtil - class org.erif.util.FormUtil.
for holding a list of errors, named errors, or some combination thereof; for keeping track of, for instance, validation errors while rolling through processing of a form
FormUtil() - Constructor for class org.erif.util.FormUtil
 

G

getChildren(Connection) - Method in class org.erif.util.DbTree
returns all nodes "below" the given node
getChildrenCount() - Method in class org.erif.util.DbTree
 
getConnection() - Static method in class org.erif.util.DbUtil
Gets a new Connection from the pool manager
getDate() - Method in class org.erif.util.DateUtil
 
getDay() - Method in class org.erif.util.SimpleDate
 
getDepth() - Method in class org.erif.util.DbTree
 
getDirectChildren(Connection) - Method in class org.erif.util.DbTree
returns all nodes "below" the given node
getEmail(String) - Static method in class org.erif.util.TextUtil
 
getError(String) - Method in class org.erif.util.FormUtil
 
getErrorKeys() - Method in class org.erif.util.FormUtil
 
getErrors() - Method in class org.erif.util.FormUtil
 
getForestId() - Method in class org.erif.util.DbTree
 
getHeightWidthRatio(Image) - Static method in class org.erif.util.ImageUtil
 
getId() - Method in class org.erif.util.DbTree
 
getImage(byte[]) - Static method in class org.erif.util.ImageUtil
 
getImage(File) - Static method in class org.erif.util.ImageUtil
 
getInputForm() - Method in class org.erif.util.DateUtil
 
getInputForm(Date) - Static method in class org.erif.util.DateUtil
Creates an HTML form element for inputting a date
getLeft() - Method in class org.erif.util.DbTree
 
getLongIdentifiers(Iterator, Class, String) - Static method in class org.erif.util.JavaUtil
builds a array of longs from an array of objects extracting via parameterless method.
getMonth() - Method in class org.erif.util.SimpleDate
 
getMonthInputForm() - Method in class org.erif.util.DateUtil
 
getMonthInputForm(Date) - Static method in class org.erif.util.DateUtil
 
getMonthInputForm(int) - Static method in class org.erif.util.DateUtil
Creates an HTML form element for inputting a date's month
getParents(Connection) - Method in class org.erif.util.DbTree
returns all nodes "above" the given node
getReferrer(HttpServletRequest) - Static method in class org.erif.util.HTMLUtil
returns referring page as String from HTTPServletRequest
getRefIds(DbTree[]) - Static method in class org.erif.util.DbTree
 
getRemoteAddr(HttpServletRequest) - Static method in class org.erif.util.HTMLUtil
returns remote ip as String from HTTPServletRequest
getReverseHash(DbTree[]) - Static method in class org.erif.util.DbTree
returns a hash from refid to the actual DbTree node
getRight() - Method in class org.erif.util.DbTree
 
getSalt(String) - Static method in class org.erif.util.CryptUtil
 
getThread(long, Connection) - Static method in class org.erif.util.DbTree
returns the thread of treeid in the default forest
getThread(long, long, Connection) - Static method in class org.erif.util.DbTree
returns the thread of treeid in the given forest
getTopLevel(Connection) - Static method in class org.erif.util.DbTree
 
getTopLevel(long, Connection) - Static method in class org.erif.util.DbTree
 
getTopOfThread(long, Connection) - Static method in class org.erif.util.DbTree
returns the "top" treenode for the given refid for the default forest
getTopOfThread(long, long, Connection) - Static method in class org.erif.util.DbTree
returns the "top" treenode for the given refid and forest
getTree(long, Connection) - Static method in class org.erif.util.DbTree
returns treenode for the given refid for the default forest
getTree(long, long, Connection) - Static method in class org.erif.util.DbTree
returns treenode for the given refid and forest
getTreeId() - Method in class org.erif.util.DbTree
 
getTypeFromNumber(String) - Static method in class org.erif.util.CCUtil
 
getWidthHeightRatio(Image) - Static method in class org.erif.util.ImageUtil
 
getYear() - Method in class org.erif.util.SimpleDate
 

H

hasError(String) - Method in class org.erif.util.FormUtil
 
hasErrors() - Method in class org.erif.util.FormUtil
 
hash(Iterator, Class, String) - Static method in class org.erif.util.JavaUtil
builds a hash from an array of objects keying to the given method.
hash(Iterator, Class, String, String) - Static method in class org.erif.util.JavaUtil
builds a hash from an array of objects keying one method to the values of another.
hours - Static variable in class org.erif.util.DateUtil
Returns an int array of hours (12h)
HTMLUtil - class org.erif.util.HTMLUtil.
a grab bag of html niftiness.
HTMLUtil() - Constructor for class org.erif.util.HTMLUtil
 

I

id - Variable in class org.erif.util.DbTree
 
ImageUtil - class org.erif.util.ImageUtil.
TODO: FIX: NOTE TO SELF: getScaledInstance can take negatives for width or height, thus scaling that parameter to maintain the aspect ratio of the original image dimensions !!!
ImageUtil() - Constructor for class org.erif.util.ImageUtil
 
init() - Method in class org.erif.util.DbUtil
 
init(ResultSet) - Method in class org.erif.util.DbTree
 
INVALID - Static variable in class org.erif.util.CCUtil
 
invertHashtable(Hashtable) - Static method in class org.erif.util.JavaUtil
returns a hashtable that has as its keys the values of the old table.
isNumOnly(String) - Static method in class org.erif.util.TextUtil
Checks whether the given string contains only digits
isValidEmail(String) - Static method in class org.erif.util.TextUtil
makes sure an email address is reasonably valid.

J

JavaUtil - class org.erif.util.JavaUtil.
mostly for conveniently parsing an exception as a String
JavaUtil() - Constructor for class org.erif.util.JavaUtil
 
JCB - Static variable in class org.erif.util.CCUtil
 

L

left - Variable in class org.erif.util.DbTree
 
listToIntArray(String) - Static method in class org.erif.util.TextUtil
Given a comma-delimited list of numbers, provides an int array if the list contains only numbers and commas.
listToStringArray(String) - Static method in class org.erif.util.TextUtil
Given a comma-delimited list of strings, provides an string array.
longDate - Static variable in class org.erif.util.DateUtil
 

M

main(String[]) - Static method in class org.erif.util.CCUtil
 
main(String[]) - Static method in class org.erif.util.CryptUtil
 
main(String[]) - Static method in class org.erif.util.TextUtil
test; can currently call "pad"
makeList(int[]) - Static method in class org.erif.util.TextUtil
Given a int[], returns a comma-delimited list of its values.
makeList(long[]) - Static method in class org.erif.util.TextUtil
Given a long[], returns a comma-delimited list of its values.
makeList(String[]) - Static method in class org.erif.util.TextUtil
Given a String[], returns a comma-delimited list of its values.
makeList(String[], String) - Static method in class org.erif.util.TextUtil
Given a String[], returns a comma-delimited list of its values.
makeMultiSelectList(String, String[][]) - Static method in class org.erif.util.HTMLUtil
Provides HTML for a multiselect box containing the items in the parameters
makeMultiSelectList(String, String[][], String[]) - Static method in class org.erif.util.HTMLUtil
Provides HTML for a multiselect box containing the items in the parameters; automatically defaults to previously selected statement
makeRandomAlNum(int) - Static method in class org.erif.util.TextUtil
 
makeSelectList(String, int[], int) - Static method in class org.erif.util.HTMLUtil
Provides HTML for a select box containing the items in the parameters; automatically defaults to previously selected statement
makeSelectList(String, String[][], String) - Static method in class org.erif.util.HTMLUtil
Provides HTML for a select box containing the items in the parameters; automatically defaults to previously selected statement
makeSelectList(String, String[][], String, String) - Static method in class org.erif.util.HTMLUtil
Provides HTML for a select box containing the items in the parameters; automatically defaults to previously selected statement
makeSelectList(String, String[], String) - Static method in class org.erif.util.HTMLUtil
Provides HTML for a select box containing the items in the parameters; automatically defaults to previously selected statement
MASTERCARD - Static variable in class org.erif.util.CCUtil
 
MINLENGTH - Static variable in class org.erif.util.CCUtil
 
minutes - Static variable in class org.erif.util.DateUtil
Returns a string array of minutes (00/15/30/45)
mod10(String) - Static method in class org.erif.util.CCUtil
 
month - Variable in class org.erif.util.SimpleDate
 
months - Static variable in class org.erif.util.DateUtil
Returns a String array translating common names for months (displayed in date pulldown) to java.util.Calendar constants

N

newlineToBR(String) - Static method in class org.erif.util.HTMLUtil
replaces newlines with <BR>'s
newlineToLI(String) - Static method in class org.erif.util.HTMLUtil
replaces newlines with <BR>'s
nullToEmpty(String) - Static method in class org.erif.util.TextUtil
Takes a string and returns the empty string if null, else returns the original string.
nullToEmpty(String, String) - Static method in class org.erif.util.TextUtil
Takes a string and returns the empty string if null, else returns the original string.

O

org.erif.util - package org.erif.util
 

P

pad(String, String, int) - Static method in class org.erif.util.TextUtil
Pads a string to a given length, padding to the left
pad(String, String, int, boolean) - Static method in class org.erif.util.TextUtil
Pads a string to a given length, padding to the left or right
parseInputForm(HttpServletRequest) - Static method in class org.erif.util.DateUtil
 
populate(Hashtable, String) - Static method in class org.erif.util.TextUtil
given a hash of form name/value pairs and a "letter", returns the properly merged body; fields are defined by (|fieldname|); fields with no corresponding value will be returned blank
populate(Hashtable, String, boolean) - Static method in class org.erif.util.TextUtil
 
populate(String, String, String) - Static method in class org.erif.util.TextUtil
 
POSTGRESQL_DATE - Static variable in class org.erif.util.DateUtil
 
POSTGRESQL_TIMESTAMP - Static variable in class org.erif.util.DateUtil
 

R

randomSalt() - Static method in class org.erif.util.CryptUtil
 
readBytes(File) - Static method in class org.erif.util.JavaUtil
 
readFile(String) - Static method in class org.erif.util.TextUtil
given a filename, return the contents of the file
readStream(InputStream) - Static method in class org.erif.util.TextUtil
given a stream, return the contents of the stream
remove(Connection) - Method in class org.erif.util.DbTree
removes the given node (nodes need to be unique to their tree, else ALL references will be removed when one is, and things won't update properly).
repeat(String, int) - Static method in class org.erif.util.TextUtil
repeats a given String n times
replaceString(String, String, String) - Static method in class org.erif.util.TextUtil
replaces all occurrences of old with new in the specified text.
right - Variable in class org.erif.util.DbTree
 
rot13(String) - Static method in class org.erif.util.TextUtil
transforms text rot13-style, baybee

S

scale(Image, int, int) - Static method in class org.erif.util.ImageUtil
 
scale(Image, int, int, int) - Static method in class org.erif.util.ImageUtil
 
scaleToHeight(Image, int) - Static method in class org.erif.util.ImageUtil
 
scaleToLongest(Image, int) - Static method in class org.erif.util.ImageUtil
 
scaleToShortest(Image, int) - Static method in class org.erif.util.ImageUtil
 
scaleToWidth(Image, int) - Static method in class org.erif.util.ImageUtil
 
setDate(Date) - Method in class org.erif.util.DateUtil
 
setDay(int) - Method in class org.erif.util.SimpleDate
 
setDay(String) - Method in class org.erif.util.SimpleDate
 
setDbURL(String) - Static method in class org.erif.util.DbUtil
 
setMonth(int) - Method in class org.erif.util.SimpleDate
 
setMonth(String) - Method in class org.erif.util.SimpleDate
 
setYear(int) - Method in class org.erif.util.SimpleDate
 
setYear(String) - Method in class org.erif.util.SimpleDate
 
shortDate - Static variable in class org.erif.util.DateUtil
 
shrunkDate - Static variable in class org.erif.util.DateUtil
 
shrunkTime - Static variable in class org.erif.util.DateUtil
 
SimpleCompare - class org.erif.util.SimpleCompare.
For the sorting of objects by the results of a given method Usage: pass in to Array.sort().
SimpleCompare(Class, String, boolean) - Constructor for class org.erif.util.SimpleCompare
 
SimpleCompare(Class, String, boolean, String, boolean) - Constructor for class org.erif.util.SimpleCompare
 
SimpleDate - class org.erif.util.SimpleDate.
new, simple, unfinished class for holding dates where not all values might be known.
SimpleDate() - Constructor for class org.erif.util.SimpleDate
 
SimpleDate(int, int, int) - Constructor for class org.erif.util.SimpleDate
 
straighten(Object[][]) - Static method in class org.erif.util.JavaUtil
straighten an Object[][] into an Object[], essentially concatenating each following piece
stripNonNumerics(String) - Static method in class org.erif.util.TextUtil
removes all non-numeric characters from a String; originally intended for use with phone numbers that have those pesky -, (, ) characters, and spaces.

T

TextUtil - class org.erif.util.TextUtil.
this is partially superseded by java2 v1.4, but, eh...
TextUtil() - Constructor for class org.erif.util.TextUtil
 
toInt(String) - Method in class org.erif.util.SimpleDate
 
toString() - Method in class org.erif.util.SimpleDate
 
treeid - Variable in class org.erif.util.DbTree
 
trim(String, String, int) - Static method in class org.erif.util.TextUtil
 

U

UNKNOWN - Static variable in class org.erif.util.DateUtil
 

V

validate(String, String) - Static method in class org.erif.util.CryptUtil
 
verify(String) - Static method in class org.erif.util.CCUtil
 
verify(String, int) - Static method in class org.erif.util.CCUtil
validates based on card type and mod10 rule; please use one of the appropriate class constants to specify the credit card type.
VISA - Static variable in class org.erif.util.CCUtil
 

W

wrap(String, int) - Static method in class org.erif.util.TextUtil
word-wraps a string
wrapForEmail(String) - Static method in class org.erif.util.TextUtil
word-wraps a string to 72 characters
writeAsJPEG(Image, OutputStream) - Static method in class org.erif.util.ImageUtil
 
writeAsJPEG(Image, OutputStream, float) - Static method in class org.erif.util.ImageUtil
 

Y

year - Variable in class org.erif.util.SimpleDate
 
years - Static variable in class org.erif.util.DateUtil
Returns an int array of years

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

Copyright © 2003 - kaolin fire