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

A

AbstractSimpleContentHandler<K,V> - Class in org.dstadler.commons.xml
Simple SAX Parser to handle XML data, it is usually subclassed to provide the missing pieces of information to actually collect some information out of the XML data.
AbstractSimpleContentHandler() - Constructor for class org.dstadler.commons.xml.AbstractSimpleContentHandler
 
add(Node) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
add(int, Node) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
addAll(Collection<? extends Node>) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
addAll(int, Collection<? extends Node>) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
addBcc(String) - Method in class org.dstadler.commons.email.EmailConfig
 
addCc(String) - Method in class org.dstadler.commons.email.EmailConfig
 
addDynamicMeasure(String, double) - Method in class org.dstadler.commons.dynatrace.Measure
 
addHeader(String, String) - Method in class org.dstadler.commons.http.NanoHTTPD.Response
Adds given line to the header.
addInt(T, int) - Method in class org.dstadler.commons.collections.ConcurrentMappedCounter
 
addInt(T, int) - Method in interface org.dstadler.commons.collections.MappedCounter
 
addInt(T, int) - Method in class org.dstadler.commons.collections.MappedCounterImpl
 
addPath(String, String) - Method in class org.dstadler.commons.svn.LogEntry
 
addTo(String) - Method in class org.dstadler.commons.email.EmailConfig
 
addValue(double) - Method in class org.dstadler.commons.dynatrace.Measure
 
adjustParser(XMLReader) - Method in class org.dstadler.commons.xml.AbstractSimpleContentHandler
 
AllowingHostnameVerifier - Class in org.dstadler.commons.net
Allows to connect to HTTPS urls without verifying the host mentioned in the SSL certificate.
AllowingHostnameVerifier() - Constructor for class org.dstadler.commons.net.AllowingHostnameVerifier
 
AMP - Static variable in class org.dstadler.commons.util.ClientConstants
 
ArrayUtils - Class in org.dstadler.commons.arrays
General utilities for arrays.
ArrayUtils() - Constructor for class org.dstadler.commons.arrays.ArrayUtils
 
author - Variable in class org.dstadler.commons.svn.LogEntry
 

B

BriefLogFormatter - Class in org.dstadler.commons.logging.jdk
Changes the log format of the jdk-logging to not use a two-line format.
BriefLogFormatter() - Constructor for class org.dstadler.commons.logging.jdk.BriefLogFormatter
 
BROWSER_CHOICES - Static variable in class org.dstadler.commons.util.ClientConstants
 
BROWSER_FIREFOX - Static variable in class org.dstadler.commons.util.ClientConstants
 
BROWSER_GNOME_OPEN - Static variable in class org.dstadler.commons.util.ClientConstants
 
BROWSER_KDE_OPEN - Static variable in class org.dstadler.commons.util.ClientConstants
 
BROWSER_MOZILLA - Static variable in class org.dstadler.commons.util.ClientConstants
 
BROWSER_NETSCAPE - Static variable in class org.dstadler.commons.util.ClientConstants
BROWSERS **
BTICK - Static variable in class org.dstadler.commons.util.ClientConstants
 
BufferingLogOutputStream - Class in org.dstadler.commons.exec
Implementation of the LogOutputStream from commons-exec which buffers the log somewhat to not flood the output if there are many lines of text printed.
BufferingLogOutputStream() - Constructor for class org.dstadler.commons.exec.BufferingLogOutputStream
 

C

characters - Variable in class org.dstadler.commons.xml.AbstractSimpleContentHandler
 
characters(char[], int, int) - Method in class org.dstadler.commons.xml.AbstractSimpleContentHandler
 
checkAndFetch(HttpResponse, String) - Static method in class org.dstadler.commons.http.HttpClientWrapper
Helper method to check the status code of the response and throw an IOException if it is an error or moved state.
checkDot() - Static method in class org.dstadler.commons.graphviz.DotUtils
Verify if dot can be started and print out the version to stdout.
clear() - Method in class org.dstadler.commons.collections.ConcurrentMappedCounter
 
clear() - Method in interface org.dstadler.commons.collections.MappedCounter
 
clear() - Method in class org.dstadler.commons.collections.MappedCounterImpl
 
clear() - Method in class org.dstadler.commons.xml.NodeListWrapper
 
ClientConstants - Class in org.dstadler.commons.util
Just copied from general ClientConstants to not introduce a dependency here.
ClientConstants() - Constructor for class org.dstadler.commons.util.ClientConstants
 
close() - Method in class org.dstadler.commons.exec.BufferingLogOutputStream
Flush any pending data in the BufferingLogOutputStream.logBuffer
close() - Method in class org.dstadler.commons.http.HttpClientWrapper
 
close() - Method in class org.dstadler.commons.io.DeleteOnCloseInputStream
 
close() - Method in class org.dstadler.commons.io.TailInputStream
 
close() - Method in class org.dstadler.commons.zip.ZipFileCloseInputStream
 
CMD_C_START_ARRAY - Static variable in class org.dstadler.commons.util.ClientConstants
 
COLON - Static variable in class org.dstadler.commons.util.ClientConstants
 
computeTimeAgoString(long, String) - Static method in class org.dstadler.commons.date.DateParser
Takes the time in milliseconds since the epoch and converts it into a string of "x days/hours/minutes/seconds" compared to the current time.
ConcurrentMappedCounter<T> - Class in org.dstadler.commons.collections
Thread-Safe variant of MappedCounter, currently internally delegates to a MappedCounterImpl
ConcurrentMappedCounter() - Constructor for class org.dstadler.commons.collections.ConcurrentMappedCounter
 
configs - Variable in class org.dstadler.commons.xml.AbstractSimpleContentHandler
 
contains(Object) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
containsAll(Collection<?>) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
count(Collection<T>) - Method in class org.dstadler.commons.collections.ConcurrentMappedCounter
 
count(Collection<T>) - Method in interface org.dstadler.commons.collections.MappedCounter
 
count(Collection<T>) - Method in class org.dstadler.commons.collections.MappedCounterImpl
 
currentTags - Variable in class org.dstadler.commons.xml.AbstractSimpleContentHandler
 

D

DashboardXMLContentHandler - Class in org.dstadler.commons.dashboard
Can read some information off of the list of Dashboards returned by the dynaTrace XML reporting.
DashboardXMLContentHandler() - Constructor for class org.dstadler.commons.dashboard.DashboardXMLContentHandler
 
data - Variable in class org.dstadler.commons.http.NanoHTTPD.Response
Data of the response, may be null.
date - Variable in class org.dstadler.commons.svn.LogEntry
 
DateParser - Class in org.dstadler.commons.date
Modelled after http://graphite.readthedocs.org/en/latest/render_api.html#from-until Note: Passing in absolute time is expected to be stated in the European timezone!
DateParser() - Constructor for class org.dstadler.commons.date.DateParser
 
DayCalendar - Class in org.dstadler.commons.date
Taken from http://www.xmission.com/~goodhill/dates/deltaDates.html Demonstration of delta day calculations.
DayCalendar() - Constructor for class org.dstadler.commons.date.DayCalendar
 
DayCalendar(long) - Constructor for class org.dstadler.commons.date.DayCalendar
 
DayCalendar(int, int, int) - Constructor for class org.dstadler.commons.date.DayCalendar
 
DayCalendar(int, int, int, int, int, int) - Constructor for class org.dstadler.commons.date.DayCalendar
 
DBSLASH - Static variable in class org.dstadler.commons.util.ClientConstants
 
DefaultFormatter - Class in org.dstadler.commons.logging.jdk
Logs a record with the pattern "YYYY-MM-DD HH:MM:SS LEVEL [CLASS] MESSAGE".
DefaultFormatter() - Constructor for class org.dstadler.commons.logging.jdk.DefaultFormatter
 
DeleteOnCloseInputStream - Class in org.dstadler.commons.io
Small wrapper InputStream which removes the underlying file as soon as the InputStream is closed.
DeleteOnCloseInputStream(InputStream, File) - Constructor for class org.dstadler.commons.io.DeleteOnCloseInputStream
 
diffDayPeriods(Calendar) - Method in class org.dstadler.commons.date.DayCalendar
find the number of days from this date to the given end date.
DocumentStarter - Class in org.dstadler.commons.util
The default implementation of the web browser instance.
DocumentStarter() - Constructor for class org.dstadler.commons.util.DocumentStarter
 
DOT - Static variable in class org.dstadler.commons.util.ClientConstants
 
DOT_EXE - Static variable in class org.dstadler.commons.graphviz.DotUtils
 
DotUtils - Class in org.dstadler.commons.graphviz
Simple utility methods to run the dot-tool from Graphviz on a file.
DotUtils() - Constructor for class org.dstadler.commons.graphviz.DotUtils
 
DWS - Static variable in class org.dstadler.commons.util.ClientConstants
 

E

EmailConfig - Class in org.dstadler.commons.email
Configuration object for all properties necessary to send an email.
EmailConfig() - Constructor for class org.dstadler.commons.email.EmailConfig
 
endElement(String, String, String) - Method in class org.dstadler.commons.session.SessionXMLContentHandler
 
endElement(String, String, String) - Method in class org.dstadler.commons.svn.SVNLogFileParser
Internal method used for XML parsing
entries() - Method in class org.dstadler.commons.collections.ConcurrentMappedCounter
 
entries() - Method in interface org.dstadler.commons.collections.MappedCounter
 
entries() - Method in class org.dstadler.commons.collections.MappedCounterImpl
 
EPOCH_UNIX_ERA_DAY - Static variable in class org.dstadler.commons.date.DayCalendar
Value to add to the day number returned by this calendar to find the Julian Day number.
equals(Object) - Method in class org.dstadler.commons.http.IP
 
error(SAXParseException) - Method in class org.dstadler.commons.dashboard.DashboardXMLContentHandler
 
error(SAXParseException) - Method in class org.dstadler.commons.xml.AbstractSimpleContentHandler
 
ExecutionHelper - Class in org.dstadler.commons.exec
Helper class which provides convenience support for execution of commandline processes via commons-exec.
ExecutionHelper() - Constructor for class org.dstadler.commons.exec.ExecutionHelper
 
extractZip(File, File) - Static method in class org.dstadler.commons.zip.ZipUtils
Extracts all files in the specified ZIP file and stores them in the denoted directory.
extractZip(InputStream, File) - Static method in class org.dstadler.commons.zip.ZipUtils
Extracts all files in the ZIP file passed as InputStream and stores them in the denoted directory.

F

fatalError(SAXParseException) - Method in class org.dstadler.commons.dashboard.DashboardXMLContentHandler
 
fatalError(SAXParseException) - Method in class org.dstadler.commons.xml.AbstractSimpleContentHandler
 
FILE_PROTOCOL - Static variable in class org.dstadler.commons.util.ClientConstants
 
findZip(String, InputStream, FileFilter, List<String>) - Static method in class org.dstadler.commons.zip.ZipUtils
Looks in the ZIP file available via zipInput for files matching the provided file-filter, recursing into sub-ZIP files.
format(LogRecord) - Method in class org.dstadler.commons.logging.jdk.BriefLogFormatter
A Custom format implementation that is designed for brevity.
format(LogRecord) - Method in class org.dstadler.commons.logging.jdk.DefaultFormatter
Format the given LogRecord.
format(LogRecord) - Method in class org.dstadler.commons.logging.jdk.PatternFormatter
 
FORMAT_STRING_PERCENT_20 - Static variable in class org.dstadler.commons.util.ClientConstants
 
found(File, InputStream) - Method in interface org.dstadler.commons.zip.OutputHandler
Reports a file that matched.
FSLASH - Static variable in class org.dstadler.commons.util.ClientConstants
 
FTICK - Static variable in class org.dstadler.commons.util.ClientConstants
 

G

get(T) - Method in class org.dstadler.commons.collections.ConcurrentMappedCounter
 
get(T) - Method in interface org.dstadler.commons.collections.MappedCounter
 
get(T) - Method in class org.dstadler.commons.collections.MappedCounterImpl
 
get(int) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
getAccessError(String, boolean, boolean, int) - Static method in class org.dstadler.commons.net.UrlUtils
 
getAccessError(String, boolean, boolean, int, SSLSocketFactory) - Static method in class org.dstadler.commons.net.UrlUtils
 
getBcc() - Method in class org.dstadler.commons.email.EmailConfig
 
getBccAsEmail() - Method in class org.dstadler.commons.email.EmailConfig
 
getBounce() - Method in class org.dstadler.commons.email.MailserverConfig
 
getCc() - Method in class org.dstadler.commons.email.EmailConfig
 
getCcAsEmail() - Method in class org.dstadler.commons.email.EmailConfig
 
getCommandResult(CommandLine, File, int, long) - Static method in class org.dstadler.commons.exec.ExecutionHelper
Run the given commandline in the given directory and verify that the tool has the expected exit code and does finish in the timeout.
getCommandResult(CommandLine, File, int, long, InputStream) - Static method in class org.dstadler.commons.exec.ExecutionHelper
Run the given commandline in the given directory and provide the given input to the command.
getCommandResultIntoStream(CommandLine, File, int, long, OutputStream) - Static method in class org.dstadler.commons.exec.ExecutionHelper
Run the given commandline in the given directory and verify that the tool has the expected exit code and does finish in the timeout.
getCommandResultIntoStream(CommandLine, File, int, long, OutputStream, Map<String, String>) - Static method in class org.dstadler.commons.exec.ExecutionHelper
Run the given commandline in the given directory and verify that the tool has the expected exit code and does finish in the timeout.
getConfigs() - Method in class org.dstadler.commons.xml.AbstractSimpleContentHandler
 
getDashboards() - Method in class org.dstadler.commons.dashboard.DashboardXMLContentHandler
 
getDynamicMeasureName() - Method in class org.dstadler.commons.dynatrace.Measure
 
getDynamicMeasures() - Method in class org.dstadler.commons.dynatrace.Measure
 
getExceptionPattern() - Method in class org.dstadler.commons.logging.jdk.PatternFormatter
 
getFrom() - Method in class org.dstadler.commons.email.EmailConfig
 
getHttpClient() - Method in class org.dstadler.commons.http.HttpClientWrapper
Return the current HttpClient instance.
getJulianDay() - Method in class org.dstadler.commons.date.DayCalendar
 
getLogPattern() - Method in class org.dstadler.commons.logging.jdk.PatternFormatter
 
getLong() - Method in class org.dstadler.commons.http.IP
 
getNextFreePort(int, int) - Static method in class org.dstadler.commons.net.SocketUtils
Method that is used to find the next available port.
getPassword() - Method in class org.dstadler.commons.email.MailserverConfig
 
getPasswordAuthentication() - Method in class org.dstadler.commons.util.SimpleAuthenticator
 
getRandomIP() - Static method in class org.dstadler.commons.http.Utils
 
getRandomURL() - Static method in class org.dstadler.commons.http.Utils
 
getReturnCode() - Method in class org.dstadler.commons.http.IP
 
getServerAddress() - Method in class org.dstadler.commons.email.MailserverConfig
 
getServerPort() - Method in class org.dstadler.commons.email.MailserverConfig
 
getSubject() - Method in class org.dstadler.commons.email.EmailConfig
 
getSubjectPrefix() - Method in class org.dstadler.commons.email.MailserverConfig
 
getTextAsPNG(String) - Static method in class org.dstadler.commons.image.ImageUtils
 
getTimeFormat() - Method in class org.dstadler.commons.logging.jdk.PatternFormatter
 
getTo() - Method in class org.dstadler.commons.email.EmailConfig
 
getToAsEmail() - Method in class org.dstadler.commons.email.EmailConfig
 
getUnixDay() - Method in class org.dstadler.commons.date.DayCalendar
 
getURL(String, AtomicInteger, long) - Static method in class org.dstadler.commons.http.Utils
Test URL and report if it can be read.
getUserId() - Method in class org.dstadler.commons.email.MailserverConfig
 
getValue() - Method in class org.dstadler.commons.dynatrace.Measure
 
getZipContentsRecursive(String) - Static method in class org.dstadler.commons.zip.ZipUtils
Get a stream of the noted file which potentially resides inside ZIP files.
getZipStringContentsRecursive(String) - Static method in class org.dstadler.commons.zip.ZipUtils
Get the text-contents of the noted file.

H

hashCode() - Method in class org.dstadler.commons.http.IP
 
header - Variable in class org.dstadler.commons.http.NanoHTTPD.Response
Headers for the HTTP response.
HTTP_BADREQUEST - Static variable in class org.dstadler.commons.http.NanoHTTPD
Some HTTP response status codes
HTTP_FORBIDDEN - Static variable in class org.dstadler.commons.http.NanoHTTPD
Some HTTP response status codes
HTTP_INTERNALERROR - Static variable in class org.dstadler.commons.http.NanoHTTPD
Some HTTP response status codes
HTTP_NOTFOUND - Static variable in class org.dstadler.commons.http.NanoHTTPD
Some HTTP response status codes
HTTP_NOTIMPLEMENTED - Static variable in class org.dstadler.commons.http.NanoHTTPD
Some HTTP response status codes
HTTP_OK - Static variable in class org.dstadler.commons.http.NanoHTTPD
Some HTTP response status codes
HTTP_REDIRECT - Static variable in class org.dstadler.commons.http.NanoHTTPD
Some HTTP response status codes
HttpClientWrapper - Class in org.dstadler.commons.http
Helper class which configures a HttpClient instance for usage with BasicAuthentication user/pwd and also disables SSL verification to work with self-signed SSL certificates on webpages.
HttpClientWrapper(String, String, int) - Constructor for class org.dstadler.commons.http.HttpClientWrapper
Construct the HttpClient with the given authentication values and all timeouts set to the given number of milliseconds

I

i1 - Variable in class org.dstadler.commons.http.IP
 
i2 - Variable in class org.dstadler.commons.http.IP
 
i3 - Variable in class org.dstadler.commons.http.IP
 
i4 - Variable in class org.dstadler.commons.http.IP
 
ImageUtils - Class in org.dstadler.commons.image
 
ImageUtils() - Constructor for class org.dstadler.commons.image.ImageUtils
 
incValue() - Method in class org.dstadler.commons.dynatrace.Measure
 
indexOf(Object) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
initLogging() - Static method in class org.dstadler.commons.logging.jdk.LoggerFactory
Initialize Logging from a file "logging.properties" which needs to be found in the classpath.
instance() - Static method in class org.dstadler.commons.net.AllowingHostnameVerifier
 
IP - Class in org.dstadler.commons.http
 
IP(int, int, int, int) - Constructor for class org.dstadler.commons.http.IP
 
IP(long) - Constructor for class org.dstadler.commons.http.IP
 
isAvailable(String, boolean, int) - Static method in class org.dstadler.commons.net.UrlUtils
Check if the HTTP resource specified by the destination URL is available.
isAvailable(String, boolean, boolean, int) - Static method in class org.dstadler.commons.net.UrlUtils
Check if the HTTP resource specified by the destination URL is available.
isAvailable(String, boolean, boolean, int, SSLSocketFactory) - Static method in class org.dstadler.commons.net.UrlUtils
Check if the HTTP resource specified by the destination URL is available.
isDebug() - Method in class org.dstadler.commons.email.MailserverConfig
 
isDisabledForTest() - Static method in class org.dstadler.commons.util.DocumentStarter
 
isEmpty() - Method in class org.dstadler.commons.xml.NodeListWrapper
 
isFileInZip(String) - Static method in class org.dstadler.commons.zip.ZipUtils
Checks if the string denotes a file inside a ZIP file using the notation used for getZipContentsRecursive().
isIgnorableException(Exception) - Static method in class org.dstadler.commons.http.Utils
 
isSSLEnabled() - Method in class org.dstadler.commons.email.MailserverConfig
 
isZip(String) - Static method in class org.dstadler.commons.zip.ZipUtils
Determines if the file has an extension known to be a ZIP file, currently this includes .zip, .jar, .war, .ear, .aar
iterator() - Method in class org.dstadler.commons.xml.NodeListWrapper
 

K

keys() - Method in class org.dstadler.commons.collections.ConcurrentMappedCounter
 
keys() - Method in interface org.dstadler.commons.collections.MappedCounter
 
keys() - Method in class org.dstadler.commons.collections.MappedCounterImpl
 
keys() - Method in class org.dstadler.commons.util.SortedProperties
Overrides, called by the store method.

L

LABRA - Static variable in class org.dstadler.commons.util.ClientConstants
 
lastIndexOf(Object) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
LCBRA - Static variable in class org.dstadler.commons.util.ClientConstants
 
listIterator() - Method in class org.dstadler.commons.xml.NodeListWrapper
 
listIterator(int) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
listToEmail(List<String>) - Static method in class org.dstadler.commons.email.EmailConfig
 
Log4jUtils - Class in org.dstadler.commons.logging.log4j
 
Log4jUtils() - Constructor for class org.dstadler.commons.logging.log4j.Log4jUtils
 
LogEntry - Class in org.dstadler.commons.svn
 
LogEntry() - Constructor for class org.dstadler.commons.svn.LogEntry
 
LoggerFactory - Class in org.dstadler.commons.logging.jdk
Taken with explicit allowance from Dr Heinz M.
LoggerFactory() - Constructor for class org.dstadler.commons.logging.jdk.LoggerFactory
 
LRBRA - Static variable in class org.dstadler.commons.util.ClientConstants
 
LSBRA - Static variable in class org.dstadler.commons.util.ClientConstants
 

M

MailserverConfig - Class in org.dstadler.commons.email
Configuration object for the properties that are necessary to configure an SMTP email server.
MailserverConfig() - Constructor for class org.dstadler.commons.email.MailserverConfig
 
main(String[]) - Static method in class org.dstadler.commons.http.NanoHTTPD
Starts as a standalone file server and waits for Enter.
main(String[]) - Static method in class org.dstadler.commons.util.PrintSystemProperties
 
make() - Static method in class org.dstadler.commons.logging.jdk.LoggerFactory
 
MappedCounter<T> - Interface in org.dstadler.commons.collections
Interface for a Collection which simply counts a number of items.
MappedCounterImpl<T> - Class in org.dstadler.commons.collections
Default implementation of a MappedCounter.
MappedCounterImpl() - Constructor for class org.dstadler.commons.collections.MappedCounterImpl
 
MapUtils - Class in org.dstadler.commons.collections
Some helper methods related to Maps, e.g. sorting by value.
Measure - Class in org.dstadler.commons.dynatrace
Helper class to handle measures together with their dynamic measure values locally.
Measure() - Constructor for class org.dstadler.commons.dynatrace.Measure
 
Measure(double) - Constructor for class org.dstadler.commons.dynatrace.Measure
 
Measure(String) - Constructor for class org.dstadler.commons.dynatrace.Measure
 
Measure(String, double) - Constructor for class org.dstadler.commons.dynatrace.Measure
 
MILLISECS_PER_DAY - Static variable in class org.dstadler.commons.date.DayCalendar
Number of leap seconds per day expect on 1. days when a leap second has been inserted, e.g. 1999 JAN 1. 2.
MILLISECS_PER_HOUR - Static variable in class org.dstadler.commons.date.DayCalendar
Number of milliseconds per hour, except when a leap second is inserted.
MILLISECS_PER_MINUTE - Static variable in class org.dstadler.commons.date.DayCalendar
All minutes have this many milliseconds except the last minute of the day on a day defined with a leap second.
MIME_DEFAULT_BINARY - Static variable in class org.dstadler.commons.http.NanoHTTPD
Common mime types for dynamic content
MIME_HTML - Static variable in class org.dstadler.commons.http.NanoHTTPD
Common mime types for dynamic content
MIME_JSON - Static variable in class org.dstadler.commons.http.NanoHTTPD
Common mime types for dynamic content
MIME_PLAINTEXT - Static variable in class org.dstadler.commons.http.NanoHTTPD
Common mime types for dynamic content
mimeType - Variable in class org.dstadler.commons.http.NanoHTTPD.Response
MIME type of content, e.g.
MORE - Static variable in class org.dstadler.commons.svn.LogEntry
 
msg - Variable in class org.dstadler.commons.svn.LogEntry
 

N

NanoHTTPD - Class in org.dstadler.commons.http
A simple, tiny, nicely embeddable HTTP 1.0 server in Java NanoHTTPD version 1.14, Copyright © 2001,2005-2010 Jarno Elonen (elonen@iki.fi, http://iki.fi/elonen/) Features + limitations: Only one Java file Java 1.1 compatible Released as open source, Modified BSD licence No fixed config files, logging, authorization etc.
NanoHTTPD(int) - Constructor for class org.dstadler.commons.http.NanoHTTPD
Starts a HTTP server to given port and binds on all host-names.
NanoHTTPD(int, InetAddress) - Constructor for class org.dstadler.commons.http.NanoHTTPD
Starts a HTTP server to given port and only binds on the given name if specifed non-null.
NanoHTTPD(int, InetAddress, int) - Constructor for class org.dstadler.commons.http.NanoHTTPD
Starts a HTTP server to given port and only binds on the given name if specifed non-null.
NanoHTTPD.Response - Class in org.dstadler.commons.http
HTTP response.
NodeListWrapper - Class in org.dstadler.commons.xml
Simple wrapper to allow to iterate over a NodeList.
NodeListWrapper(NodeList) - Constructor for class org.dstadler.commons.xml.NodeListWrapper
 

O

ONE_DAY - Static variable in class org.dstadler.commons.date.DateParser
 
ONE_HOUR - Static variable in class org.dstadler.commons.date.DateParser
 
ONE_MINUTE - Static variable in class org.dstadler.commons.date.DateParser
 
ONE_SECOND - Static variable in class org.dstadler.commons.date.DateParser
 
openFile(File) - Method in class org.dstadler.commons.util.DocumentStarter
 
openURL(URL) - Method in class org.dstadler.commons.util.DocumentStarter
 
openURL(String) - Method in class org.dstadler.commons.util.DocumentStarter
 
org.dstadler.commons.arrays - package org.dstadler.commons.arrays
 
org.dstadler.commons.collections - package org.dstadler.commons.collections
 
org.dstadler.commons.dashboard - package org.dstadler.commons.dashboard
 
org.dstadler.commons.date - package org.dstadler.commons.date
 
org.dstadler.commons.dynatrace - package org.dstadler.commons.dynatrace
 
org.dstadler.commons.email - package org.dstadler.commons.email
 
org.dstadler.commons.exec - package org.dstadler.commons.exec
 
org.dstadler.commons.graphviz - package org.dstadler.commons.graphviz
 
org.dstadler.commons.http - package org.dstadler.commons.http
 
org.dstadler.commons.image - package org.dstadler.commons.image
 
org.dstadler.commons.io - package org.dstadler.commons.io
 
org.dstadler.commons.logging.jdk - package org.dstadler.commons.logging.jdk
 
org.dstadler.commons.logging.log4j - package org.dstadler.commons.logging.log4j
 
org.dstadler.commons.net - package org.dstadler.commons.net
 
org.dstadler.commons.os - package org.dstadler.commons.os
 
org.dstadler.commons.session - package org.dstadler.commons.session
 
org.dstadler.commons.svn - package org.dstadler.commons.svn
 
org.dstadler.commons.util - package org.dstadler.commons.util
 
org.dstadler.commons.xml - package org.dstadler.commons.xml
 
org.dstadler.commons.zip - package org.dstadler.commons.zip
 
OutputHandler - Interface in org.dstadler.commons.zip
Interface for handling output of searches for matching files.

P

parseContent(InputStream) - Static method in class org.dstadler.commons.dashboard.DashboardXMLContentHandler
 
parseContent(URL, String, String, int) - Method in class org.dstadler.commons.xml.AbstractSimpleContentHandler
 
parseContent(InputStream) - Method in class org.dstadler.commons.xml.AbstractSimpleContentHandler
 
parseURLDate(String, Date) - Static method in class org.dstadler.commons.date.DateParser
 
paths - Variable in class org.dstadler.commons.svn.LogEntry
 
PatternFormatter - Class in org.dstadler.commons.logging.jdk
 
PatternFormatter() - Constructor for class org.dstadler.commons.logging.jdk.PatternFormatter
 
PLATFORM_CARBON - Static variable in class org.dstadler.commons.util.ClientConstants
 
PLATFORM_WIN32 - Static variable in class org.dstadler.commons.util.ClientConstants
 
PLUS - Static variable in class org.dstadler.commons.util.ClientConstants
 
PrintSystemProperties - Class in org.dstadler.commons.util
A simple application which prints out the current Java system properties.
PrintSystemProperties() - Constructor for class org.dstadler.commons.util.PrintSystemProperties
 
processLine(String, int) - Method in class org.dstadler.commons.exec.BufferingLogOutputStream
 
PROPERTY_DOCUMENT_STARTER_DISABLE - Static variable in class org.dstadler.commons.util.DocumentStarter
Set this system property in unit tests to not have DocumentStarter open any documents

R

RABRA - Static variable in class org.dstadler.commons.util.ClientConstants
 
RABRA_WS - Static variable in class org.dstadler.commons.util.ClientConstants
angle brackets **
RCBRA - Static variable in class org.dstadler.commons.util.ClientConstants
 
RCBRA_WS - Static variable in class org.dstadler.commons.util.ClientConstants
curly brackets **
read() - Method in class org.dstadler.commons.io.TailInputStream
 
read(byte[]) - Method in class org.dstadler.commons.io.TailInputStream
 
read(byte[], int, int) - Method in class org.dstadler.commons.io.TailInputStream
 
remove(T) - Method in class org.dstadler.commons.collections.ConcurrentMappedCounter
 
remove(T) - Method in interface org.dstadler.commons.collections.MappedCounter
 
remove(T) - Method in class org.dstadler.commons.collections.MappedCounterImpl
 
remove(Object) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
remove(int) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
removeAll(Collection<?>) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
renderGraph(File, File) - Static method in class org.dstadler.commons.graphviz.DotUtils
Call graphviz-dot to convert the .dot-file to a rendered graph.
replaceInZip(String, String, String) - Static method in class org.dstadler.commons.zip.ZipUtils
Replace the file denoted by the zipFile with the provided data.
replaceInZip(File, String, String, String) - Static method in class org.dstadler.commons.zip.ZipUtils
Replaces the specified file in the provided ZIP file with the provided content.
Response() - Constructor for class org.dstadler.commons.http.NanoHTTPD.Response
Default constructor: response = HTTP_OK, data = mime = 'null'
Response(String, String, InputStream) - Constructor for class org.dstadler.commons.http.NanoHTTPD.Response
Basic constructor.
Response(String, String, String) - Constructor for class org.dstadler.commons.http.NanoHTTPD.Response
Convenience method that makes an InputStream out of given text.
retainAll(Collection<?>) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
retrieveData(String) - Static method in class org.dstadler.commons.http.HttpClientWrapper
Small helper method to simply query the URL without password and return the resulting data.
retrieveData(String, String, String, int) - Static method in class org.dstadler.commons.http.HttpClientWrapper
Small helper method to simply query the URL without password and return the resulting data.
retrieveData(String, int) - Static method in class org.dstadler.commons.net.UrlUtils
Download data from an URL.
retrieveData(String, String, int) - Static method in class org.dstadler.commons.net.UrlUtils
Download data from an URL, if necessary converting from a character encoding.
retrieveData(String, String, int, SSLSocketFactory) - Static method in class org.dstadler.commons.net.UrlUtils
Download data from an URL, if necessary converting from a character encoding.
retrieveDataPost(String, String, String, String, int) - Static method in class org.dstadler.commons.net.UrlUtils
Download data from an URL with a POST request, if necessary converting from a character encoding.
retrieveDataPost(String, String, String, String, int, SSLSocketFactory) - Static method in class org.dstadler.commons.net.UrlUtils
Download data from an URL with a POST request, if necessary converting from a character encoding.
retrieveRawData(String, int) - Static method in class org.dstadler.commons.net.UrlUtils
Download data from an URL and return the raw bytes.
retrieveRawData(String, int, SSLSocketFactory) - Static method in class org.dstadler.commons.net.UrlUtils
Download data from an URL and return the raw bytes.
revision - Variable in class org.dstadler.commons.svn.LogEntry
 
rolloverLogfile() - Static method in class org.dstadler.commons.logging.jdk.LoggerFactory
Resort to reflection to make any FileHandler that is currently active roll-over the current logfile and start a new one, e.g. this may be useful before a big batch-job starts to have a clean start of log-entries.
rolloverLogfile() - Static method in class org.dstadler.commons.logging.log4j.Log4jUtils
Manually roll over logfiles to start with a new logfile
RRBRA - Static variable in class org.dstadler.commons.util.ClientConstants
 
RRBRA_WS - Static variable in class org.dstadler.commons.util.ClientConstants
 
RSBRA - Static variable in class org.dstadler.commons.util.ClientConstants
 
RSBRA_WS - Static variable in class org.dstadler.commons.util.ClientConstants
square brackets **
run(LogEntry) - Method in interface org.dstadler.commons.svn.SVNLogFileParser.LogEntryRunnable
 

S

sendCommonsLogToJDKLog() - Static method in class org.dstadler.commons.logging.jdk.LoggerFactory
Set a system property which instructs Apache Commons Logging to use JDK Logging instead of the default Log4J implementation.
serve(String, String, Properties, Properties) - Method in class org.dstadler.commons.http.NanoHTTPD
Override this to customize the server.
serveFile(String, Properties, File, boolean) - Method in class org.dstadler.commons.http.NanoHTTPD
Serves file from homeDir and its' subdirectories (only).
SERVER_PORT_DEFAULT - Static variable in class org.dstadler.commons.email.MailserverConfig
 
SessionXMLContentHandler - Class in org.dstadler.commons.session
 
SessionXMLContentHandler() - Constructor for class org.dstadler.commons.session.SessionXMLContentHandler
 
set(int, Node) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
setAdjustmentFactor(double) - Method in class org.dstadler.commons.dynatrace.Measure
 
setAppId(String) - Static method in class org.dstadler.commons.logging.jdk.DefaultFormatter
Allows to provide an application id for cases where multiple applications log to the same output, e.g.
setBcc(List<String>) - Method in class org.dstadler.commons.email.EmailConfig
 
setBounce(String) - Method in class org.dstadler.commons.email.MailserverConfig
 
setCc(List<String>) - Method in class org.dstadler.commons.email.EmailConfig
 
setConsoleTitle(String) - Static method in class org.dstadler.commons.os.WindowTitle
 
SetConsoleTitleA(String) - Method in interface org.dstadler.commons.os.WindowTitle.Kernel32
 
setDebug(boolean) - Method in class org.dstadler.commons.email.MailserverConfig
 
setDotExe(String) - Static method in class org.dstadler.commons.graphviz.DotUtils
Allows to define where the exe-file for dot can be found.
setEncoding(String) - Static method in class org.dstadler.commons.http.NanoHTTPD
 
setExceptionPattern(String) - Method in class org.dstadler.commons.logging.jdk.PatternFormatter
 
setFrom(String) - Method in class org.dstadler.commons.email.EmailConfig
 
setLogPattern(String) - Method in class org.dstadler.commons.logging.jdk.PatternFormatter
 
setPassword(String) - Method in class org.dstadler.commons.email.MailserverConfig
 
setReturnCode(int) - Method in class org.dstadler.commons.http.IP
 
setSeed(long) - Static method in class org.dstadler.commons.http.Utils
 
setServerAddress(String) - Method in class org.dstadler.commons.email.MailserverConfig
 
setServerPort(int) - Method in class org.dstadler.commons.email.MailserverConfig
 
setSSLEnabled(boolean) - Method in class org.dstadler.commons.email.MailserverConfig
 
setSubject(String) - Method in class org.dstadler.commons.email.EmailConfig
 
setSubjectPrefix(String) - Method in class org.dstadler.commons.email.MailserverConfig
 
setTimeFormat(String) - Method in class org.dstadler.commons.logging.jdk.PatternFormatter
 
setTo(List<String>) - Method in class org.dstadler.commons.email.EmailConfig
 
setUserId(String) - Method in class org.dstadler.commons.email.MailserverConfig
 
setValue(double) - Method in class org.dstadler.commons.dynatrace.Measure
 
SimpleAuthenticator - Class in org.dstadler.commons.util
 
SimpleAuthenticator(String, String) - Constructor for class org.dstadler.commons.util.SimpleAuthenticator
 
simpleGet(String) - Method in class org.dstadler.commons.http.HttpClientWrapper
Perform a simple get-operation and return the resulting String.
simpleGet(String, Consumer<InputStream>) - Method in class org.dstadler.commons.http.HttpClientWrapper
Perform a simple get-operation and passes the resulting InputStream to the given Consumer
simpleGetBytes(String) - Method in class org.dstadler.commons.http.HttpClientWrapper
Perform a simple get-operation and return the resulting byte-array.
size() - Method in class org.dstadler.commons.xml.NodeListWrapper
 
skip(long) - Method in class org.dstadler.commons.io.TailInputStream
 
SocketUtils - Class in org.dstadler.commons.net
Various utilities related to sockets.
sortByValue(Map<K, V>) - Static method in class org.dstadler.commons.collections.MapUtils
Sorts the provided Map by the value instead of by key like TreeMap does.
sortByValueAndKey(Map<K, V>) - Static method in class org.dstadler.commons.collections.MapUtils
Sorts the provided Map by the value and then by key instead of by key like TreeMap does.
sortedMap() - Method in class org.dstadler.commons.collections.ConcurrentMappedCounter
 
sortedMap() - Method in interface org.dstadler.commons.collections.MappedCounter
 
sortedMap() - Method in class org.dstadler.commons.collections.MappedCounterImpl
 
SortedProperties - Class in org.dstadler.commons.util
Helper class to write Java properties sorted See http://www.rgagnon.com/javadetails/java-0614.html
SortedProperties() - Constructor for class org.dstadler.commons.util.SortedProperties
 
startElement(String, String, String, Attributes) - Method in class org.dstadler.commons.dashboard.DashboardXMLContentHandler
 
startElement(String, String, String, Attributes) - Method in class org.dstadler.commons.svn.SVNLogFileParser
Internal method used for XML parsing
status - Variable in class org.dstadler.commons.http.NanoHTTPD.Response
HTTP status code after processing, e.g. "200 OK", HTTP_OK
stop() - Method in class org.dstadler.commons.http.NanoHTTPD
Stops the server.
STRING_FILE - Static variable in class org.dstadler.commons.util.ClientConstants
 
subList(int, int) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
sum() - Method in class org.dstadler.commons.collections.ConcurrentMappedCounter
 
sum() - Method in interface org.dstadler.commons.collections.MappedCounter
 
sum() - Method in class org.dstadler.commons.collections.MappedCounterImpl
 
SVNLogFileParser - Class in org.dstadler.commons.svn
An XML SAX Parser which converts an SVN XML-Log into a Map<Long, LogEntry> where the key is the subversion revision number and the value provides information about the SVN log entry.
SVNLogFileParser(String[]) - Constructor for class org.dstadler.commons.svn.SVNLogFileParser
Construct the parser with the list of branches that we are looking at.
SVNLogFileParser(String[], SVNLogFileParser.LogEntryRunnable, int) - Constructor for class org.dstadler.commons.svn.SVNLogFileParser
Construct the parser with the list of branches and a runnable that is invoked for each log-entry.
SVNLogFileParser.LogEntryRunnable - Interface in org.dstadler.commons.svn
Callback which is invoked for each log-entry to allow streaming handling of large svn-log queries.

T

TailInputStream - Class in org.dstadler.commons.io
InputStream which returns the last n bytes from a stream, ensuring that only full lines are returned.
TailInputStream(File, long) - Constructor for class org.dstadler.commons.io.TailInputStream
 
ThreadDump - Class in org.dstadler.commons.util
Creates a Thread Dump of all Java Threads
ThreadDump(boolean, boolean) - Constructor for class org.dstadler.commons.util.ThreadDump
Creates a Thread Dump of all Java Threads
timeToReadable(long) - Static method in class org.dstadler.commons.date.DateParser
Format the given number of milliseconds as readable string.
timeToReadable(long, String) - Static method in class org.dstadler.commons.date.DateParser
Format the given number of milliseconds as readable string, optionally appending a suffix.
toArray() - Method in class org.dstadler.commons.xml.NodeListWrapper
 
toArray(T[]) - Method in class org.dstadler.commons.xml.NodeListWrapper
 
toString(Object[], String) - Static method in class org.dstadler.commons.arrays.ArrayUtils
Call toString() on each element of the array and concatenate the resulting strings together, separated by the given delimiter.
toString(Object[], String, String, String) - Static method in class org.dstadler.commons.arrays.ArrayUtils
Call toString() on each element of the array and concatenate the resulting strings together, separated by the given delimiter and by adding and appending the given prefix and suffix.
toString() - Method in class org.dstadler.commons.collections.ConcurrentMappedCounter
 
toString() - Method in interface org.dstadler.commons.collections.MappedCounter
 
toString() - Method in class org.dstadler.commons.collections.MappedCounterImpl
 
toString() - Method in class org.dstadler.commons.email.EmailConfig
 
toString() - Method in class org.dstadler.commons.email.MailserverConfig
 
toString() - Method in class org.dstadler.commons.svn.LogEntry
 
toString() - Method in class org.dstadler.commons.util.ThreadDump
Returns a String representation of the current Thread Dump

U

UrlUtils - Class in org.dstadler.commons.net
Collection of simple utility-methods for accessing network resources.
UrlUtils() - Constructor for class org.dstadler.commons.net.UrlUtils
 
USR_BIN_OPEN - Static variable in class org.dstadler.commons.util.ClientConstants
 
Utils - Class in org.dstadler.commons.http
 
Utils() - Constructor for class org.dstadler.commons.http.Utils
 

V

verify(String, SSLSession) - Method in class org.dstadler.commons.net.AllowingHostnameVerifier
 
visit(ZipEntry, InputStream) - Method in class org.dstadler.commons.zip.ZipUtils.ZipFileVisitor
This method is called for each entry in the Zipfile, this includes directorys, use ZipEntry.isDirectory() to check which type of entry you see.

W

walk(OutputHandler) - Method in class org.dstadler.commons.zip.ZipFileWalker
Run the ZipFileWalker using the given OutputHandler
walk(InputStream) - Method in class org.dstadler.commons.zip.ZipUtils.ZipFileVisitor
 
warning(SAXParseException) - Method in class org.dstadler.commons.dashboard.DashboardXMLContentHandler
 
warning(SAXParseException) - Method in class org.dstadler.commons.xml.AbstractSimpleContentHandler
 
WindowTitle - Class in org.dstadler.commons.os
Small helper class that can be used to set the console title on Windows.
WindowTitle() - Constructor for class org.dstadler.commons.os.WindowTitle
 
WindowTitle.Kernel32 - Interface in org.dstadler.commons.os
http://en.wikipedia.org/wiki/Java_Native_Access https://jna.dev.java.net/javadoc/overview-summary.html
writeFooter(Writer) - Static method in class org.dstadler.commons.graphviz.DotUtils
Closes the graph-markup with the necessary closing statements.
writeHeader(Writer, int, String, String, List<String>) - Static method in class org.dstadler.commons.graphviz.DotUtils
Write the header structure.
writeln(Writer, String) - Static method in class org.dstadler.commons.graphviz.DotUtils
Write out the string and a newline
writeln(Writer, String, int) - Static method in class org.dstadler.commons.graphviz.DotUtils
Write out the string and a newline, appending a number of tabs to properly indent the resulting text-file.
WS - Static variable in class org.dstadler.commons.util.ClientConstants
 
WS_LABRA - Static variable in class org.dstadler.commons.util.ClientConstants
 
WS_LCBRA - Static variable in class org.dstadler.commons.util.ClientConstants
 
WS_LRBRA - Static variable in class org.dstadler.commons.util.ClientConstants
round brackets **
WS_LSBRA - Static variable in class org.dstadler.commons.util.ClientConstants
 

Z

ZipFileCloseInputStream - Class in org.dstadler.commons.zip
Small wrapper InputStream which closes the underlying zipfile as soon as the InputStream is closed.
ZipFileCloseInputStream(InputStream, ZipFile) - Constructor for class org.dstadler.commons.zip.ZipFileCloseInputStream
 
ZipFileVisitor() - Constructor for class org.dstadler.commons.zip.ZipUtils.ZipFileVisitor
 
ZipFileWalker - Class in org.dstadler.commons.zip
File Walker for Zip-Files which can step down into nested zip-files while looking for matches.
ZipFileWalker(File) - Constructor for class org.dstadler.commons.zip.ZipFileWalker
 
ZipUtils - Class in org.dstadler.commons.zip
 
ZipUtils() - Constructor for class org.dstadler.commons.zip.ZipUtils
 
ZipUtils.ZipFileVisitor - Class in org.dstadler.commons.zip
A simple walker which will visit all Zip-entries in the given InputStream.
A B C D E F G H I K L M N O P R S T U V W Z 
Skip navigation links