|
|||||||||
| Home >> All >> com >> eireneh >> [ util overview ] | PREV NEXT | ||||||||
A
- ArrayEnumeration - class com.eireneh.util.ArrayEnumeration.
- Helper class to enumerate through the objects in an array.
- ArrayEnumeration(Object[]) - Constructor for class com.eireneh.util.ArrayEnumeration
- Setup the Enumeration with an array to iterate through
- ArrayEnumeration(Object[], int) - Constructor for class com.eireneh.util.ArrayEnumeration
- Setup the Enumeration with an array to iterate through
- ArrayEnumeration(Object[], int, int) - Constructor for class com.eireneh.util.ArrayEnumeration
- Setup the Enumeration with an array to iterate through
- accumulated - Static variable in class com.eireneh.util.Stopwatch
- The accumulated data
- add(Class, EventListener) - Method in class com.eireneh.util.EventListenerList
- Add the listener as a listener of the specified type.
- addElement(Object) - Method in class com.eireneh.util.RobustList
- Appends the specified element to the end of this list.
- addItem(Vector, int, String) - Static method in class com.eireneh.util.ThreadUtil
- Private, used by getListing.
- addLogCaptureListener(CaptureListener) - Static method in class com.eireneh.util.Logger
- Add an Exception listener to the list of things wanting to know whenever we capture an Exception
- addReporterListener(ReporterListener) - Static method in class com.eireneh.util.Reporter
- Add an Exception listener to the list of things wanting to know whenever we capture an Exception
- array - Variable in class com.eireneh.util.ArrayEnumeration
- The array to iterate through
B
- backgroundColor - Variable in class com.eireneh.util.CodeColorizer
- base - Variable in class com.eireneh.util.DOMHandlerBase
- The Element to start adding at
- blankIfNull(String) - Static method in class com.eireneh.util.StringUtil
- Returns an empty string if null was passed in
- boolean2String(boolean) - Static method in class com.eireneh.util.Convert
- Convert a boolean to a String
C
- CONFIG - Static variable in class com.eireneh.util.Level
- Log level: info
- CodeColorizer - class com.eireneh.util.CodeColorizer.
- Syntax highlights java by turning it into html.
- CodeColorizer() - Constructor for class com.eireneh.util.CodeColorizer
- Set up a CodeColorizer
- Convert - class com.eireneh.util.Convert.
- Conversions between various types and Strings.
- Convert() - Constructor for class com.eireneh.util.Convert
- We don't want anyone doing this ...
- cat(String[], String) - Static method in class com.eireneh.util.StringUtil
- Take a String array and create a String out of all elements
- cat(String[], int, String) - Static method in class com.eireneh.util.StringUtil
- Take a String array and create a String out of some elements EG:
- cat(String[], int, int, String) - Static method in class com.eireneh.util.StringUtil
- Take a String array and create a String out of some elements EG:
- chain(int, char) - Static method in class com.eireneh.util.StringUtil
- Create a string consisting of num chars
- chain(int, String) - Static method in class com.eireneh.util.StringUtil
- Create a string consisting of num chars
- characters(char[], int, int) - Method in class com.eireneh.util.DOMHandlerBase
- Some text data
- chop(String, String, String) - Static method in class com.eireneh.util.StringUtil
- Strips the text between a pair of delimitters.
- class2String(Class) - Static method in class com.eireneh.util.Convert
- Convert a Class to a String
- class_names - Variable in class com.eireneh.util.StackTrace
- Array containing the class names
- clear() - Method in class com.eireneh.util.RobustList
- Removes all of the elements from this list.
- com.eireneh.util - package com.eireneh.util
- commentEnd - Variable in class com.eireneh.util.CodeColorizer
- commentStart - Variable in class com.eireneh.util.CodeColorizer
- compare(Object, Object) - Method in class com.eireneh.util.StringComparator
- Compares two strings lexicographically.
- config(String) - Method in class com.eireneh.util.Logger
- Log a message
- contains(Object) - Method in class com.eireneh.util.RobustList
- Does this list contains the specified element?
- continueLine(String) - Static method in class com.eireneh.util.PropertiesUtil
- Returns true if the given line is a line that must be appended to the next line
- countInstancesOf(String, char) - Static method in class com.eireneh.util.StringUtil
- Count the instances of a character in a string
- countStackElements() - Method in class com.eireneh.util.StackTrace
- Get the name of a function
- createJavaName(String) - Static method in class com.eireneh.util.StringUtil
- This function creates a Java style name from a variable name type input.
- createTitle(String) - Static method in class com.eireneh.util.StringUtil
- This function creates a readable title from a variable name type input.
- current - Variable in class com.eireneh.util.DOMHandlerBase
- The Element that we are currently adding at
D
- DOMHandlerBase - class com.eireneh.util.DOMHandlerBase.
- The DOMHandlerBase class implements the SAX class HandlerBase and from the SAX events generated from a parse, generates a DOM XML document, embedded into another.
- DOMHandlerBase(Node) - Constructor for class com.eireneh.util.DOMHandlerBase
- Default constructor.
- DONE - Static variable in class com.eireneh.util.PropertiesUtil
- The end marker text
- debug() - Method in class com.eireneh.util.RobustList.Entry
- debug(String) - Method in class com.eireneh.util.RobustList
- delete(URL) - Static method in class com.eireneh.util.NetUtil
- Delete a URL.
- doc - Variable in class com.eireneh.util.DOMHandlerBase
E
- EventException - exception com.eireneh.util.EventException.
- EventExceptions are generally used for passing problems through the event system which does not allow checked exceptions through.
- EventException(String) - Constructor for class com.eireneh.util.EventException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- EventException(String, Throwable) - Constructor for class com.eireneh.util.EventException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- EventException(String, Object[]) - Constructor for class com.eireneh.util.EventException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- EventException(String, Throwable, Object[]) - Constructor for class com.eireneh.util.EventException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- EventListenerList - class com.eireneh.util.EventListenerList.
- A class which holds a list of EventListeners.
- EventListenerList() - Constructor for class com.eireneh.util.EventListenerList
- elementAt(int) - Method in class com.eireneh.util.RobustList
- Returns the element at the specified position in this list.
- elements() - Method in class com.eireneh.util.RobustList
- Returns a list-iterator of the elements in this list
- end - Variable in class com.eireneh.util.ArrayEnumeration
- The place to stop when we reach
- endDocument() - Method in class com.eireneh.util.DOMHandlerBase
- End document
- endElement(String) - Method in class com.eireneh.util.DOMHandlerBase
- end element
- error(SAXParseException) - Method in class com.eireneh.util.DOMHandlerBase
- Error
- escape(String) - Static method in class com.eireneh.util.StringUtil
- Escapes certain characters from an original string.
- escape(String[]) - Static method in class com.eireneh.util.StringUtil
- Escapes certain characters from an original string.
- ex - Variable in class com.eireneh.util.EventException
- An embedded exception
- ex - Variable in class com.eireneh.util.LogicError
- The error that caused this exception
- ex - Variable in class com.eireneh.util.LucidException
- An embedded exception
F
- FINE - Static variable in class com.eireneh.util.Level
- Log level: debug
- FINER - Static variable in class com.eireneh.util.Level
- Log level: debug
- FINEST - Static variable in class com.eireneh.util.Level
- Log level: debug
- fail(Throwable) - Static method in class com.eireneh.util.TestBase
- Something has definately gone wrong.
- fail() - Static method in class com.eireneh.util.TestBase
- Something has definately gone wrong.
- fail(Object) - Static method in class com.eireneh.util.TestBase
- Something has definately gone wrong.
- fatal - Static variable in class com.eireneh.util.TestBase
- What to do when it all goes wrong
- fatalError(SAXParseException) - Method in class com.eireneh.util.DOMHandlerBase
- Fatal error
- fileNameToJavaPackage(String, String) - Static method in class com.eireneh.util.StringUtil
- This function creates a Java Class/Package name from a file name and a classpath.
- fileNameToJavaPackage(String) - Static method in class com.eireneh.util.StringUtil
- This function creates a Java Package name from a file name and the system default classpath.
- file_names - Variable in class com.eireneh.util.StackTrace
- Array containing the file names
- findClasspathEntry(String, String) - Static method in class com.eireneh.util.StringUtil
- This function find the first matching filename for a Java class file from the classpath, if none is found it returns null.
- findClasspathEntry(String) - Static method in class com.eireneh.util.StringUtil
- This function find the first matching filename for a Java class file from the classpath, if none is found it returns null.
- findEntry(int) - Method in class com.eireneh.util.RobustList
- Return the indexed entry.
- findRoot() - Static method in class com.eireneh.util.ThreadUtil
- Find the root ThreadGroup by ascending the Thread tree
- fine(String) - Method in class com.eireneh.util.Logger
- Log a message
- finer(String) - Method in class com.eireneh.util.Logger
- Log a message
- finest(String) - Method in class com.eireneh.util.Logger
- Log a message
- fireCapture(EventListenerList, CaptureEvent) - Static method in class com.eireneh.util.Logger
- Log a message
- fireCapture(ReporterEvent) - Static method in class com.eireneh.util.Reporter
- Log a message
- foot - Variable in class com.eireneh.util.RobustList
G
- getCapitals(String) - Static method in class com.eireneh.util.StringUtil
- For example getCapitals("Java DataBase Connectivity") = "JDBC" and getCapitals("Church of England") = "CE".
- getClass(int) - Method in class com.eireneh.util.StackTrace
- Get the Class that owns the function
- getClassName(int) - Method in class com.eireneh.util.StackTrace
- Get the name of a class
- getClassNameElements() - Method in class com.eireneh.util.StackTrace
- To itterate over the class names
- getCommentEnd() - Method in class com.eireneh.util.CodeColorizer
- getCommentStart() - Method in class com.eireneh.util.CodeColorizer
- getDetailedMessage() - Method in class com.eireneh.util.LucidException
- Accessor of the full detailed version of the string
- getException() - Method in class com.eireneh.util.EventException
- The nested Exception (is any)
- getException() - Method in class com.eireneh.util.LucidException
- The nested Exception (is any)
- getFileName(int) - Method in class com.eireneh.util.StackTrace
- Get the name of a file
- getFullFunctionName(int) - Method in class com.eireneh.util.StackTrace
- Get the name of a function including class name
- getFullFunctionNameElements() - Method in class com.eireneh.util.StackTrace
- To itterate over the full function names
- getFunctionName(int) - Method in class com.eireneh.util.StackTrace
- Get the name of a function
- getFunctionNameElements() - Method in class com.eireneh.util.StackTrace
- To itterate over the function names
- getHTMLDescription(Throwable) - Static method in class com.eireneh.util.Logger
- Gets a short HTML description of an Exception for display in a window
- getInitials(String) - Static method in class com.eireneh.util.StringUtil
- For example getInitials("Java DataBase Connectivity") = "JDC" and getInitials("Church of England") = "CoE".
- getInternalMessage() - Method in class com.eireneh.util.LucidException
- Accessor for the message private to the developers
- getLevels() - Static method in class com.eireneh.util.UserLevel
- Accessor for the user level
- getLineNumber(int) - Method in class com.eireneh.util.StackTrace
- Get the line number within a file
- getListenerCount() - Method in class com.eireneh.util.EventListenerList
- Return the total number of listeners for this listenerlist
- getListenerCount(Class) - Method in class com.eireneh.util.EventListenerList
- Return the total number of listeners of the supplied type for this listenerlist.
- getListenerList() - Method in class com.eireneh.util.EventListenerList
- This passes back the event listener list as an array of ListenerType - listener pairs.
- getListing() - Static method in class com.eireneh.util.ThreadUtil
- Create a StringArray (mostly for debugging) detailing the current Threads, starting at the root ThreadGroup
- getListing(ThreadGroup) - Static method in class com.eireneh.util.ThreadUtil
- Create a StringArray (mostly for debugging) detailing the current Threads, starting at the specified ThreadGroup
- getLocalURL(String) - Static method in class com.eireneh.util.StringUtil
- Get a URL from a class name.
- getLocationString(SAXParseException) - Method in class com.eireneh.util.DOMHandlerBase
- Returns a string of the location
- getLogger(String) - Static method in class com.eireneh.util.Logger
- Create a new Logger
- getMessage() - Method in class com.eireneh.util.EventException
- We only unravel the message when we need to to save time
- getMessage() - Method in class com.eireneh.util.LucidException
- We only unravel the message when we need to to save time
- getNewline() - Static method in class com.eireneh.util.StringUtil
- Returns the newline character
- getOutputStream(URL) - Static method in class com.eireneh.util.NetUtil
- Attempt to obtain an OutputStream from a URL.
- getOutputStream(URL, boolean) - Static method in class com.eireneh.util.NetUtil
- Attempt to obtain an OutputStream from a URL.
- getReservedWordEnd() - Method in class com.eireneh.util.CodeColorizer
- getReservedWordStart() - Method in class com.eireneh.util.CodeColorizer
- getStringArray(Vector) - Static method in class com.eireneh.util.StringUtil
- Turns a Vector of Strings into an array of Strings
- getStringArray(Object[]) - Static method in class com.eireneh.util.StringUtil
- Turns an array of Objects into an array of Strings
- getStringEnd() - Method in class com.eireneh.util.CodeColorizer
- getStringStart() - Method in class com.eireneh.util.CodeColorizer
- getUserLevel() - Static method in class com.eireneh.util.UserLevel
- Accessor for the user level
H
- hasMoreElements() - Method in class com.eireneh.util.ArrayEnumeration
- Are there more items in the database?
- hasMoreElements() - Method in class com.eireneh.util.IteratorEnumeration
- Returns true if the iteration has more elements
- hasMoreElements() - Method in class com.eireneh.util.RobustList.RobustListEnumeration
- hasMoreElements() - Method in class com.eireneh.util.StackTrace.AbstractStackEnumeration
- Are there more stack levels
- hashtable2String(Hashtable) - Static method in class com.eireneh.util.Convert
- Convert a Hashtable to a Sting
- head - Variable in class com.eireneh.util.RobustList
- hexDigit - Static variable in class com.eireneh.util.PropertiesUtil
- A table of hex digits
- hexDigit - Static variable in class com.eireneh.util.StringUtil
- A table of hex digits
- htmlFilter(String) - Method in class com.eireneh.util.CodeColorizer
- Filter html tags into more benign text.
I
- INFO - Static variable in class com.eireneh.util.Level
- Log level: debug
- IteratorEnumeration - class com.eireneh.util.IteratorEnumeration.
- Convert a JDK 1.2 Iterator into a JDK 1.1 Enumeration.
- IteratorEnumeration(Iterator) - Constructor for class com.eireneh.util.IteratorEnumeration
- Create an Enumeration that proxies to an Iterator
- ignorableWhitespace(char[], int, int) - Method in class com.eireneh.util.DOMHandlerBase
- Ignorable whitespace
- in - Variable in class com.eireneh.util.CodeColorizer
- inMultiLineComment - Variable in class com.eireneh.util.CodeColorizer
- indexOf(Object) - Method in class com.eireneh.util.RobustList
- Returns the index in this list of the first occurrence of the specified element, or -1 if the List does not contain this element.
- info(String) - Method in class com.eireneh.util.Logger
- Log a message
- informUser(Object, Throwable) - Static method in class com.eireneh.util.Reporter
- Something has gone wrong.
- informUser(String) - Static method in class com.eireneh.util.Reporter
- Something has happened.
- inform_list - Static variable in class com.eireneh.util.Reporter
- The list of listeners
- init(Throwable, int) - Method in class com.eireneh.util.StackTrace
- Create a stack trace of the code at this point
- inlineCommentFilter(String) - Method in class com.eireneh.util.CodeColorizer
- Filter inline comments from a line and formats them properly.
- int2String(int) - Static method in class com.eireneh.util.Convert
- Convert an int to a String
- internal - Variable in class com.eireneh.util.LucidException
- The array of parameters
- invoke(Object, String, Object[]) - Static method in class com.eireneh.util.ThreadUtil
- Call a static method on a class given a sting
- invoke(String, Object[]) - Static method in class com.eireneh.util.ThreadUtil
- Call a static method on a class given a sting
- isAsciiAlphanumeric(String) - Static method in class com.eireneh.util.Validator
- Check that the given string contains ascii letters (upper and lower) and numbers only.
- isDirectory(URL) - Static method in class com.eireneh.util.NetUtil
- If there is a directory at the other end of this URL return true.
- isFile(URL) - Static method in class com.eireneh.util.NetUtil
- If there is a file at the other end of this URL return true.
- isInsideString(String, int) - Method in class com.eireneh.util.CodeColorizer
- Checks to see if some position in a line is between String start and ending characters.
- isInternetEmail(String) - Static method in class com.eireneh.util.Validator
- Check that the given text represents a potentially valid email address.
- isSafeEmbededHTML(String) - Static method in class com.eireneh.util.Validator
- Check that the given string does not contain control characters (except return, ff or tab) or any triangular brackets or ampersands.
- isSimpleAscii(String) - Static method in class com.eireneh.util.Validator
- Check that the given string contains letters (upper and lower), and simple punctuation only.
- isSpaceAlphanumeric(String) - Static method in class com.eireneh.util.Validator
- Check that the given string contains letters (upper and lower), space and numbers only.
- it - Variable in class com.eireneh.util.IteratorEnumeration
- The Iterator that we are proxying to
K
- keyValueSeparators - Static variable in class com.eireneh.util.PropertiesUtil
- keywordFilter(String) - Method in class com.eireneh.util.CodeColorizer
- Filters keywords from a line of text and formats them properly.
L
- LEVEL_ADVANCED - Static variable in class com.eireneh.util.UserLevel
- User level - Advanced
- LEVEL_BEGINNER - Static variable in class com.eireneh.util.UserLevel
- User level - Beginner
- LEVEL_INTERMEDIATE - Static variable in class com.eireneh.util.UserLevel
- User level - Intermediate
- Level - class com.eireneh.util.Level.
- This various different levels that people can log at.
- Level() - Constructor for class com.eireneh.util.Level
- Logger - class com.eireneh.util.Logger.
- This package looks after Exceptions as they happen.
- Logger(String) - Constructor for class com.eireneh.util.Logger
- Simple ctor for use only with getLogger(String)
- LogicError - exception com.eireneh.util.LogicError.
- LogicError is an unchecked Exception that tells us something went unexpectedly wrong - something that logic says cant happen.
- LogicError() - Constructor for class com.eireneh.util.LogicError
- Logic Errors should never happen so there is no need for an error message as a description describes how this happened.
- LogicError(Throwable) - Constructor for class com.eireneh.util.LogicError
- Logic Errors should never happen.
- LucidException - exception com.eireneh.util.LucidException.
- A LucidException adds 3 concepts to a base Exception, that of a wrapped Exception, that of internationalised (i18n) messages, and that of an internal string which is for debugging/logging purposes.
- LucidException(String) - Constructor for class com.eireneh.util.LucidException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- LucidException(String, Throwable) - Constructor for class com.eireneh.util.LucidException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- LucidException(String, Object[]) - Constructor for class com.eireneh.util.LucidException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- LucidException(String, Throwable, Object[]) - Constructor for class com.eireneh.util.LucidException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- LucidException(String, String) - Constructor for class com.eireneh.util.LucidException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- LucidException(String, Throwable, String) - Constructor for class com.eireneh.util.LucidException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- LucidException(String, Object[], String) - Constructor for class com.eireneh.util.LucidException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- LucidException(String, Throwable, Object[], String) - Constructor for class com.eireneh.util.LucidException
- All LucidExceptions are constructed with references to resources in an I18N properties file.
- lap(String) - Static method in class com.eireneh.util.Stopwatch
- Marks a waypoint in the current timing run
- lengthenURL(URL, String) - Static method in class com.eireneh.util.NetUtil
- Utility to add a string to the end of a URL.
- lengthenURL(URL, String, String) - Static method in class com.eireneh.util.NetUtil
- Utility to add a string to the end of a URL.
- lengthenURL(URL, String, String, String) - Static method in class com.eireneh.util.NetUtil
- Utility to add a string to the end of a URL.
- level - Variable in class com.eireneh.util.StackTrace.AbstractStackEnumeration
- Are there more stack levels
- level - Static variable in class com.eireneh.util.UserLevel
- The User level
- line_numbers - Variable in class com.eireneh.util.StackTrace
- Array containing the line numbers
- listThread(Vector, int, Thread) - Static method in class com.eireneh.util.ThreadUtil
- Private, used by getListing.
- listThreads(Vector, int, ThreadGroup) - Static method in class com.eireneh.util.ThreadUtil
- Private, used by getListing.
- listenerList - Variable in class com.eireneh.util.EventListenerList
- load(Properties, InputStream) - Static method in class com.eireneh.util.PropertiesUtil
- Write a Properties to a Stream an leave the stream in tact
- loadConvert(String) - Static method in class com.eireneh.util.PropertiesUtil
- Converts encoded \\uxxxx to unicode chars and changes special saved chars to their original forms
- loadHash() - Method in class com.eireneh.util.CodeColorizer
- loadInternal(InputStream, Properties) - Static method in class com.eireneh.util.PropertiesUtil
- Reads a property list (key and element pairs) from the input stream.
- local - Static variable in class com.eireneh.util.Stopwatch
- The accumulated data
- log - Static variable in class com.eireneh.util.Convert
- The log stream
- log(int, String) - Method in class com.eireneh.util.Logger
- Log a message to a specific log level
- log(int, String, Throwable) - Method in class com.eireneh.util.Logger
- Log an Exception but don't tell the user about it
- log - Static variable in class com.eireneh.util.Reporter
- The log stream
- log - Static variable in class com.eireneh.util.RobustList
- The log stream
- log - Static variable in class com.eireneh.util.StringUtil
- The log stream
- log(Object) - Static method in class com.eireneh.util.TestBase
- Log something happening
- log - Static variable in class com.eireneh.util.XMLUtil
- The log stream
- logDocument(Document, int) - Static method in class com.eireneh.util.XMLUtil
- Display a Document in debug mode to the specified writer
- logDocument(Element, int) - Static method in class com.eireneh.util.XMLUtil
- Display a Document in debug mode to the specified writer
- logPackageStart(PrintWriter, boolean, Class) - Static method in class com.eireneh.util.TestBase
- When a new package test starts
- logPackageStop() - Static method in class com.eireneh.util.TestBase
- When a new package test stops
- log_list - Static variable in class com.eireneh.util.Logger
- The list of listeners
- loggers - Static variable in class com.eireneh.util.Logger
- The list of generated Loggers
M
- main(String[]) - Static method in class com.eireneh.util.Stopwatch
- Quick test
- makeDirectory(URL) - Static method in class com.eireneh.util.NetUtil
- If the directory does not exist, create it.
- makeFile(URL) - Static method in class com.eireneh.util.NetUtil
- If the file does not exist, create it.
- method_names - Variable in class com.eireneh.util.StackTrace
- Array containing the method names
- move(URL, URL) - Static method in class com.eireneh.util.NetUtil
- Move a URL from one place to another.
- multiLineCommentFilter(String) - Method in class com.eireneh.util.CodeColorizer
- Filter out multiLine comments.
N
- NEWLINE - Static variable in class com.eireneh.util.StringUtil
- The newline character
- NULL_ARRAY - Static variable in class com.eireneh.util.EventListenerList
- NetUtil - class com.eireneh.util.NetUtil.
- The NetUtil class looks after general utility stuff around the java.net package.
- NetUtil() - Constructor for class com.eireneh.util.NetUtil
- Basic constructor - ensure that we can't be instansiated
- names - Static variable in class com.eireneh.util.UserLevel
- The level names
- next - Variable in class com.eireneh.util.RobustList.Entry
- next - Variable in class com.eireneh.util.RobustList.RobustListEnumeration
- nextElement() - Method in class com.eireneh.util.ArrayEnumeration
- Get the next item from the database
- nextElement() - Method in class com.eireneh.util.IteratorEnumeration
- Returns the next element in the interation
- nextElement() - Method in class com.eireneh.util.RobustList.RobustListEnumeration
- nullIfBlank(String) - Static method in class com.eireneh.util.StringUtil
- Returns an null if an empty string was passed in
O
- object - Variable in class com.eireneh.util.RobustList.Entry
- object2String(Object) - Static method in class com.eireneh.util.Convert
- Convert an Object to a String
- origin - Static variable in class com.eireneh.util.Stopwatch
- When the program started
- out - Variable in class com.eireneh.util.CodeColorizer
- out - Static variable in class com.eireneh.util.TestBase
- The place to print stuff
P
- PropertiesUtil - class com.eireneh.util.PropertiesUtil.
- A generic class of Properties utils.
- PropertiesUtil() - Constructor for class com.eireneh.util.PropertiesUtil
- params - Variable in class com.eireneh.util.EventException
- The array of parameters
- params - Variable in class com.eireneh.util.LucidException
- The array of parameters
- parseInt(String, int) - Static method in class com.eireneh.util.StringUtil
- Helper for parsing Integers
- pos - Variable in class com.eireneh.util.ArrayEnumeration
- The current position in the array
- prev - Variable in class com.eireneh.util.RobustList.Entry
- printDocument(Document, PrintWriter) - Static method in class com.eireneh.util.XMLUtil
- Display a Document in debug mode to the specified writer
- printDocument(Element, PrintWriter) - Static method in class com.eireneh.util.XMLUtil
- Display a Document in debug mode to the specified writer
- processingInstruction(String, String) - Method in class com.eireneh.util.DOMHandlerBase
- Processing instruction
R
- Reporter - class com.eireneh.util.Reporter.
- This package looks after Exceptions and messages as they happen.
- Reporter() - Constructor for class com.eireneh.util.Reporter
- Enforce Singleton
- RobustList - class com.eireneh.util.RobustList.
- This is a version of LinkedList that is not fail-fast
Distribution Licence:
Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.- RobustList() - Constructor for class com.eireneh.util.RobustList
- RobustList.Entry - class com.eireneh.util.RobustList.Entry.
- RobustList.Entry(Object) - Constructor for class com.eireneh.util.RobustList.Entry
- RobustList.RobustListEnumeration - class com.eireneh.util.RobustList.RobustListEnumeration.
- RobustList.RobustListEnumeration() - Constructor for class com.eireneh.util.RobustList.RobustListEnumeration
- read(Reader) - Static method in class com.eireneh.util.StringUtil
- This method reads an InputStream In its entirety, and passes The text back as a string.
- readObject(ObjectInputStream) - Method in class com.eireneh.util.CodeColorizer
- readObject(ObjectInputStream) - Method in class com.eireneh.util.EventListenerList
- recurseNodes(Node, PrintWriter, int, int) - Static method in class com.eireneh.util.XMLUtil
- Recurse down a Doument node tree
- remove(Class, EventListener) - Method in class com.eireneh.util.EventListenerList
- Remove the listener as a listener of the specified type.
- remove() - Method in class com.eireneh.util.RobustList.Entry
- removeChar(String, char) - Static method in class com.eireneh.util.StringUtil
- Removes a character from a String
- removeChars(String, String) - Static method in class com.eireneh.util.StringUtil
- Removes a character from a String
- removeElement(int) - Method in class com.eireneh.util.RobustList
- Removes the element at the specified position in this list.
- removeElement(Object) - Method in class com.eireneh.util.RobustList
- Removes the first occurrence of the specified element in this list.
- removeLogCaptureListener(CaptureListener) - Static method in class com.eireneh.util.Logger
- Remove an Exception listener from the list of things wanting to know whenever we capture an Exception
- removeReporterListener(ReporterListener) - Static method in class com.eireneh.util.Reporter
- Remove an Exception listener from the list of things wanting to know whenever we capture an Exception
- replace(String, String, String) - Method in class com.eireneh.util.CodeColorizer
- Replace...
- report(boolean) - Static method in class com.eireneh.util.Stopwatch
- Report on the state of the completed timings so far
- report(String, Map) - Static method in class com.eireneh.util.Stopwatch
- Produce a single report
- reportTime() - Static method in class com.eireneh.util.TestBase
- Take a new timestamp and print (not println) the time in seconds since the last calling of
reportTime().- res - Static variable in class com.eireneh.util.EventException
- The resource hash
- res - Static variable in class com.eireneh.util.LucidException
- The resource hash
- reservedWordEnd - Variable in class com.eireneh.util.CodeColorizer
- reservedWordStart - Variable in class com.eireneh.util.CodeColorizer
- reservedWords - Variable in class com.eireneh.util.CodeColorizer
S
- SEPARATOR - Static variable in class com.eireneh.util.PropertiesUtil
- Cache of line separator
- SEVERE - Static variable in class com.eireneh.util.Level
- Log level: emergency
- StackTrace - class com.eireneh.util.StackTrace.
- Unscramble the current stack, and present the data from it to the user in various forms.
- StackTrace() - Constructor for class com.eireneh.util.StackTrace
- Generate a stack trace an model it
- StackTrace(Throwable) - Constructor for class com.eireneh.util.StackTrace
- We already have an Exception that we'd like to model
- StackTrace.AbstractStackEnumeration - class com.eireneh.util.StackTrace.AbstractStackEnumeration.
- Base class for the real enumeration implementations below
- StackTrace.AbstractStackEnumeration() - Constructor for class com.eireneh.util.StackTrace.AbstractStackEnumeration
- Stopwatch - class com.eireneh.util.Stopwatch.
- A Little performance tool
- Stopwatch() - Constructor for class com.eireneh.util.Stopwatch
- Ensure we cant be instantiated
- StringComparator - class com.eireneh.util.StringComparator.
- StringComparator compares 2 Strings because JDK1.1 String is not Comparable.
- StringComparator() - Constructor for class com.eireneh.util.StringComparator
- StringUtil - class com.eireneh.util.StringUtil.
- A generic class of String utils.
- StringUtil() - Constructor for class com.eireneh.util.StringUtil
- save(Properties, OutputStream, String) - Static method in class com.eireneh.util.PropertiesUtil
- Write a Properties to a Stream an leave the stream in tact
- saveConvert(String) - Static method in class com.eireneh.util.PropertiesUtil
- Converts unicodes to encoded \\uxxxx and writes out any of the characters in specialSaveChars with a preceding slash
- saveInternal(Properties, OutputStream, String) - Static method in class com.eireneh.util.PropertiesUtil
- Writes this property list (key and element pairs) in this
Propertiestable to the output stream in a format suitable for loading into aPropertiestable using theloadmethod. - setCommentEnd(String) - Method in class com.eireneh.util.CodeColorizer
- setCommentStart(String) - Method in class com.eireneh.util.CodeColorizer
- setLength(String, int) - Static method in class com.eireneh.util.StringUtil
- Ensure a string is of a fixed length by truncating it or by adding spaces untill it is.
- setReservedWordEnd(String) - Method in class com.eireneh.util.CodeColorizer
- setReservedWordStart(String) - Method in class com.eireneh.util.CodeColorizer
- setResourceBundleName(String) - Static method in class com.eireneh.util.LucidException
- A way of setting the name of the resource bundle to use.
- setStringEnd(String) - Method in class com.eireneh.util.CodeColorizer
- setStringStart(String) - Method in class com.eireneh.util.CodeColorizer
- setUserLevel(int) - Static method in class com.eireneh.util.UserLevel
- Accessor for the user level
- severe(String) - Method in class com.eireneh.util.Logger
- Log a message
- shift(String[]) - Static method in class com.eireneh.util.StringUtil
- Reduce the size of the array by dropping element zero
- shortenURL(URL, String) - Static method in class com.eireneh.util.NetUtil
- Utility to strip a string from the end of a URL.
- size - Variable in class com.eireneh.util.RobustList
- size() - Method in class com.eireneh.util.RobustList
- Returns the number of elements in this list.
- soundSleep(long) - Static method in class com.eireneh.util.ThreadUtil
- Sleep and don't think about throwing.
- source - Variable in class com.eireneh.util.Logger
- The originator of the message
- specialSaveChars - Static variable in class com.eireneh.util.PropertiesUtil
- stack - Variable in class com.eireneh.util.DOMHandlerBase
- The stack of elements that we have built on
- start() - Static method in class com.eireneh.util.Stopwatch
- Start the current thread on a timing run
- startDocument() - Method in class com.eireneh.util.DOMHandlerBase
- Start document.
- startElement(String, AttributeList) - Method in class com.eireneh.util.DOMHandlerBase
- The start of an Element
- stop() - Static method in class com.eireneh.util.Stopwatch
- Ends the timing run on the current thread
- strictKeyValueSeparators - Static variable in class com.eireneh.util.PropertiesUtil
- string2Boolean(String) - Static method in class com.eireneh.util.Convert
- Convert a String to a boolean
- string2Class(String) - Static method in class com.eireneh.util.Convert
- Convert a String to a Class
- string2Hashtable(String, Class) - Static method in class com.eireneh.util.Convert
- Convert a String to a Hashtable, with type checking
- string2Hashtable(String) - Static method in class com.eireneh.util.Convert
- Convert a String to a Hashtable, without type checking
- string2Int(String) - Static method in class com.eireneh.util.Convert
- Convert a String to an int
- string2Object(String) - Static method in class com.eireneh.util.Convert
- Convert a String to an Object
- string2StringArray(String, String) - Static method in class com.eireneh.util.Convert
- Convert a String to a StringArray
- stringArray2String(String[], String) - Static method in class com.eireneh.util.Convert
- Convert a StringArray to a String
- stringEnd - Variable in class com.eireneh.util.CodeColorizer
- stringFilter(String) - Method in class com.eireneh.util.CodeColorizer
- Filters strings from a line of text and formats them properly.
- stringStart - Variable in class com.eireneh.util.CodeColorizer
- swap(String, String, String) - Static method in class com.eireneh.util.StringUtil
- Search and replace in a String
- sync - Variable in class com.eireneh.util.RobustList
- syntaxHighlight(String) - Method in class com.eireneh.util.CodeColorizer
- Now different method of seeing if at end of input stream, closes inputs stream at end.
T
- TestBase - class com.eireneh.util.TestBase.
- A platform to help various SelfTest classes.
- TestBase() - Constructor for class com.eireneh.util.TestBase
- ThreadUtil - class com.eireneh.util.ThreadUtil.
- Various utilities for examining the running Threads and controlling their execution.
- ThreadUtil() - Constructor for class com.eireneh.util.ThreadUtil
- test(PrintWriter, boolean) - Method in class com.eireneh.util.TestBase
- This should help people that want to run tests based on this class ...
- test(Object, Object) - Static method in class com.eireneh.util.TestBase
- This allows us to do
test(foo, bar);type tests. - test(double, double) - Static method in class com.eireneh.util.TestBase
- This allows us to do
test(1.0, 2.0);type tests. - test(long, long) - Static method in class com.eireneh.util.TestBase
- This allows us to do
test(1, 2);type tests. - test(boolean) - Static method in class com.eireneh.util.TestBase
- This allows us to do
test(foo.equals(bar));type tests. - test(Throwable) - Static method in class com.eireneh.util.TestBase
- Something has gone wrong - We report the problem.
- test(PrintWriter, boolean) - Method in class com.eireneh.util.ZTestUtil
- A basic are we OK type test, for the Passage package.
- testHelpDesk() - Static method in class com.eireneh.util.ZTestUtil
- Test the StringUtil class.
- testOptions() - Static method in class com.eireneh.util.ZTestUtil
- Test the Strongs class.
- testStringUtil() - Static method in class com.eireneh.util.ZTestUtil
- Test the StringUtil class.
- testThreadUtil() - Static method in class com.eireneh.util.ZTestUtil
- Test the ThreadUtil class.
- time - Static variable in class com.eireneh.util.TestBase
- For timing
- toHex(int) - Static method in class com.eireneh.util.PropertiesUtil
- Convert a nibble to a hex character
- toHexChar(byte) - Static method in class com.eireneh.util.StringUtil
- Convert a nibble to a hex character
- toHexString(int) - Static method in class com.eireneh.util.StringUtil
- Convert a int to a hex string
- toString() - Method in class com.eireneh.util.EventListenerList
- Return a string representation of the EventListenerList.
- toString(Object[]) - Static method in class com.eireneh.util.StringUtil
- Create a debug version of an array by calling toString on all the objects in the array
- toString() - Method in class com.eireneh.util.TestBase
- So that we can use this in JLists and the like
- tokenize(String) - Static method in class com.eireneh.util.StringUtil
- Take a string and parse it (by the default delimiters) into an Array of Strings.
- tokenize(String, String) - Static method in class com.eireneh.util.StringUtil
- Take a string and parse it into an Array of Strings.
- tokenize(String, String, char) - Static method in class com.eireneh.util.StringUtil
- Take a string and parse it into an Array of Strings.
- tokenize(String, String, String) - Static method in class com.eireneh.util.StringUtil
- Take a string and parse it taking note of string qualifiers into an Array of Strings.
- tokenizeByte(String) - Static method in class com.eireneh.util.StringUtil
- Parses a String like "1 2 3 4" into a Byte Array like {1, 2, 3, 4}
- tokenizeShort(String) - Static method in class com.eireneh.util.StringUtil
- Parses a String like "1 2 3 4" into a Byte Array like {1, 2, 3, 4}
- trace(Throwable) - Static method in class com.eireneh.util.TestBase
- Display a stack trace for an execption
- trim(String[]) - Static method in class com.eireneh.util.StringUtil
- Run String.trim on all the elements of this array
- trimToNumberic(String) - Static method in class com.eireneh.util.Validator
- Take a string (for example "£2,000.00") and chop out any of the chars that make it fail to parse (giving 2000.00) All we do is chop out any chars that are not one of "+", "-", "." or a number
U
- UserLevel - class com.eireneh.util.UserLevel.
- A UserLevel keeps a track of how advanced the user is.
- UserLevel() - Constructor for class com.eireneh.util.UserLevel
- Ensure that we can't be instansiated
- unescape(String) - Static method in class com.eireneh.util.StringUtil
- UnEscapes certain characters from an original string.
- unescape(String[]) - Static method in class com.eireneh.util.StringUtil
- UnEscapes certain characters from an original string.
V
- Validator - class com.eireneh.util.Validator.
- A generic class of String utils.
- Validator() - Constructor for class com.eireneh.util.Validator
- Ensure that we can not be instansiated
W
- WARNING - Static variable in class com.eireneh.util.Level
- Log level: warning
- warning(SAXParseException) - Method in class com.eireneh.util.DOMHandlerBase
- Warning
- warning(String) - Method in class com.eireneh.util.Logger
- Log a message
- whiteSpaceChars - Static variable in class com.eireneh.util.PropertiesUtil
- writeObject(ObjectOutputStream) - Method in class com.eireneh.util.CodeColorizer
- writeObject(ObjectOutputStream) - Method in class com.eireneh.util.EventListenerList
- writeln(BufferedWriter, String) - Static method in class com.eireneh.util.PropertiesUtil
- Write a line to a file
X
- XMLUtil - class com.eireneh.util.XMLUtil.
- The XMLUtil class does general stuff that I need in various places to do with XML.
- XMLUtil() - Constructor for class com.eireneh.util.XMLUtil
- Basic constructor
Z
- ZTestUtil - class com.eireneh.util.ZTestUtil.
- Attepmted 100% code coverage testing.
- ZTestUtil() - Constructor for class com.eireneh.util.ZTestUtil
A B C D E F G H I K L M N O P R S T U V W X ZOverview Package Class Use Deprecated Index Home >> All >> com >> eireneh >> [ util overview ] PREV NEXT