Index

A B C D E F G I J K L N O P R S T V X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addAppender(Appender<E>) - Method in class de.stefanfrings.utils.BufferedAppender
 
addAppender(Appender) - Method in class de.stefanfrings.utils.BackTraceAppender
Attach an appender.
addCharacters(char[], int, int) - Method in class de.stefanfrings.utils.XMLElement
Append characters to the character buffer.
addFieldNamesToHideTotally(String...) - Method in class de.stefanfrings.utils.ObjectLogger
Add field names which shall be hidden totally.
addFieldNamesToHideTotally(Collection<String>) - Method in class de.stefanfrings.utils.ObjectLogger
Add field names which shall be hidden totally.
addFieldNamesToHideValue(String...) - Method in class de.stefanfrings.utils.ObjectLogger
Add field names whose values shall be hidden.
addFieldNamesToHideValue(Collection<String>) - Method in class de.stefanfrings.utils.ObjectLogger
Add field names whose values shall be hidden.
allowedAttributes(String...) - Method in class de.stefanfrings.utils.XMLElement
Checks if the element has any unexpected attributes.
append(E) - Method in class de.stefanfrings.utils.BufferedAppender
This method is called when a log message got produced.
append(LoggingEvent) - Method in class de.stefanfrings.utils.BackTraceAppender
This method is called when a log message got produced.
appenderList - Variable in class de.stefanfrings.utils.BackTraceAppender
The appenders used for output
appendLoopOnAppenders(E) - Method in class de.stefanfrings.utils.BufferedAppender
appendLoopOnAppenders(LoggingEvent) - Method in class de.stefanfrings.utils.BackTraceAppender

B

BackTraceAppender - Class in de.stefanfrings.utils
For Log4j: Write debug messages only when an error occurs.
BackTraceAppender() - Constructor for class de.stefanfrings.utils.BackTraceAppender
Constructor
BackTraceFileHandler - Class in de.stefanfrings.utils
For Jboss/Wildfly: Write debug messages only when an error occurs.
BackTraceFileHandler() - Constructor for class de.stefanfrings.utils.BackTraceFileHandler
Constructor.
BooleanParser - Class in de.stefanfrings.utils
Parser for strings that represent boolean values.
BooleanParser() - Constructor for class de.stefanfrings.utils.BooleanParser
 
BufferedAppender<E> - Class in de.stefanfrings.utils
For Logback: Write debug messages only when an error occurs.
BufferedAppender() - Constructor for class de.stefanfrings.utils.BufferedAppender
Constructor

C

charactersToMap() - Method in class de.stefanfrings.utils.XMLElement
Trim and copy the characters to the internal map.
check() - Method in class de.stefanfrings.utils.TextTemplate
Check if the template contains unused tags.
clear() - Method in class de.stefanfrings.utils.ConvertingHashMap
 
clearBuffer() - Static method in class de.stefanfrings.utils.BackTraceAppender
Clear the buffer(s) of the current thread.
clearBuffer() - Static method in class de.stefanfrings.utils.BackTraceFileHandler
Clear the buffer of the current thread.
clearBuffer() - Static method in class de.stefanfrings.utils.BufferedAppender
Discard buffered messages of the current thread.
close() - Method in class de.stefanfrings.utils.BackTraceAppender
Close this appender, release buffer memory.
close() - Method in class de.stefanfrings.utils.BackTraceFileHandler
Close this handler, release buffer memory.
CmdLineArgumentParser - Class in de.stefanfrings.utils
Generic parser for command line arguments in Unix C-Style.
CmdLineArgumentParser(String[]) - Constructor for class de.stefanfrings.utils.CmdLineArgumentParser
Constructor
column - Variable in exception de.stefanfrings.utils.XMLParseException
Column number where the error occurred, may be null
CombinedURL - Class in de.stefanfrings.utils
Extended version of the URL class, supports proxy and authentication, can send HTTP header and post parameters.
CombinedURL(String) - Constructor for class de.stefanfrings.utils.CombinedURL
Constructor that takes a server URL or combined URL as string.
CombinedURL(String, String) - Constructor for class de.stefanfrings.utils.CombinedURL
Constructor that takes proxy and server URL as string.
CombinedURL(URL, URL) - Constructor for class de.stefanfrings.utils.CombinedURL
Constructor that takes proxy and server URL.
condition(String, boolean) - Method in class de.stefanfrings.utils.TextTemplate
Set a condition.
connect(int, int) - Method in class de.stefanfrings.utils.CombinedURL
Open a connection to the URL.
connect(int, int, Map<String, String>, Map<String, String>, String) - Method in class de.stefanfrings.utils.CombinedURL
Open a connection to the URL, with optional HTTP specific parameters.
containsKey(Object) - Method in class de.stefanfrings.utils.ConvertingHashMap
 
containsValue(Object) - Method in class de.stefanfrings.utils.ConvertingHashMap
 
ConvertingHashMap - Class in de.stefanfrings.utils
Wrapper around HashMap which adds type conversion with caching.
ConvertingHashMap() - Constructor for class de.stefanfrings.utils.ConvertingHashMap
 

D

DATE_PATTERN - Static variable in class de.stefanfrings.utils.ConvertingHashMap
Pattern used to represent a date without time.
DATE_TIME_PATTERN - Static variable in class de.stefanfrings.utils.ConvertingHashMap
Pattern used to represent a date with time.
de.stefanfrings.utils - package de.stefanfrings.utils
 
detachAndStopAllAppenders() - Method in class de.stefanfrings.utils.BufferedAppender
 
detachAppender(Appender<E>) - Method in class de.stefanfrings.utils.BufferedAppender
 
detachAppender(String) - Method in class de.stefanfrings.utils.BufferedAppender
 
doPublish(ExtLogRecord) - Method in class de.stefanfrings.utils.BackTraceFileHandler
 

E

end(XMLElement) - Method in class de.stefanfrings.utils.SimpleXMLParser
This method is called whenever the end of an element is reached.
entrySet() - Method in class de.stefanfrings.utils.ConvertingHashMap
 

F

fullName - Variable in class de.stefanfrings.utils.XMLElement
Hierarchical name of this element.

G

get(Object) - Method in class de.stefanfrings.utils.ConvertingHashMap
 
getAllAppenders() - Method in class de.stefanfrings.utils.BackTraceAppender
Get all attached appenders as an Enumeration.
getAppender(String) - Method in class de.stefanfrings.utils.BackTraceAppender
Look for an attached appender named as name.
getAppender(String) - Method in class de.stefanfrings.utils.BufferedAppender
 
getAttribute(String) - Method in class de.stefanfrings.utils.XMLElement
Gets an attribute.
getAttribute(String, String) - Method in class de.stefanfrings.utils.XMLElement
Gets an attribute.
getBigDecimal(String, BigDecimal) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an object a BigDecimal.
getBigDecimalList(String, List<BigDecimal>) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get a comma separated list of BigDecimal numbers.
getBigInteger(String, BigInteger) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an object a BigInteger.
getBigIntegerList(String, List<BigInteger>) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get a comma separated list of BigInteger numbers.
getBoolean(String, Boolean) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an entry as Boolean.
getCalendar(String, Calendar) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an entry as GregorianCalendar.
getDate(String, Date) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an entry as Date.
getDateList(String, List<Date>) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get a comma separated list of dates.
getDouble(String, Double) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an entry as Double.
getDoubleList(String, List<Double>) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get a comma separated list of double numbers.
getFloat(String, Float) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an entry as Float.
getFloatList(String, List<Float>) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get a comma separated list of float numbers.
getInstance() - Static method in class de.stefanfrings.utils.ThreadLocalAuthenticator
Get the single instance of this class.
getInteger(String, Integer) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an entry as Integer.
getIntegerList(String, List<Integer>) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get a comma separated list of integer numbers.
getLong(String, Long) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an entry as Long.
getLongList(String, List<Long>) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get a comma separated list of long integer numbers.
getNextOption() - Method in class de.stefanfrings.utils.CmdLineArgumentParser
Gets the next option from the argument list.
getNextParameter() - Method in class de.stefanfrings.utils.CmdLineArgumentParser
Gets the next parameter from the argument list.
getPasswordAuthentication() - Method in class de.stefanfrings.utils.ThreadLocalAuthenticator
This method is called by the java.net classes, when connecting to a URL while the affected web server or proxy requests username and password.
getProxy() - Method in class de.stefanfrings.utils.CombinedURL
Get a Proxy instance from proxy URL.
getProxyURL() - Method in class de.stefanfrings.utils.CombinedURL
Get the proxy URL part of this combined URL.
getserverURL() - Method in class de.stefanfrings.utils.CombinedURL
Get the server URL part of this combined URL.
getString(String, String) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an entry as String.
getStringList(String, List<String>) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get a comma separated list of strings.
getXMLGregorianCalendar(String, XMLGregorianCalendar) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an entry as XMLGregorianCalendar.
getXmlObject(String, Class<T>, T) - Method in class de.stefanfrings.utils.ConvertingHashMap
Get an entry as XmlElement or XmlRootElement object.

I

isAttached(Appender<E>) - Method in class de.stefanfrings.utils.BufferedAppender
 
isAttached(Appender) - Method in class de.stefanfrings.utils.BackTraceAppender
Returns true if the specified appender is in the list of attached appenders, false otherwise.
isEmpty() - Method in class de.stefanfrings.utils.ConvertingHashMap
 
ISO8601Calendar - Class in de.stefanfrings.utils
ISO 8601 date/time encoder and decoder.
ISO8601Calendar(String) - Constructor for class de.stefanfrings.utils.ISO8601Calendar
Constructor, parses date string.
ISO8601Calendar(Date, TimeZone) - Constructor for class de.stefanfrings.utils.ISO8601Calendar
Constructor, sets the internal value to the given date/time.
iteratorForAppenders() - Method in class de.stefanfrings.utils.BufferedAppender
 

J

JsonSlurper - Class in de.stefanfrings.utils
Parse JSON documents of any structure into a flat map key/value pairs.
JsonSlurper() - Constructor for class de.stefanfrings.utils.JsonSlurper
 

K

keySet() - Method in class de.stefanfrings.utils.ConvertingHashMap
 

L

line - Variable in exception de.stefanfrings.utils.XMLParseException
Line number where the error occurred, may be null
lock(File, int) - Static method in class de.stefanfrings.utils.LockFile
Create a lock file.
LockFile - Class in de.stefanfrings.utils
Lock files are used to protect files against concurrent access.
LockFile() - Constructor for class de.stefanfrings.utils.LockFile
 
loop(String, int) - Method in class de.stefanfrings.utils.TextTemplate
Set repetitions of a loop.

N

name - Variable in exception de.stefanfrings.utils.XMLParseException
Symbolic name of the XML document

O

ObjectLogger - Class in de.stefanfrings.utils
Print the content of any object to human readable String.
ObjectLogger() - Constructor for class de.stefanfrings.utils.ObjectLogger
Call this constructor, then optionally call some setters to configure behaviour, then toString(o) which generates the output.
ObjectLogger(Object) - Constructor for class de.stefanfrings.utils.ObjectLogger
Call this constructor, then optionally call some setters to configure behaviour, then toString() which generates the output.

P

parent - Variable in class de.stefanfrings.utils.XMLElement
Link to the parent element, null if this is the root element
parse(InputStream, String, boolean) - Method in class de.stefanfrings.utils.SimpleXMLParser
Parses an XML document.
parse(String) - Static method in class de.stefanfrings.utils.BooleanParser
Parse a string to a boolean value.
parse(String) - Static method in class de.stefanfrings.utils.JsonSlurper
Parse an JSON document into a simple flat HashMap where the keys reflect the JSON structure.
parse(String) - Static method in class de.stefanfrings.utils.XmlSlurper
Parse an XML document into a simple flat HashMap where the keys reflect the XML structure.
put(String, Object) - Method in class de.stefanfrings.utils.ConvertingHashMap
Add or replace an entry.
put(String, String) - Method in class de.stefanfrings.utils.ConvertingHashMap
 
putAll(Map<? extends String, ? extends String>) - Method in class de.stefanfrings.utils.ConvertingHashMap
 
putAllObjects(Map<? extends String, ? extends Object>) - Method in class de.stefanfrings.utils.ConvertingHashMap
Add or replace many elements.
putIfNotEmpty(String, Object) - Method in class de.stefanfrings.utils.ConvertingHashMap
Add or replace an entry, but only if the value is not null and no empty string.
putXmlObject(String, Object) - Method in class de.stefanfrings.utils.ConvertingHashMap
Add or replace an entry.

R

readText(CombinedURL, int, int, String) - Static method in class de.stefanfrings.utils.TextReader
Read text from an URL into a String.
readText(File, String) - Static method in class de.stefanfrings.utils.TextReader
Read text from a File into a String and then close the connection.
readText(InputStream, String) - Static method in class de.stefanfrings.utils.TextReader
Read text from an InputStream into a String and then close the connection.
readText(URLConnection, String) - Static method in class de.stefanfrings.utils.TextReader
Read text from an URLConnection into a String and then close the connection.
readText(URL, String) - Static method in class de.stefanfrings.utils.TextReader
Read text from a local URL into a String.
release(File) - Static method in class de.stefanfrings.utils.LockFile
Delete a lock file.
remove(Object) - Method in class de.stefanfrings.utils.ConvertingHashMap
 
removeAllAppenders() - Method in class de.stefanfrings.utils.BackTraceAppender
Remove and close all previously attached appenders.
removeAppender(String) - Method in class de.stefanfrings.utils.BackTraceAppender
Remove the appender with the name passed as parameter form the list of appenders.
removeAppender(Appender) - Method in class de.stefanfrings.utils.BackTraceAppender
Remove the appender passed as parameter form the list of attached appenders.
requiredAttributes(String...) - Method in class de.stefanfrings.utils.XMLElement
Checks if the element has all required attributes.
requiresLayout() - Method in class de.stefanfrings.utils.BackTraceAppender
This appender does not require a layout because it uses another appender to format messages.

S

setAllowedLevel(String) - Method in class de.stefanfrings.utils.BackTraceAppender
Set the log level.
setAllowedLevel(String) - Method in class de.stefanfrings.utils.BackTraceFileHandler
Set the log level.
setAllowedLevel(String) - Method in class de.stefanfrings.utils.BufferedAppender
setAsDefault() - Static method in class de.stefanfrings.utils.ThreadLocalAuthenticator
Set this Authenticator as default.
setAttribute(String, String) - Method in class de.stefanfrings.utils.XMLElement
Sets an attribute.
setBufferSize(int) - Method in class de.stefanfrings.utils.BackTraceAppender
Set buffer size.
setBufferSize(int) - Method in class de.stefanfrings.utils.BufferedAppender
Set buffer size.
setBufferSize(String) - Method in class de.stefanfrings.utils.BackTraceFileHandler
Set buffer size-
setMaxListSize(int) - Method in class de.stefanfrings.utils.ObjectLogger
Set the maximum number of elements in arrays and lists.
setMaxNestingDepth(int) - Method in class de.stefanfrings.utils.ObjectLogger
Set the maximum nesting depth of sub-objects.
setMaxStringSize(int) - Method in class de.stefanfrings.utils.ObjectLogger
Set the maximum number of characters per String
setMaxTotalCharacters(int) - Method in class de.stefanfrings.utils.ObjectLogger
Set the maximum number of characters in the result.
setProxyAuth(String, String) - Static method in class de.stefanfrings.utils.ThreadLocalAuthenticator
Set credentials for proxy server authentication.
setServerAuth(String, String) - Static method in class de.stefanfrings.utils.ThreadLocalAuthenticator
Set credentials for web server authentication.
setShowNull(boolean) - Method in class de.stefanfrings.utils.ObjectLogger
Configure whether fields with value null shall appear in the output.
setTriggerLevel(String) - Method in class de.stefanfrings.utils.BackTraceAppender
Set trigger level.
setTriggerLevel(String) - Method in class de.stefanfrings.utils.BackTraceFileHandler
Set trigger level.
setTriggerLevel(String) - Method in class de.stefanfrings.utils.BufferedAppender
shortName - Variable in class de.stefanfrings.utils.XMLElement
Name of this element as written in the XML file.
SimpleXMLParser - Class in de.stefanfrings.utils
Very efficient parser for large XML documents, based on SAX.
SimpleXMLParser() - Constructor for class de.stefanfrings.utils.SimpleXMLParser
 
size() - Method in class de.stefanfrings.utils.ConvertingHashMap
 
start(XMLElement) - Method in class de.stefanfrings.utils.SimpleXMLParser
This method is called whenever the start of a new element is reached.

T

TemplateException - Exception in de.stefanfrings.utils
Indicates an error in a template
TemplateException(String) - Constructor for exception de.stefanfrings.utils.TemplateException
Constructor with message text
TemplateException(String, Throwable) - Constructor for exception de.stefanfrings.utils.TemplateException
Constructor with message text and cause
TextReader - Class in de.stefanfrings.utils
Read content from local or remote text files into a String.
TextReader() - Constructor for class de.stefanfrings.utils.TextReader
 
TextTemplate - Class in de.stefanfrings.utils
Text document creation with templates.
TextTemplate(CombinedURL, int, int, String) - Constructor for class de.stefanfrings.utils.TextTemplate
Constructor that reads a template from an URL.
TextTemplate(File, String) - Constructor for class de.stefanfrings.utils.TextTemplate
Constructor that reads a template from a file.
TextTemplate(InputStream, String, String) - Constructor for class de.stefanfrings.utils.TextTemplate
Constructor that reads a template from an InputStream.
TextTemplate(CharSequence, String) - Constructor for class de.stefanfrings.utils.TextTemplate
Constructor that copies a template from CharSequence.
TextTemplate(URL, String) - Constructor for class de.stefanfrings.utils.TextTemplate
Constructor that reads a template from a local URL.
ThreadLocalAuthenticator - Class in de.stefanfrings.utils
This is a thread local implementation of an Authenticator for java.net classes.
toString() - Method in class de.stefanfrings.utils.CombinedURL
Get the combined URL as string.
toString() - Method in class de.stefanfrings.utils.ISO8601Calendar
Return the internal value as ISO 8601 date string in format YYYY-MM-DDThh:mm:ss.s+hh:mm
toString() - Method in class de.stefanfrings.utils.ObjectLogger
Returns the content of the object which was passed to the construtor as human readable string.
toString() - Method in class de.stefanfrings.utils.TextTemplate
Return the filled template as String.
toString() - Method in class de.stefanfrings.utils.XMLElement
Returns the data of this object in human readable format.
toString(Object) - Method in class de.stefanfrings.utils.ObjectLogger
Returns the content of the object as human readable string.

V

values() - Method in class de.stefanfrings.utils.ConvertingHashMap
 
variable(String, String) - Method in class de.stefanfrings.utils.TextTemplate
Replace a variable by a value.

X

XMLElement - Class in de.stefanfrings.utils
Storage container for one single XML element, used by SimpleXMLParser.
XMLElement(String, String, XMLElement) - Constructor for class de.stefanfrings.utils.XMLElement
Constructor
XMLParseException - Exception in de.stefanfrings.utils
Indicates a problem parsing an XML document
XMLParseException(String, String, Integer, Integer) - Constructor for exception de.stefanfrings.utils.XMLParseException
Constructor with message text
XMLParseException(String, Throwable, String, Integer, Integer) - Constructor for exception de.stefanfrings.utils.XMLParseException
Constructor with message text and cause
XmlSlurper - Class in de.stefanfrings.utils
Parse XML documents of any structure into a flat map key/value pairs.
XmlSlurper() - Constructor for class de.stefanfrings.utils.XmlSlurper
 
A B C D E F G I J K L N O P R S T V X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form