A C D E F G H I L N P R S T W

A

addMessage(String) - Method in class de.goerntkai.toolbox.mock.LoggerMock
Adds an expected message to the list.
areEqual(boolean, boolean) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares booleans.
areEqual(boolean[], boolean[]) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares boolean arrays.
areEqual(byte[], byte[]) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares byte arrays.
areEqual(char, char) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares characters.
areEqual(char[], char[]) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares character arrays.
areEqual(double, double) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares doubles.
areEqual(double[], double[]) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares double arrays.
areEqual(float, float) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares floats.
areEqual(float[], float[]) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares float arrays.
areEqual(int[], int[]) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares integer arrays.
areEqual(long, long) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares longs.
areEqual(long[], long[]) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares long arrays.
areEqual(Object, Object) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares objects.
areEqual(Object[], Object[]) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares object arrays.
areEqual(short[], short[]) - Static method in class de.goerntkai.toolbox.misc.EqualsUtil
Compares short arrays.

C

Clock - interface de.goerntkai.toolbox.time.Clock.
Measures elapsed time.
ClockFactory - class de.goerntkai.toolbox.time.ClockFactory.
Creates Clocks.
CommandLine - interface de.goerntkai.toolbox.cmdln.CommandLine.
Represents a command line as given by the user to start the application.
CommandLineFactory - class de.goerntkai.toolbox.cmdln.CommandLineFactory.
Creates CommandLines.
CommandLineParameter - interface de.goerntkai.toolbox.cmdln.CommandLineParameter.
Represents a parameter given in the command line.
ConsoleFormatter - class de.goerntkai.toolbox.log.ConsoleFormatter.
The ConsoleFormatter displays only the messages.
ConsoleFormatter() - Constructor for class de.goerntkai.toolbox.log.ConsoleFormatter
Standard Constructor.
config(String) - Method in class de.goerntkai.toolbox.mock.LoggerMock
Checks config messages.
copyTo(File) - Method in class de.goerntkai.toolbox.fs.File
Copies this file object to the given destination file.
copyTo(String) - Method in class de.goerntkai.toolbox.fs.File
Copies this file object to the given destination file.
copyTo(Folder) - Method in class de.goerntkai.toolbox.fs.Folder
Copies this folder object to the given destination file.
copyTo(File) - Method in class de.goerntkai.toolbox.fs.Folder
Copies this folder object to the given destination folder.
createCommandLine(String, String[], Folder) - Static method in class de.goerntkai.toolbox.cmdln.CommandLineFactory
Creates a CommandLine with the parameters given in the command line.
createCommandLine(String[], Folder) - Static method in class de.goerntkai.toolbox.cmdln.CommandLineFactory
Creates a CommandLine with the parameters given in the command line.
createStopWatch() - Static method in class de.goerntkai.toolbox.time.ClockFactory
Creates a new thread safe Clock.

D

de.goerntkai.toolbox.cmdln - package de.goerntkai.toolbox.cmdln
Provides for handling the command line.
de.goerntkai.toolbox.fs - package de.goerntkai.toolbox.fs
Provides classes for reading and writing data from and to the file system as well as extensions to java.io.File to have files and folders more usable.
de.goerntkai.toolbox.log - package de.goerntkai.toolbox.log
Provides some formatters for the standard java logging package.
de.goerntkai.toolbox.misc - package de.goerntkai.toolbox.misc
Provides utilities for equals(), hashcode() and for dealing with Strings and Properties.
de.goerntkai.toolbox.mock - package de.goerntkai.toolbox.mock
Provides for certain mock up or dummy classes.
de.goerntkai.toolbox.time - package de.goerntkai.toolbox.time
Provides for time measurement.
deleteContents() - Method in class de.goerntkai.toolbox.fs.Folder
Deletes the folder and recursively all its subdirectories.
deleteWithContents() - Method in class de.goerntkai.toolbox.fs.Folder
Deletes recursively all the subdirectories, the contending files and at last the folder itself.

E

EqualsUtil - class de.goerntkai.toolbox.misc.EqualsUtil.
Collected methods which allow easy implementation of equals.

F

File - class de.goerntkai.toolbox.fs.File.
Represents a file object in the file system.
File(File) - Constructor for class de.goerntkai.toolbox.fs.File
Creates a new File from an object of its superclass.
File(File, String) - Constructor for class de.goerntkai.toolbox.fs.File
Inherited from java.io.File.
File(String) - Constructor for class de.goerntkai.toolbox.fs.File
Inherited from java.io.File.
File(String, String) - Constructor for class de.goerntkai.toolbox.fs.File
Inherited from java.io.File.
File(URI) - Constructor for class de.goerntkai.toolbox.fs.File
Inherited from java.io.File.
FileFormatter - class de.goerntkai.toolbox.log.FileFormatter.
The FileFormatter displays almost any information coming from the log record.
FileFormatter() - Constructor for class de.goerntkai.toolbox.log.FileFormatter
Standard Constructor.
Folder - class de.goerntkai.toolbox.fs.Folder.
Represents a folder object in the file system.
Folder(File, String) - Constructor for class de.goerntkai.toolbox.fs.Folder
Inherited from de.goerntkai.devbase.tools.File.
Folder(File) - Constructor for class de.goerntkai.toolbox.fs.Folder
Creates a new Folder from an object of its superclass.
Folder(String) - Constructor for class de.goerntkai.toolbox.fs.Folder
Inherited from de.goerntkai.devbase.tools.File.
Folder(String, String) - Constructor for class de.goerntkai.toolbox.fs.Folder
Inherited from de.goerntkai.devbase.tools.File.
Folder(URI) - Constructor for class de.goerntkai.toolbox.fs.Folder
Inherited from de.goerntkai.devbase.tools.File.
fine(String) - Method in class de.goerntkai.toolbox.mock.LoggerMock
Checks fine messages.
finer(String) - Method in class de.goerntkai.toolbox.mock.LoggerMock
Checks finer messages.
finest(String) - Method in class de.goerntkai.toolbox.mock.LoggerMock
Checks finest messages.
format(LogRecord) - Method in class de.goerntkai.toolbox.log.ConsoleFormatter
Formats the log output.
format(LogRecord) - Method in class de.goerntkai.toolbox.log.FileFormatter
Formats the log output.

G

getBareName() - Method in class de.goerntkai.toolbox.fs.File
Returns the bare name of the file name.
getCommando() - Method in interface de.goerntkai.toolbox.cmdln.CommandLine
Returns the commando.
getElapsedMillis() - Method in interface de.goerntkai.toolbox.time.Clock
Returns the elapsed time in milliseconds since the instantiation or the last reset().
getHelpText() - Method in interface de.goerntkai.toolbox.cmdln.CommandLine
Returns the text of the help document.
getParameter(String) - Method in interface de.goerntkai.toolbox.cmdln.CommandLine
Returns the command line parameter with the given name.
getSuffix() - Method in class de.goerntkai.toolbox.fs.File
Returns the suffix of the file name.
getTextDocument(File) - Static method in class de.goerntkai.toolbox.fs.TextReader
This method uses java.io.FileReader to get the content of the document file.
getTextDocument(String) - Static method in class de.goerntkai.toolbox.fs.TextReader
This method just calls getTextDocument(java.io.File) to get the content of the document file.
getTextLines(File) - Static method in class de.goerntkai.toolbox.fs.TextReader
Reads the file and stores every line in an array.
getTextLines(String) - Static method in class de.goerntkai.toolbox.fs.TextReader
Reads the file and stores every line in an array.
getValue() - Method in interface de.goerntkai.toolbox.cmdln.CommandLineParameter
Returns the parameters value as a String.

H

HashCodeUtil - class de.goerntkai.toolbox.misc.HashCodeUtil.
Collected methods which allow easy implementation of hashCode.
HelpTextException - exception de.goerntkai.toolbox.cmdln.HelpTextException.
Signals that a help document was not validly written.
HelpTextException() - Constructor for class de.goerntkai.toolbox.cmdln.HelpTextException
Standard constructor.
HelpTextException(String) - Constructor for class de.goerntkai.toolbox.cmdln.HelpTextException
Standard constructor.
HelpTextException(String, Throwable) - Constructor for class de.goerntkai.toolbox.cmdln.HelpTextException
Standard constructor.
HelpTextException(Throwable) - Constructor for class de.goerntkai.toolbox.cmdln.HelpTextException
Standard constructor.
hasAllMessagesDone() - Method in class de.goerntkai.toolbox.mock.LoggerMock
Returns true when all the expected messages have been sent to the logger.
hasSubdirectories() - Method in class de.goerntkai.toolbox.fs.Folder
Returns true when there is at least one subdirectory or false if there is none.
hash(int, boolean) - Static method in class de.goerntkai.toolbox.misc.HashCodeUtil
Booleans.
hash(int, char) - Static method in class de.goerntkai.toolbox.misc.HashCodeUtil
Characters.
hash(int, double) - Static method in class de.goerntkai.toolbox.misc.HashCodeUtil
Doubles.
hash(int, float) - Static method in class de.goerntkai.toolbox.misc.HashCodeUtil
Floats.
hash(int, int) - Static method in class de.goerntkai.toolbox.misc.HashCodeUtil
Integers.
hash(int, long) - Static method in class de.goerntkai.toolbox.misc.HashCodeUtil
Longs.
hash(int, Object) - Static method in class de.goerntkai.toolbox.misc.HashCodeUtil
aObject is a possibly-null object field, and possibly an array.

I

info(String) - Method in class de.goerntkai.toolbox.mock.LoggerMock
Checks info messages.
isSet() - Method in interface de.goerntkai.toolbox.cmdln.CommandLineParameter
Returns true when this parameter was set in the command line, false otherwise.
isValid() - Method in interface de.goerntkai.toolbox.cmdln.CommandLine
Returns true when the given command line was valid, false otherwise.

L

LoggerMock - class de.goerntkai.toolbox.mock.LoggerMock.
Overrides the Logger from the Java 1.4 logging framework for testing purposes.
LoggerMock() - Constructor for class de.goerntkai.toolbox.mock.LoggerMock
Standard constructor.
leadWithCharacter(char, String, int) - Static method in class de.goerntkai.toolbox.misc.StringUtil
Adds leading characters to a given String.
leadWithSpaces(String, int) - Static method in class de.goerntkai.toolbox.misc.StringUtil
Adds leading spaces to a given String.
leadWithZeroes(int, int) - Static method in class de.goerntkai.toolbox.misc.StringUtil
Adds leading zeroes to a given integer.
leadWithZeroes(String, int) - Static method in class de.goerntkai.toolbox.misc.StringUtil
Adds leading zeroes to a given String.
listFiles() - Method in class de.goerntkai.toolbox.fs.Folder
Inherited from java.io.File.
load(String) - Static method in class de.goerntkai.toolbox.misc.PropertiesUtil
Loads properties from a given file.
load(String, Properties) - Static method in class de.goerntkai.toolbox.misc.PropertiesUtil
Loads properties from a given file.

N

NoFolderException - exception de.goerntkai.toolbox.fs.NoFolderException.
Signals that a Folder is not instatiated with a path to a directory.
NoFolderException() - Constructor for class de.goerntkai.toolbox.fs.NoFolderException
Standard constructor.
NoFolderException(String) - Constructor for class de.goerntkai.toolbox.fs.NoFolderException
Constructor with a message.

P

PropertiesUtil - class de.goerntkai.toolbox.misc.PropertiesUtil.
Provides some tasks for dealing with Properties.

R

reset() - Method in interface de.goerntkai.toolbox.time.Clock
Resets the starting time.

S

SEED - Static variable in class de.goerntkai.toolbox.misc.HashCodeUtil
An initial value for a hashCode, to which is added contributions from fields.
SUFFIX_SEPERATOR - Static variable in class de.goerntkai.toolbox.fs.File
Seperates the bare name from the suffix.
StringUtil - class de.goerntkai.toolbox.misc.StringUtil.
Provides some tasks for dealing with Strings.
setTextDocument(File, String) - Static method in class de.goerntkai.toolbox.fs.TextWriter
This method uses FileWriter to write the content of the document file.
setTextDocument(File, StringBuffer) - Static method in class de.goerntkai.toolbox.fs.TextWriter
This method just calls setTextDocument(java.io.File, java.lang.String) to write the content of the document file.
setTextDocument(String, String) - Static method in class de.goerntkai.toolbox.fs.TextWriter
This method just calls setTextDocument(java.io.File, java.lang.String) to write the content of the document file.
setTextDocument(String, StringBuffer) - Static method in class de.goerntkai.toolbox.fs.TextWriter
This method just calls setTextDocument(java.io.File, java.lang.String) to write the content of the document file.
setTextLines(File, String[]) - Static method in class de.goerntkai.toolbox.fs.TextWriter
Writes every element of the array to a new line.
setTextLines(String, String[]) - Static method in class de.goerntkai.toolbox.fs.TextWriter
Writes every element of the array to a new line.
severe(String) - Method in class de.goerntkai.toolbox.mock.LoggerMock
Checks severe messages.

T

TextReader - class de.goerntkai.toolbox.fs.TextReader.
Reads a complete text file and returns the whole document.
TextWriter - class de.goerntkai.toolbox.fs.TextWriter.
Writes the complete text in one file.

W

warning(String) - Method in class de.goerntkai.toolbox.mock.LoggerMock
Checks warning messages.

A C D E F G H I L N P R S T W

Copyright © 2004-2007 Kai Görnt. All Rights Reserved.