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

A

ADDED - Static variable in class com.claritysys.util.MapComparator.Entry
Field ADDED
AddressGenerator - Class in com.claritysys.data
Class to generate random mailing addresses.
AddressGenerator() - Constructor for class com.claritysys.data.AddressGenerator
Create a new AddressGenerator.
AddressGenerator.Address - Class in com.claritysys.data
A single generated name with its component parts.
AddressGenerator.Address() - Constructor for class com.claritysys.data.AddressGenerator.Address
 
AddressGenerator.Test - Class in com.claritysys.data
An inner class for testing, can be run from command line to see sample output.
AddressGenerator.Test() - Constructor for class com.claritysys.data.AddressGenerator.Test
 
append - Variable in class com.claritysys.io.DatedFileOutputStream
True if we are to open files in append mode.
append - Variable in class com.claritysys.io.DatedFileWriter
True if we are to open files in append mode.
append(String, int) - Method in class com.claritysys.util.FixedWidthStringBuffer
Append the given String to the buffer, ensuring it occupies the given width.
append(String) - Method in class com.claritysys.util.FixedWidthStringBuffer
Several accessor methods which delegate directly to the StringBuffer.
append(char) - Method in class com.claritysys.util.FixedWidthStringBuffer
Several accessor methods which delegate directly to the StringBuffer.
areaCode - Variable in class com.claritysys.data.PhoneGenerator.PhoneNumber
The area code, with no formatting.
areEqual(boolean, boolean) - Static method in class com.claritysys.util.Compare
Return true if the two arguments are equal.
areEqual(int, int) - Static method in class com.claritysys.util.Compare
Return true if the two arguments are equal.
areEqual(long, long) - Static method in class com.claritysys.util.Compare
Return true if the two arguments are equal.
areEqual(char, char) - Static method in class com.claritysys.util.Compare
Return true if the two arguments are equal.
areEqual(byte, byte) - Static method in class com.claritysys.util.Compare
Return true if the two arguments are equal.
areEqual(short, short) - Static method in class com.claritysys.util.Compare
Return true if the two arguments are equal.
areEqual(float, float) - Static method in class com.claritysys.util.Compare
Return true if the two arguments are equal.
areEqual(double, double) - Static method in class com.claritysys.util.Compare
Return true if the two arguments are equal.
areEqual(Object, Object) - Static method in class com.claritysys.util.Compare
Return true if the two arguments are equal.
areEqual(String, String) - Static method in class com.claritysys.util.Compare
Return true if the two String arguments are equal, where either or both of the arguments may be null.
areEqual(BigDecimal, BigDecimal) - Static method in class com.claritysys.util.Compare
Return true if the two arguments are equal.
areEqual(String, String) - Static method in class com.claritysys.util.Strings
Return true if the two String arguments are equal, where either or both of the arguments may be null.
atEOF - Variable in class com.claritysys.io.MessageInputStream
A flag to remember that we've already hit EOF.

B

buffer - Variable in class com.claritysys.io.MessageInputStream
The buffer in which message bytes are queued up for reading.
buffer - Variable in class com.claritysys.io.MessageOutputStream
The underlying buffer.
buffer - Variable in class com.claritysys.io.SentinelInputStream
A buffer to construct Strings in.

C

CHANGED - Static variable in class com.claritysys.util.MapComparator.Entry
Field CHANGED
CharArrayWriter - Class in com.claritysys.io
A high performance, single-threaded writer that appends all writes to an output buffer, much like ByteArrayOutputStream.
CharArrayWriter(int) - Constructor for class com.claritysys.io.CharArrayWriter
Create a new writer with a buffer size given.
charAt(int) - Method in class com.claritysys.util.FixedWidthStringBuffer
Several accessor methods which delegate directly to the StringBuffer.
city - Variable in class com.claritysys.data.AddressGenerator.Address
City.
className - Variable in class com.claritysys.util.ClasspathScanner.ClassFile
 
ClasspathScanner - Class in com.claritysys.util
Scans a given classpath, searching through every JAR, ZIP, or directory for classes.
ClasspathScanner() - Constructor for class com.claritysys.util.ClasspathScanner
 
ClasspathScanner.ClassFile - Class in com.claritysys.util
 
ClasspathScanner.ClassFile(String, String) - Constructor for class com.claritysys.util.ClasspathScanner.ClassFile
 
clearSentinel() - Method in class com.claritysys.io.SentinelInputStream
Clear the sentinel byte.
close() - Method in class com.claritysys.io.CharArrayWriter
Does nothing.
close() - Method in class com.claritysys.io.DatedFileOutputStream
Close the stream.
close() - Method in class com.claritysys.io.DatedFileWriter
Write the given sub-array to the file.
com.claritysys.data - package com.claritysys.data
The DATA package consists of utilities for generating random, yet reasonable, test data.
com.claritysys.io - package com.claritysys.io
 
com.claritysys.util - package com.claritysys.util
 
CompanyNameGenerator - Class in com.claritysys.data
Class to generate random company names.
CompanyNameGenerator(List, List) - Constructor for class com.claritysys.data.CompanyNameGenerator
Create a new company name generator using the provided lists.
CompanyNameGenerator() - Constructor for class com.claritysys.data.CompanyNameGenerator
Create a new company name generator using the included name list files.
CompanyNameGenerator.Test - Class in com.claritysys.data
Inner class for testing.
CompanyNameGenerator.Test() - Constructor for class com.claritysys.data.CompanyNameGenerator.Test
 
Compare - Class in com.claritysys.util
A set of methods for comparing values.
Compare() - Constructor for class com.claritysys.util.Compare
 
compare(Map, Map) - Static method in class com.claritysys.util.MapComparator
Return a Map of MapComparator.Entry objects based on a comparison of the elements in the two given maps.
compile(File) - Static method in class com.claritysys.util.SourceCompiler
Deprecated.
Compile the given java source file.
compile(List) - Static method in class com.claritysys.util.SourceCompiler
Deprecated.
Compile the given list of java source files.
configFile - Variable in class com.claritysys.util.PropertyAccessor
The file name we were created from.
convertType(String, Class) - Static method in class com.claritysys.util.JavaBean
Convert the given String into the given type and return it as an object.
CreateProxy - Class in com.claritysys.util
Generates a Java source file that implements the given interface, and delegates all calls to a wrapped delegate.
CreateProxy() - Constructor for class com.claritysys.util.CreateProxy
 

D

Daemon - Class in com.claritysys.util
Provides an abstraction for daemon programs to detect when to shutdown.
Daemon(String, boolean) - Constructor for class com.claritysys.util.Daemon
Create a new Daemon.
Daemon(Properties) - Constructor for class com.claritysys.util.Daemon
Create a new Daemon from properties.
dataLength - Variable in class com.claritysys.io.MessageInputStream
The current length of data in the buffer.
dataLength - Variable in class com.claritysys.io.MessageOutputStream
The length of data in the write buffer.
DataMismatchException - Exception in com.claritysys.io
An exception to indicate that recived data did not match the expected data.
DataMismatchException() - Constructor for exception com.claritysys.io.DataMismatchException
Create a new DataMismatchException with no detail description.
DataMismatchException(String) - Constructor for exception com.claritysys.io.DataMismatchException
Create a new DataMismatchException with the given String as its 'message'.
DatedFileOutputStream - Class in com.claritysys.io
Provides an easy way to write log files which follow a dated naming scheme, such as 'batch_19990527'.
DatedFileOutputStream(String, String, boolean) - Constructor for class com.claritysys.io.DatedFileOutputStream
Create a new DatedFileOutputStream using the given parent directory and the given file name pattern.
DatedFileOutputStream(String) - Constructor for class com.claritysys.io.DatedFileOutputStream
Create a new DatedFileOutputStream using the current directory and the given file name pattern.
DatedFileWriter - Class in com.claritysys.io
Provides an easy way to write log files which follow a dated naming scheme, such as 'batch_19990527'.
DatedFileWriter(String, String, boolean) - Constructor for class com.claritysys.io.DatedFileWriter
Create a new DatedFileWriter using the given parent directory and the given file name pattern.
DatedFileWriter(String) - Constructor for class com.claritysys.io.DatedFileWriter
Create a new DatedFileWriter using the current directory and the given file name pattern.
DatedFileWriter.Test - Class in com.claritysys.io
For testing.
DatedFileWriter.Test() - Constructor for class com.claritysys.io.DatedFileWriter.Test
 
dateFormat - Variable in class com.claritysys.io.DatedFileOutputStream
The SimpleDateFormat makes it easy to produce the pattern string, the actual name pattern is passed right to it.
dateFormat - Variable in class com.claritysys.io.DatedFileWriter
The SimpleDateFormat makes it easy to produce the pattern string, the actual name pattern is passed right to it.
department - Variable in class com.claritysys.data.NameGenerator.Name
Department name: always present.
dump(Map) - Static method in class com.claritysys.util.MapComparator
Dump the given map of Map.Entry objects to System.out.
dumpData - Variable in class com.claritysys.io.SentinelInputStream
A flag to indicate if, after a read, the stream should produce a hex dump of data to system.out.
dumpPublicFields(Object) - Static method in class com.claritysys.util.JavaBean
Dump the given object's public fields to System.out.

E

elapsed() - Method in class com.claritysys.util.Stopwatch
Return the elapsed time in milliseconds between when the last restart() ocurred and the current system time.
EmptyEnumeration - Class in com.claritysys.util
EmptyEnumeration provides a memory-efficient way for methods to return an Enumeration which has no elements.
EmptyIterator - Class in com.claritysys.util
EmptyIterator provides a memory-efficient way for methods to return an Iterator which has no elements.
equals(Object) - Method in class com.claritysys.util.MapComparator.Entry
 
expand(String, String) - Static method in class com.claritysys.util.Strings
Expand the string as specified by '@' placeholders in string .
extension - Variable in class com.claritysys.data.PhoneGenerator.PhoneNumber
The 2 to 5 digit extension, such as "11" or "41227".

F

fileWriter - Variable in class com.claritysys.io.DatedFileWriter
Null if not open, else used to access the underlying file.
first - Variable in class com.claritysys.data.NameGenerator.Name
First name: always present.
FixedRecordGenerator - Class in com.claritysys.util
Generates a JavaBean for parsing/encoding fixed-width format records, such as are used in legacy systems.
FixedRecordGenerator() - Constructor for class com.claritysys.util.FixedRecordGenerator
 
FixedWidthStringBuffer - Class in com.claritysys.util
A StringBuffer which provides for appending fixed-width fields.
FixedWidthStringBuffer() - Constructor for class com.claritysys.util.FixedWidthStringBuffer
Create a new FixedWidthStringBuffer with an initial size of 64 characters.
FixedWidthStringBuffer(int) - Constructor for class com.claritysys.util.FixedWidthStringBuffer
Create a new FixedWidthStringBuffer with an initial size of 64 characters.
FixedWidthStringParser - Class in com.claritysys.util
A parser to break apart fixed-width records.
FixedWidthStringParser(String) - Constructor for class com.claritysys.util.FixedWidthStringParser
Create a new FixedWidthStringParser to parse the given String.
flush() - Method in class com.claritysys.io.CharArrayWriter
Does nothing.
flush() - Method in class com.claritysys.io.DatedFileOutputStream
Flush the stream.
flush() - Method in class com.claritysys.io.DatedFileWriter
Write the given sub-array to the file.
flush() - Method in class com.claritysys.io.MessageOutputStream
Send the message content on the underlying OutputStream.
fos - Variable in class com.claritysys.io.DatedFileOutputStream
Null if not open, else used to access the underlying file.
fragmentString(String, int) - Static method in class com.claritysys.util.Strings
Rip a String into equal sized fragments.
fullName - Variable in class com.claritysys.data.NameGenerator.Name
Full name.

G

getAbsoluteClasspath() - Static method in class com.claritysys.util.SourceCompiler
Deprecated.
Get the absolute classpath.
getBoolean(String) - Method in class com.claritysys.util.PropertyAccessor
Return the named property as a boolean.
getBuffer() - Method in class com.claritysys.io.CharArrayWriter
Get the current char[].
getBufferSize() - Method in class com.claritysys.io.CharArrayWriter
Get the capacity of the buffer, that is the length of the char[].
getClassName() - Method in class com.claritysys.util.ClasspathScanner.ClassFile
 
getConfigFile() - Method in class com.claritysys.util.PropertyAccessor
Return the name of the config file from which this object was created.
getCount() - Method in class com.claritysys.io.CharArrayWriter
Return the current number of characters in the buffer.
getDeclaration(Class) - Static method in class com.claritysys.util.Java
Return a proper Java type declaration given a class.
getDepartments() - Static method in class com.claritysys.data.NameGenerator
 
getDouble(String) - Method in class com.claritysys.util.PropertyAccessor
Return the named property as a double.
getDumpData() - Method in class com.claritysys.io.SentinelInputStream
Get the current data dump status.
getEmail(String) - Method in class com.claritysys.data.NameGenerator.Name
Return an email address for this name given the name of the host URL.
getException() - Method in exception com.claritysys.util.NestedException
Returns the underlying exception, if this exception wraps another exception.
getFemaleFirstNames() - Static method in class com.claritysys.data.NameGenerator
 
getField(int) - Method in class com.claritysys.util.FixedWidthStringParser
Get the next field.
getFormatted(boolean) - Method in class com.claritysys.data.PhoneGenerator.PhoneNumber
Return the whole number, formatted with/without the extension.
getHash(int) - Static method in class com.claritysys.util.HashCodes
Return the Java hashcode for the given value.
getHash(String) - Static method in class com.claritysys.util.HashCodes
Return the Java hashcode for the given value.
getHash(long) - Static method in class com.claritysys.util.HashCodes
Return the Java hashcode for the given value.
getHash(Object) - Static method in class com.claritysys.util.HashCodes
Return the Java hashcode for the given value.
getHash(float) - Static method in class com.claritysys.util.HashCodes
Return the Java hashcode for the given value.
getHash(double) - Static method in class com.claritysys.util.HashCodes
Return the Java hashcode for the given value.
getInt(String) - Method in class com.claritysys.util.PropertyAccessor
Return the named property as an int.
getIntField(int) - Method in class com.claritysys.util.FixedWidthStringParser
Get the next field as an int.
getLastNames() - Static method in class com.claritysys.data.NameGenerator
 
getList() - Method in class com.claritysys.util.ClasspathScanner
Return List of ClasspathScanner.ClassFile.
getLogin() - Method in class com.claritysys.data.NameGenerator.Name
Return a possible login ID for the name.
getMaleFirstNames() - Static method in class com.claritysys.data.NameGenerator
 
getPackageName(Class) - Static method in class com.claritysys.util.Java
Return the package name for the given class, null if it isn't in a package.
getPackageName(String) - Static method in class com.claritysys.util.Java
Return the name of the package for the given class, or null if it isn't in a package.
getPath() - Method in class com.claritysys.util.ClasspathScanner.ClassFile
 
getProperties() - Method in class com.claritysys.util.PropertyAccessor
Return the underlying Properties.
getProperties(String) - Method in class com.claritysys.util.PropertyAccessor
Return the properties from the underlying Properties object which start with the given string.
getRemaining() - Method in class com.claritysys.util.FixedWidthStringParser
Get whatever remains.
getShortName(Class) - Static method in class com.claritysys.util.Java
Get the "short" name of the given class, ie the name without the package prefix.
getShortName(String) - Static method in class com.claritysys.util.Java
Get the "short" name of the given class, ie the name without the package prefix.
getShortNameInternal(String) - Static method in class com.claritysys.util.Java
Get the "short" name of the given class, ie the name without the package prefix, based on the input String being in Java internal format, using "/" instead of "." as a separator.
getString(String) - Method in class com.claritysys.util.PropertyAccessor
Return the named property as a String.
getString(String, String) - Method in class com.claritysys.util.PropertyAccessor
Return the named property as a String.
getStringBuffer() - Method in class com.claritysys.util.FixedWidthStringBuffer
Retrive the underlying StringBuffer.
getSuffixes() - Static method in class com.claritysys.data.NameGenerator
 
getTitles() - Static method in class com.claritysys.data.NameGenerator
 
getVmSignature(Class[], Class) - Static method in class com.claritysys.util.Java
Generate a Virtual Machine formed method signature given the classes of the parameters and return type, as from invoking Method.getParameterTypes()/Method.getReturnType ().
getVmSignature(Class, StringBuffer) - Static method in class com.claritysys.util.Java
Convert the given Class type to an internal signature, such as "I" for Integer.TYPE, or "Ljava/lang/String;" for String.class.
getVmSignature(Class) - Static method in class com.claritysys.util.Java
Return the VM type signature for the given class.

H

hashCode() - Method in class com.claritysys.util.MapComparator.Entry
 
HashCodes - Class in com.claritysys.util
Return the hashcodes for various data types.
HashCodes() - Constructor for class com.claritysys.util.HashCodes
 
hasMoreElements() - Method in class com.claritysys.util.EmptyEnumeration
Return false.
hasNext() - Method in class com.claritysys.util.EmptyIterator
Return false.
Hexadecimal - Class in com.claritysys.util
Provides methods for dumping binary data to a console display.
Hexadecimal() - Constructor for class com.claritysys.util.Hexadecimal
 

I

inDesiredPackage(String) - Method in class com.claritysys.util.ClasspathScanner
 
initialize(String) - Method in class com.claritysys.util.PropertyAccessor
Initialize from the given named property file.
instance() - Static method in class com.claritysys.util.EmptyEnumeration
Return the instance.
isAlpha(String) - Static method in class com.claritysys.util.Strings
Return a boolean true response if String is Alpha
isDecimal(String) - Static method in class com.claritysys.util.Strings
Return a boolean true response if String is a Decimal value (Numeric, '.')
isDefined(String) - Method in class com.claritysys.util.PropertyAccessor
Return true if the named property is defined.
isEmpty(String) - Static method in class com.claritysys.util.Strings
Return true if string is null, empty, or all space characters.
isMoney(String) - Static method in class com.claritysys.util.Strings
Return a boolean true response if String is a Money value (Numeric, '.')
isNumeric(String) - Static method in class com.claritysys.util.Strings
Return a boolean true response if String is an Integer.
isProcessEnding() - Method in class com.claritysys.util.Daemon
Return true if its time to shut down.
iterator() - Static method in class com.claritysys.util.EmptyIterator
Return the instance.

J

Java - Class in com.claritysys.util
A collection of utility methods dealing with Java class issues.
Java() - Constructor for class com.claritysys.util.Java
 
JavaBean - Class in com.claritysys.util
Provides methods for setting bean properties using reflection.
JavaBean() - Constructor for class com.claritysys.util.JavaBean
 
job - Variable in class com.claritysys.data.NameGenerator.Name
Job title: always present.

K

key - Variable in class com.claritysys.util.MapComparator.Entry
Field key

L

last - Variable in class com.claritysys.data.NameGenerator.Name
Last name: always present.
lastFileName - Variable in class com.claritysys.io.DatedFileOutputStream
The name of the file we last wrote to or null if we haven't written to one yet.
lastFileName - Variable in class com.claritysys.io.DatedFileWriter
The name of the file we last wrote to or null if we haven't written to one yet.
leftFill(String, int, char) - Static method in class com.claritysys.util.Strings
Left fill given string to newLength positions using pad character padChar.
length() - Method in class com.claritysys.util.FixedWidthStringBuffer
Several accessor methods which delegate directly to the StringBuffer.
line1 - Variable in class com.claritysys.data.AddressGenerator.Address
L:ne 1, Eg, "123 S.
line2 - Variable in class com.claritysys.data.AddressGenerator.Address
Line 2.

M

main(String[]) - Static method in class com.claritysys.data.AddressGenerator.Test
Run from command line, specify count of how many test addresses to generate.
main(String[]) - Static method in class com.claritysys.data.CompanyNameGenerator.Test
Run from command line.
main(String[]) - Static method in class com.claritysys.data.NameGenerator.Test
Run from command line, specify count of how many names to generate to System.out.
main(String[]) - Static method in class com.claritysys.data.PhoneGenerator.Test
Run from command line, supply single integer count argument.
main(String[]) - Static method in class com.claritysys.io.DatedFileWriter.Test
Run from command line.
main(String[]) - Static method in class com.claritysys.util.ClasspathScanner
Run from command line.
main(String[]) - Static method in class com.claritysys.util.CreateProxy
Run from command line.
main(String[]) - Static method in class com.claritysys.util.FixedRecordGenerator
Run from command line.
main(String[]) - Static method in class com.claritysys.util.PropertyFileConfigurator
Run from command line.
main(String[]) - Static method in class com.claritysys.util.Today.Test
run from command line and play with system clock.
makeURL(String) - Static method in class com.claritysys.data.CompanyNameGenerator
Convert the given (fake) company name into a fake WWW domain name by removing any non-characters and adding on "www." and ".com".
MapComparator - Class in com.claritysys.util
Compare two maps, returning a third map describing the state of all elements.
MapComparator() - Constructor for class com.claritysys.util.MapComparator
 
MapComparator.Entry - Class in com.claritysys.util
Adds a 'change flag' to the key-value relationship of Map.Entry.
MapComparator.Entry(Object, int, Object) - Constructor for class com.claritysys.util.MapComparator.Entry
 
matchString(String) - Method in class com.claritysys.io.SentinelInputStream
Receive data up to the length of the given String, if it does not match throw an IOException with the actual data received in the message.
MessageInputStream - Class in com.claritysys.io
A MessageInputStream is used to receive data from an underlying InputStream where each block of bytes contains a 2 byte length header, in network byte order, of the amount of data contained in the message.
MessageInputStream(InputStream) - Constructor for class com.claritysys.io.MessageInputStream
Create a new MessageInputStream on the given InputStream.
MessageOutputStream - Class in com.claritysys.io
A buffered output stream for encoding 2-byte-header message packets.
MessageOutputStream(OutputStream) - Constructor for class com.claritysys.io.MessageOutputStream
Construct a message stream on the given output stream.
middle - Variable in class com.claritysys.data.NameGenerator.Name
Middle name: empty string, middle initial, or middle name.

N

NameGenerator - Class in com.claritysys.data
Class to generate random but reasonable people names, both male and female.
NameGenerator() - Constructor for class com.claritysys.data.NameGenerator
 
NameGenerator.Name - Class in com.claritysys.data
A single generated name with its component parts.
NameGenerator.Name() - Constructor for class com.claritysys.data.NameGenerator.Name
 
NameGenerator.Test - Class in com.claritysys.data
Inner class for testing.
NameGenerator.Test() - Constructor for class com.claritysys.data.NameGenerator.Test
 
namePattern - Variable in class com.claritysys.io.DatedFileOutputStream
The original name pattern passed in.
namePattern - Variable in class com.claritysys.io.DatedFileWriter
The original name pattern passed in.
NestedException - Exception in com.claritysys.util
Base type for all exceptions that can wrap another exception.
NestedException(String, Exception) - Constructor for exception com.claritysys.util.NestedException
Construct a new nested exception wrapping an underlying exception and providing a message.
NestedException(String) - Constructor for exception com.claritysys.util.NestedException
Construct a new nested with a message.
NestedException(Exception) - Constructor for exception com.claritysys.util.NestedException
Construct a new nested exception wrapping an underlying exception.
next() - Method in class com.claritysys.util.EmptyIterator
Throw an exception.
nextAddress() - Method in class com.claritysys.data.AddressGenerator
Return the next random street address.
nextElement() - Method in class com.claritysys.util.EmptyEnumeration
Throw an exception if called.
nextName() - Method in class com.claritysys.data.CompanyNameGenerator
Generate and return the next randomly synthesized Company name.
nextName() - Method in class com.claritysys.data.NameGenerator
Return the next random name.
nextNewNumber() - Method in class com.claritysys.data.PhoneGenerator
Return the next number with a new area code and prefix.
nextNumber() - Method in class com.claritysys.data.PhoneGenerator
Fetch the next number with the same area code and prefix.
noNull(String) - Static method in class com.claritysys.util.Strings
Return the original String if not null or an empty String if it was null.
nullIfEmpty(String) - Static method in class com.claritysys.util.Strings
Return null if the given String is null or zero length, otherwise return the String.
number - Variable in class com.claritysys.data.PhoneGenerator.PhoneNumber
The number by itself, such as "1234".

O

object - Variable in class com.claritysys.util.MapComparator.Entry
Field object

P

paginateString(String, String, int) - Static method in class com.claritysys.util.Strings
Return an array of strings representing the original string but having been: split into multiple lines based on the given breakString, word-wrapped around the number of columns on a line.
parentDir - Variable in class com.claritysys.io.DatedFileOutputStream
The parent directory to create files in.
parentPath - Variable in class com.claritysys.io.DatedFileWriter
The parent directory to create files in.
path - Variable in class com.claritysys.util.ClasspathScanner.ClassFile
 
PhoneGenerator - Class in com.claritysys.data
Generates fake phone numbers for testing purposes.
PhoneGenerator() - Constructor for class com.claritysys.data.PhoneGenerator
 
PhoneGenerator.PhoneNumber - Class in com.claritysys.data
Represents a randomly generated phone number and its parts.
PhoneGenerator.PhoneNumber(String, String, String, String) - Constructor for class com.claritysys.data.PhoneGenerator.PhoneNumber
Create a new random phone number having the given field values.
PhoneGenerator.Test - Class in com.claritysys.data
Inner test class.
PhoneGenerator.Test() - Constructor for class com.claritysys.data.PhoneGenerator.Test
 
prefix - Variable in class com.claritysys.data.NameGenerator.Name
Prefix.
prefix - Variable in class com.claritysys.data.PhoneGenerator.PhoneNumber
The telephone prefix, with no formatting, eg "555".
print(String) - Method in class com.claritysys.io.CharArrayWriter
"Print" a String.
print(char) - Method in class com.claritysys.io.CharArrayWriter
Print a single char.
print(int) - Method in class com.claritysys.io.CharArrayWriter
Print an int directly to the buffer, without doing a Integer.toString first to avoid creating unnecessary objects.
printHexByte(byte) - Static method in class com.claritysys.util.Hexadecimal
Print a single byte as a hex pair to System-out.
printHexLine(byte[], int, int) - Static method in class com.claritysys.util.Hexadecimal
Dump one line of memory as hex dump.
printHexRange(byte[], int, int) - Static method in class com.claritysys.util.Hexadecimal
Dump a range of memory in hex dump format.
printHexWord(int) - Static method in class com.claritysys.util.Hexadecimal
Print a single word as a hex quad to System-out.
printStackTrace() - Method in exception com.claritysys.util.NestedException
Overrides Exception.printStackTrace to print the nested exception's stack trace, if there is one.
printStackTrace(PrintStream) - Method in exception com.claritysys.util.NestedException
Overrides Exception.printStackTrace to print the nested exception's stack trace, if there is one.
printStackTrace(PrintWriter) - Method in exception com.claritysys.util.NestedException
Overrides Exception.printStackTrace to print the nested exception's stack trace, if there is one.
properties - Variable in class com.claritysys.util.PropertyAccessor
The underlying properties as read directly from the config file.
PropertyAccessor - Class in com.claritysys.util
PropertyAccessor extends java.util.Properties with strongly typed methods for reading int, boolean, etc out of a Properties object.
PropertyAccessor(String) - Constructor for class com.claritysys.util.PropertyAccessor
Create a new PropertyAccessor from the properties in the named file.
PropertyAccessor(Properties) - Constructor for class com.claritysys.util.PropertyAccessor
Create a new accessor for the given properties.
PropertyFileConfigurator - Class in com.claritysys.util
A program for assisting in the deployment of property file templates.
PropertyFileConfigurator() - Constructor for class com.claritysys.util.PropertyFileConfigurator
 
prune(Map) - Static method in class com.claritysys.util.MapComparator
Remove any MapComparator.Entry.UNCHANGED entries from the given map.

R

read(byte[]) - Method in class com.claritysys.io.MessageInputStream
Read an array full of bytes from this stream.
read(byte[], int, int) - Method in class com.claritysys.io.MessageInputStream
Read an array full of bytes from this stream.
read() - Method in class com.claritysys.io.SentinelInputStream
Reads the next byte of data from this input stream.
read(byte[], int, int) - Method in class com.claritysys.io.SentinelInputStream
Read a buffer full of data.
readString() - Method in class com.claritysys.io.MessageInputStream
Read a String from the underlying stream.
readString(int, int) - Method in class com.claritysys.io.SentinelInputStream
Read a String from the underlying stream.
receive() - Method in class com.claritysys.io.MessageInputStream
Wait for an incoming message from the InputStream.
remove() - Method in class com.claritysys.util.EmptyIterator
Throw an exception.
REMOVED - Static variable in class com.claritysys.util.MapComparator.Entry
Field REMOVED
replace(String, String, String) - Static method in class com.claritysys.util.Strings
String replace.
reset() - Method in class com.claritysys.data.PhoneGenerator
Reset the area code and prefix so that the next call to nextNumber or nextNumberWithExtension will generate a new one.
reset() - Method in class com.claritysys.io.CharArrayWriter
Reset the current number of characters in the buffer to zero.
reset() - Method in class com.claritysys.util.ClasspathScanner
 
restart() - Method in class com.claritysys.util.Stopwatch
Reset the start time to the current system time.
rightFill(String, int, char) - Static method in class com.claritysys.util.Strings
Right fill string to given length.

S

scanPath(File, String, String, String) - Method in class com.claritysys.util.ClasspathScanner
Return list of ClasspathScanner.ClassFile.
sentinelByte - Variable in class com.claritysys.io.SentinelInputStream
The byte which indicates the end of the read.
SentinelInputStream - Class in com.claritysys.io
An InputStream which allows for accumulating bytes from multiple reads until a specified byte is encountered.
SentinelInputStream(InputStream) - Constructor for class com.claritysys.io.SentinelInputStream
Create a new SentinalInputStream which performs reads from the underlying InputStream in.
ServiceInitializationException - Exception in com.claritysys.util
An exception wrapping another exception that occured during initialization of a service.
ServiceInitializationException(String, Exception) - Constructor for exception com.claritysys.util.ServiceInitializationException
 
ServiceInitializationException(String) - Constructor for exception com.claritysys.util.ServiceInitializationException
 
ServiceInitializationException(Exception) - Constructor for exception com.claritysys.util.ServiceInitializationException
 
setCharAt(int, char) - Method in class com.claritysys.util.FixedWidthStringBuffer
Set the character at the specified position to ch.
setDumpData(boolean) - Method in class com.claritysys.io.SentinelInputStream
Turn data dumping on or off.
setPackages(String) - Method in class com.claritysys.util.ClasspathScanner
Optional list of package filters.
setProperties(Object, Properties) - Static method in class com.claritysys.util.JavaBean
Set the given beans properties from the given Properties.
setSentinel(byte) - Method in class com.claritysys.io.SentinelInputStream
Set the sentinel byte.
shutdownFile - Variable in class com.claritysys.util.Daemon
Field shutdownFile
shutdownFileAutoDelete - Variable in class com.claritysys.util.Daemon
Field shutdownFileAutoDelete
shutdownFileName - Variable in class com.claritysys.util.Daemon
Our standard batch job control mechanism - shutdown files.
SourceCompiler - Class in com.claritysys.util
Deprecated.
I would recommend using Ant's taskdef to make a similar class.
SourceCompiler() - Constructor for class com.claritysys.util.SourceCompiler
Deprecated.
 
state - Variable in class com.claritysys.data.AddressGenerator.Address
State.
state - Variable in class com.claritysys.util.MapComparator.Entry
Field state
Stopwatch - Class in com.claritysys.util
A useful (well, hopefully) class for timing a set of operations.
Stopwatch() - Constructor for class com.claritysys.util.Stopwatch
Create a new stopwatch, and mark the time of creation.
Strings - Class in com.claritysys.util
A collection of String methods.
Strings() - Constructor for class com.claritysys.util.Strings
 
stripChar(String, char) - Static method in class com.claritysys.util.Strings
Compact given string by removing specified character.
stripNonDecimal(String) - Static method in class com.claritysys.util.Strings
Return a String that represents the numbers only.
stripNonLetter(String) - Static method in class com.claritysys.util.Strings
Return a new String based on the given one but without any non-letter characters removed.
stripNonLetterOrDigit(String) - Static method in class com.claritysys.util.Strings
Return a new String based on the given one but without any non-letter or digit characters removed.
stripNonNumeric(String) - Static method in class com.claritysys.util.Strings
Return a new String based on the given one but without any non-digit characters removed.
suffix - Variable in class com.claritysys.data.NameGenerator.Name
Suffix (JR, SR, I, II, ...): empty string or suffix.

T

toAbstractClass(Class) - Static method in class com.claritysys.util.Java
Return the first abstract superclass of the class, or the class itself if it is abstract.
toArray(byte[]) - Method in class com.claritysys.io.CharArrayWriter
Write the char[] into a byte[], while assuming all characters are actually ASCII (UTF-8), which HTML is, isn't it?
toArray(String, String) - Static method in class com.claritysys.util.Strings
Convert string with delimiter into array of Strings.
Today - Class in com.claritysys.util
A high performance method for obtaining the current system date as a java.sql.Date with the time value set to zero.
Today() - Constructor for class com.claritysys.util.Today
 
today() - Static method in class com.claritysys.util.Today
Return today's date as a java.sql.Date, with the time fields set to zero.
Today.Test - Class in com.claritysys.util
Some testing.
Today.Test() - Constructor for class com.claritysys.util.Today.Test
 
toString() - Method in class com.claritysys.data.AddressGenerator.Address
Return a String description of this address.
toString() - Method in class com.claritysys.data.NameGenerator.Name
Return a String description of this name.
toString() - Method in class com.claritysys.data.PhoneGenerator.PhoneNumber
 
toString() - Method in class com.claritysys.io.CharArrayWriter
Create a new String object and copy the current buffer into the Strings char buffer.
toString() - Method in class com.claritysys.util.ClasspathScanner.ClassFile
 
toString() - Method in class com.claritysys.util.FixedWidthStringBuffer
Return the string from the buffer.
trim(String) - Static method in class com.claritysys.util.Strings
Returned a whitespace trimmed version of the given String unless it is null, in which case return null.

U

UNCHANGED - Static variable in class com.claritysys.util.MapComparator.Entry
Field UNCHANGED
upper(String) - Static method in class com.claritysys.util.Strings
Return the given String converted to uppercase.

W

wrapString(String, int) - Static method in class com.claritysys.util.Strings
Return an array of strings representing the original string 'word wrapped' around the specified column.
write(String) - Method in class com.claritysys.io.CharArrayWriter
Write a string.
write(char[], int, int) - Method in class com.claritysys.io.CharArrayWriter
Write a portion of an array of characters.
write(String, int, int) - Method in class com.claritysys.io.CharArrayWriter
Write a portion of a string.
write(int) - Method in class com.claritysys.io.DatedFileOutputStream
Write the given int to the file.
write(byte[], int, int) - Method in class com.claritysys.io.DatedFileOutputStream
Write the given sub-array to the file.
write(char[], int, int) - Method in class com.claritysys.io.DatedFileWriter
Write the given sub-array to the file.
write(int) - Method in class com.claritysys.io.MessageOutputStream
Write a single byte to the internal buffer.
write(byte[]) - Method in class com.claritysys.io.MessageOutputStream
Write the entire array b[] to the internal buffer.
write(byte[], int, int) - Method in class com.claritysys.io.MessageOutputStream
Write an array of bytes to the internal buffer starting from off, length len.

Z

zipCode - Variable in class com.claritysys.data.AddressGenerator.Address
Zip code, E.g, "90101 1234".
A B C D E F G H I J K L M N O P R S T U W Z 

Copyright ? 2002 Clarity Systems Group, LLC. All Rights Reserved.