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

A

addBcc(String) - Method in class com.darwinsys.util.Mailer
Add one "bcc" recipient
addCc(String) - Method in class com.darwinsys.util.Mailer
Add one "cc" recipient
addTo(String) - Method in class com.darwinsys.util.Mailer
Add one "to" recipient
ArrayListTableModel - class com.darwinsys.util.ArrayListTableModel.
JTable model for ArrayList of heterogeneous objects.
ArrayListTableModel(ArrayList) - Constructor for class com.darwinsys.util.ArrayListTableModel
Constructor requires the list of objects
ArrayListTablePanel - class com.darwinsys.util.ArrayListTablePanel.
 
ArrayListTablePanel(Class, ArrayList, ArrayListTableModel) - Constructor for class com.darwinsys.util.ArrayListTablePanel
Construct new ArrayListTablePanel

B

bccList - Variable in class com.darwinsys.util.Mailer
The BCC list, as Strings.
BLKSIZ - Static variable in class com.darwinsys.util.FileIO
The size of blocking to use
body - Variable in class com.darwinsys.util.Mailer
The text of the message.

C

ccList - Variable in class com.darwinsys.util.Mailer
The CC list, as Strings.
center(Window) - Static method in class com.darwinsys.util.UtilGUI
Center a Window, Frame, JFrame, Dialog, etc., but do it the American Spelling Way :-)
centre(Window) - Static method in class com.darwinsys.util.UtilGUI
Centre a Window, Frame, JFrame, Dialog, etc.
close() - Method in class com.darwinsys.util.FileProperties
 
columnClasses - Variable in class com.darwinsys.util.ArrayListTableModel
List of column names, must be provided by subclass.
columnNames - Variable in class com.darwinsys.util.ArrayListTableModel
List of column names, must be provided by subclass.
copyFile(InputStream, OutputStream, boolean) - Static method in class com.darwinsys.util.FileIO
Copy a file from an opened InputStream to opened OutputStream
copyFile(Reader, Writer, boolean) - Static method in class com.darwinsys.util.FileIO
Copy a file from an opened Reader to opened Writer
copyFile(String, PrintWriter, boolean) - Static method in class com.darwinsys.util.FileIO
Copy a file from a filename to a PrintWriter.
copyFile(String, String) - Static method in class com.darwinsys.util.FileIO
Copy a file from one filename to another
copyFileBuffered(String, String) - Method in class com.darwinsys.util.FileIO
Copy a data file from one filename to another, alternate method.
cp - Variable in class com.darwinsys.util.SimpleHelp
The contentpane

D

Debug - class com.darwinsys.util.Debug.
Utilities for debugging
Debug() - Constructor for class com.darwinsys.util.Debug
 
REF="com/darwinsys/util/MutableInteger.html#decr()">decr() - Method in class com.darwinsys.util.MutableInteger
 
done - Variable in class com.darwinsys.util.GetOpt
Internal flag - whether we are done all the options
DONE - Static variable in class com.darwinsys.util.GetOpt
Public constant for "no more options" XXX should switch to hasNext()/next() pattern.
doSend() - Method in class com.darwinsys.util.Mailer
Send the message.
dotag(PrintWriter, String) - Static method in class com.darwinsys.util.Tag
Output an empty tag
doTag(PrintWriter, String, String) - Static method in class com.darwinsys.util.Tag
Output an body-content tag

E

END - Static variable in class com.darwinsys.util.Tag
 
endTag(PrintWriter, String) - Static method in class com.darwinsys.util.Tag
Output an end tag
ExecAndPrint - class com.darwinsys.util.ExecAndPrint.
ExecAndPrint runs a program using Runtime.exec(), read the program's output, and returns its exit status.
ExecAndPrint() - Constructor for class com.darwinsys.util.ExecAndPrint
 

F

FileIO - class com.darwinsys.util.FileIO.
Some simple file I-O primitives reimplemented in Java.
FileIO() - Constructor for class com.darwinsys.util.FileIO
 
fileName - Variable in class com.darwinsys.util.FileProperties
 
FileProperties - class com.darwinsys.util.FileProperties.
The FileProperties class extends Properties, "a persistent set of properties [that] can be saved to a stream or loaded from a stream".
FileProperties(String) - Constructor for class com.darwinsys.util.FileProperties
Construct a FileProperties given a fileName.
FileProperties(String, Properties) - Constructor for class com.darwinsys.util.FileProperties
Construct a FileProperties given a fileName and a list of default properties.
format(Object, StringBuffer, FieldPosition) - Method in class com.darwinsys.util.StringFormat
Format a String
from - Variable in class com.darwinsys.util.Mailer
The sender's email address

G

getBccList() - Method in class com.darwinsys.util.Mailer
Get bcclist, as an array of Strings
getBody() - Method in class com.darwinsys.util.Mailer
Get message
getCached(int) - Method in class com.darwinsys.util.ArrayListTableModel
Cache one most-recently-used item.
getCcList() - Method in class com.darwinsys.util.Mailer
Get cclist, as an array of Strings
getColumnClass(int) - Method in class com.darwinsys.util.ArrayListTableModel
Get the class of a given column, from the list provided by subclass
getColumnName(int) - Method in class com.darwinsys.util.ArrayListTableModel
Get the name of a given column, from the list provided by subclass
getFrom() - Method in class com.darwinsys.util.Mailer
Get from
GetOpt - class com.darwinsys.util.GetOpt.
A class to implement UNIX-style (single-character) command arguments
GetOpt(String) - Constructor for class com.darwinsys.util.GetOpt
 
getopt(String[]) - Method in class com.darwinsys.util.GetOpt
Return one argument.
getOptInd() - Method in class com.darwinsys.util.GetOpt
Retrieve the option index
getRowCount() - Method in class com.darwinsys.util.ArrayListTableModel
Returns the number of objects in the list.
getString(ResourceBundle, String, String) - Static method in class com.darwinsys.util.I18N
Just get a String (for dialogs, labels, etc.)
getSubject() - Method in class com.darwinsys.util.Mailer
Get subject
getTable() - Method in class com.darwinsys.util.ArrayListTablePanel
Return a reference to the JTable.
getToList() - Method in class com.darwinsys.util.Mailer
Get tolist, as an array of Strings
REF="com/darwinsys/util/MutableInteger.html#getValue()">getValue() - Method in class com.darwinsys.util.MutableInteger
 

H

hyperlinkUpdate(HyperlinkEvent) - Method in class com.darwinsys.util.SimpleHelp
Notification of a change relative to a hyperlink.

I

I18N - class com.darwinsys.util.I18N.
Set of convenience routines for internationalized code.
I18N() - Constructor for class com.darwinsys.util.I18N
 
incr() - Method in class com.darwinsys.util.MutableInteger
 
inputStreamToString(InputStream) - Static method in class com.darwinsys.util.FileIO
Read the content of a Stream into a String
inStr - Variable in class com.darwinsys.util.FileProperties
The InputStream for loading
invalidateCache() - Method in class com.darwinsys.util.ArrayListTableModel
Invalidate the cache.
isCellEditable(int, int) - Method in class com.darwinsys.util.ArrayListTableModel
All cells are editable.
isComplete() - Method in class com.darwinsys.util.Mailer
Check if all required fields have been set before sending.
isEnabled(String) - Static method in class com.darwinsys.util.Debug
Static method to see if a given category of debugging is enabled.
isVerbose() - Method in class com.darwinsys.util.Mailer
Get verbose

J

JUST_CENTER - Static variable in class com.darwinsys.util.StringFormat
 
JUST_CENTRE - Static variable in class com.darwinsys.util.StringFormat
 
JUST_LEFT - Static variable in class com.darwinsys.util.StringFormat
 
JUST_RIGHT - Static variable in class com.darwinsys.util.StringFormat
Constant for right-justified Strings.

L

LB - Static variable in class com.darwinsys.util.Tag
 
list - Variable in class com.darwinsys.util.ArrayListTablePanel
The list of objects we are viewing
load() - Method in class com.darwinsys.util.FileProperties
Load the properties from the saved filename.

M

m - Variable in class com.darwinsys.util.ArrayListTableModel
The list of Method object
Mailer - class com.darwinsys.util.Mailer.
Mailer.
Mailer() - Constructor for class com.darwinsys.util.Mailer
 
mailHost - Variable in class com.darwinsys.util.Mailer
The SMTP relay host
main(String[]) - Static method in class com.darwinsys.util.StrSubs
A simple main for testing
mkButton(ResourceBundle, String) - Static method in class com.darwinsys.util.I18N
Convenience routine to make a JButton
mkDialog(ResourceBundle, JFrame, String, String, int) - Static method in class com.darwinsys.util.I18N
Show a JOptionPane message dialog
mkMenu(ResourceBundle, String) - Static method in class com.darwinsys.util.I18N
Convenience routine to make a JMenu
mkMenuItem(ResourceBundle, String, String) - Static method in class com.darwinsys.util.I18N
Convenience routine to make a JMenuItem
model - Variable in class com.darwinsys.util.ArrayListTablePanel
The JTable's data (model)
msToSecs(long) - Static method in class com.darwinsys.util.QuickTimeFormat
Convert a long ("time_t") to seconds and thousandths.
MutableInteger - class com.darwinsys.util.MutableInteger.
A MutableInteger is like an Integer but mutable, to avoid the excess object creation involved in c = new Integer(c.getInt()+1) which can get expensive if done a lot.
MutableInteger() - Constructor for class com.darwinsys.util.MutableInteger
 
MutableInteger(int) - Constructor for class com.darwinsys.util.MutableInteger
 

O

objectClass - ariable in class com.darwinsys.util.ArrayListTablePanel
The kind of thing that is in the list.
optarg - Variable in class com.darwinsys.util.GetOpt
The option argument, if there is one.
optarg() - Method in class com.darwinsys.util.GetOpt
Retrieve the current option argument
optind - Variable in class com.darwinsys.util.GetOpt
Where we are in the options
outStr - Variable in class com.darwinsys.util.FileProperties
The OutputStream for loading

P

pad(StringBuffer, int) - Method in class com.darwinsys.util.StringFormat
 
parseInt(String) - Static method in class com.darwinsys.util.MutableInteger
 
parseObject(String, ParsePosition) - Method in class com.darwinsys.util.StringFormat
ParseObject is required by Format interface, but not useful here.
pattern - Variable in class com.darwinsys.util.GetOpt
The set of characters to look for
println(String, Object) - Static method in class com.darwinsys.util.Debug
Same thing but for non-String objects (think of the other form as an optimization of this).
println(String, String) - Static method in class com.darwinsys.util.Debug
Static method to println a given message if the given category is enabled for debugging.

Q

QuickTimeFormat - class com.darwinsys.util.QuickTimeFormat.
Just some quick-and-dirty time format.
QuickTimeFormat() - Constructor for class com.darwinsys.util.QuickTimeFormat
 

R

r - Static variable in class com.darwinsys.util.ExecAndPrint
Need a Runtime object for any of these methods
RB - Static variable in class com.darwinsys.util.Tag
 
readerToString(Reader) - Static method in class com.darwinsys.util.FileIO
Read the entire content of an Reader into a String
readLine(String) - Static method in class com.darwinsys.util.FileIO
Open a file and read the first line from it.
rewind() - Method in class com.darwinsys.util.GetOpt
 
run(String) - Static method in class com.darwinsys.util.ExecAndPrint
Run the command given as a String, printing its output to System.out
run(String[]) - Static method in class com.darwinsys.util.ExecAndPrint
Run the command given as a String[], print its output to System.out
run(String[], Writer) - Static method in class com.darwinsys.util.ExecAndPrint
Run the command given as a String[], print its output to "out"
run(String, Writer) - Static method in class com.darwinsys.util.ExecAndPrint
Run the command given as a String, print its output to "out"

S

save() - Method in class com.darwinsys.util.FileProperties
Save the properties for later loading.
send(String, String, String, String, String) - Static method in class com.darwinsys.util.Mailer
Convenience method that does it all with one call.
session - Variable in class com.darwinsys.util.Mailer
The javamail session object.
setBccList(ArrayList) - Method in class com.darwinsys.util.Mailer
Set bcc list to an ArrayList of Strings
setBccList(String) - Method in class com.darwinsys.util.Mailer
Set bcc as a string like "tom, mary, robin@host".
setBody(String) - Method in class com.darwinsys.util.Mailer
Set message
setCcList(ArrayList) - Method in class com.darwinsys.util.Mailer
Set cc list to an ArrayList of Strings
setCcList(String) - Method in class com.darwinsys.util.Mailer
Set cc as a string like "tom, mary, robin@host".
setFrom(String) - Method in class com.darwinsys.util.Mailer
Set from
setServer(String) - Method in class com.darwinsys.util.Mailer
 
setSubject(String) - Method in class com.darwinsys.util.Mailer
Set subject
setToList(ArrayList) - Method in class com.darwinsys.util.Mailer
Set to list to an ArrayList of Strings
setToList(String) - Method in class com.darwinsys.util.Mailer
Set to as a string like "tom, mary, robin@host".
setValue(int) - Method in class com.darwinsys.util.MutableInteger
 
setVerbose(boolean) - Method in class com.darwinsys.util.Mailer
Set verbose
SimpleHelp - class com.darwinsys.util.SimpleHelp.
 
SimpleHelp(String) - Constructor for class com.darwinsys.util.SimpleHelp
 
startTag(PrintWriter, String) - Static method in class com.darwinsys.util.Tag
Output a start tag
StringFormat - class com.darwinsys.util.StringFormat.
Bare-minimum "String formatter": format a string to a given maximum length with left, centre, or right justification.
StringFormat(int, int) - Constructor for class com.darwinsys.util.StringFormat
 
StrSubs - class com.darwinsys.util.StrSubs.
A few String functions that are missing from String
StrSubs() - Constructor for class com.darwinsys.util.StrSubs
 
subject - Variable in class com.darwinsys.util.Mailer
The subject of the message.
subst(String, String, String) - Static method in class com.darwinsys.util.StrSubs
Replace oldstr with newstr in instring

T

table - Variable in class com.darwinsys.util.ArrayListTablePanel
The JTable itself
Tag - class com.darwinsys.util.Tag.
A series of methods for writing HTML/XML tags.
Tag() - Constructor for class com.darwinsys.util.Tag
 
tokenize(String) - Method in class com.darwinsys.util.Mailer
Convert a list of addresses to an ArrayList.
toList - Variable in class com.darwinsys.util.Mailer
The recipient ("To:"), as Strings.
toString() - Method in class com.darwinsys.util.MutableInteger
 
toString(int) - Static method in class com.darwinsys.util.MutableInteger
 

U

UtilGUI - class com.darwinsys.util.UtilGUI.
Utilities for GUI work.
UtilGUI() - Constructor for class com.darwinsys.util.UtilGUI
 

V

verbose - Variable in class com.darwinsys.util.Mailer
The verbosity setting

W

WindowCloser - class com.darwinsys.util.WindowCloser.
A WindowCloser - watch for Window Closing events, and follow them up with setVisible(false) and dispose().
WindowCloser(Window) - Constructor for class com.darwinsys.util.WindowCloser
 
WindowCloser(Window, boolean) - Constructor for class com.darwinsys.util.WindowCloser
 
windowClosing(WindowEvent) - Method in class com.darwinsys.util.WindowCloser
 

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