Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
Y
Z
_
T
TestCase
- class com.marringtons.util.
TestCase
.
When using junit, use this class as a wrapper around the junit version to provide additional functionality.
TestCase()
- Constructor for class com.marringtons.util.
TestCase
Default constructer - used when calling test cases directly.
TestCase(String)
- Constructor for class com.marringtons.util.
TestCase
Constructor with package name
ThreadData
- class com.marringtons.util.
ThreadData
.
This class adds thread specific data storage and retrieval - important for client/server systems to keep conversation specific information.
Time
- class com.marringtons.time.
Time
.
An object for working with the time of day.
Time()
- Constructor for class com.marringtons.time.
Time
Default constructor sets the time for now - using the local computer rtc.
Time(long)
- Constructor for class com.marringtons.time.
Time
Set the time given a time in milliseconds.
Time(int, int, int, int, int)
- Constructor for class com.marringtons.time.
Time
Set the time object given a time in components.
Time(String)
- Constructor for class com.marringtons.time.
Time
Set the time given some user entered time information - flexible format.
Timer
- class com.marringtons.time.
Timer
.
Use to measure and print timing information in the code.
Timer()
- Constructor for class com.marringtons.time.
Timer
The default constructor will instantiate and start a timer object.
Timer(String)
- Constructor for class com.marringtons.time.
Timer
This constructor attaches a text message to a timer for later display.
Transaction
- class com.marringtons.object.
Transaction
.
The Adept database includes a session based transaction wrapper for combining database updates so that they can all be committed or discarded together.
Transaction()
- Constructor for class com.marringtons.object.
Transaction
Translator
- class com.marringtons.object.
Translator
.
A Translator is a class to translate strings to internal format fields in DAOs.
Translator()
- Constructor for class com.marringtons.object.
Translator
tempDir
- Static variable in class com.marringtons.file.
Path
Directory for creating temporary files.
testTest()
- Method in class com.marringtons.util.
TestCase
Empty test in case this is picked up by test suite
throwException()
- Method in class com.marringtons.xml.
XMLparser
Normally returns OK and uses hasErrors() to indicate problems.
timeInMilliseconds
- Variable in class com.marringtons.time.
Date
Time object set to in milliseconds since 1/1/1970 (epoch time).
timeOfDay()
- Method in class com.marringtons.time.
Date
Retrieve time of day for this date.
timeStamp()
- Method in class com.marringtons.time.
Date
Date/time stamp - typically used in logs.
timeStamp
- Variable in class com.marringtons.util.
Session.PersistentData
Time of last update so old sessions can be removed.
times(Fraction)
- Method in class com.marringtons.number.
Fraction
Multiply two fractions.
toArray()
- Method in class com.marringtons.net.HTTP.
Header
Used by exec as the CGI environment.
toArray(Collection)
- Static method in class com.marringtons.string.
Strings
It is common to collect strings in an ArrayList but need an array to return.
toArray(Matcher)
- Static method in class com.marringtons.string.
Strings
Create an array of strings from the return groups of a pattern match.
toBoolean(String)
- Static method in class com.marringtons.string.
Convert
Convert a string to boolean.
toHTML()
- Method in class com.marringtons.number.
Fraction
String representation of a fractional number - making fractional part a superscript.
toProperties(Properties, String, Object, Formatter)
- Static method in class com.marringtons.object.
ObjectScraper
Convert a Java Object to a name/value pair set of string properties.
toProperties(Properties, String, DAO, Formatter)
- Static method in class com.marringtons.object.
ObjectScraper
Convert a Java Object to a name/value pair set of string properties.
toString()
- Method in class com.marringtons.net.HTTP.
Client
toString()
- Method in class com.marringtons.net.HTTP.
Header
Convert HTTP header to a viable string ready to send to the browser.
toString()
- Method in class com.marringtons.number.
Fraction
String representation of a fractional number is 1, 1-1/3 or 2/5.
toString()
- Method in class com.marringtons.object.
DAO
The String representation of an object is in XML.
toString()
- Method in class com.marringtons.object.
POJO
The String representation of an object is in XML.
toString(boolean)
- Static method in class com.marringtons.string.
Convert
Convert a Boolean to a readable string boolean check = askUser( "Shall I check?")
toString(boolean, String)
- Static method in class com.marringtons.string.
Convert
Convert a Boolean to a readable string string = Convert.toString( flag, "yes"); string = Convert.toString( flag, "oui");
toString()
- Method in class com.marringtons.string.
Format
Create a formatted output string from with() set arguments alone.
toString()
- Method in class com.marringtons.string.
Messages
Override toString to provide a better representation.
toString()
- Method in class com.marringtons.string.
Properties
Override toString to provide a better representation.
toString(Object)
- Static method in class com.marringtons.string.
Strings
Using toString on an object will fail if the object is null - but this static method won't.
toString()
- Method in class com.marringtons.time.
Time
Convert time to a string using the default format (hh:mm:ss.mmmpp).
toString(String)
- Method in class com.marringtons.time.
Time
Convert time to a string using the supplied format (hh:mm:ss.mmm/am/pm/).
toString()
- Method in class com.marringtons.time.
Timer
Returns a string with attached message and elapsed seconds in brackets.
toXML(DAO)
- Static method in class com.marringtons.object.
ObjectXML
Convert a DAO to an XML representation.
toXML(Writer, DAO)
- Static method in class com.marringtons.object.
ObjectXML
Create an XML stream of all objects pointed to by a single index in a single related database.
toXML(BufferedWriter, DAO)
- Static method in class com.marringtons.object.
ObjectXML
Create an XML stream of all objects pointed to by a single index in a single related database.
toXML(Object)
- Static method in class com.marringtons.object.
ObjectXML
Convert a POJO to an XML representation.
translate(Object, ClassDirectory.Entry, int, String, int, int)
- Method in class com.marringtons.object.
Translator
Translates from string to internal form.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
Y
Z
_
Copyright © 2005 Paul Marrington
http://library.marringtons.com