- 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
-
- 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
-
- 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
-
- 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.