Package | Description |
---|---|
info.bioinfweb.commons.collections |
Contains extensions to the Java Collections API made for bioinfweb projects that can be of general use.
|
info.bioinfweb.commons.log |
Classes in this package implement a simple logging API for messages of different types that an application
can output to the user.
|
Modifier and Type | Method and Description |
---|---|
ApplicationLogger |
ParameterMap.getApplicationLogger(java.lang.String key)
Returns the application logger registered for the specified key.
|
ApplicationLogger |
ParameterMap.getApplicationLogger(java.lang.String key,
ApplicationLogger defaultValue)
Checks if a
ApplicationLogger object is stored under the specified key. |
Modifier and Type | Method and Description |
---|---|
ApplicationLogger |
ParameterMap.getApplicationLogger(java.lang.String key,
ApplicationLogger defaultValue)
Checks if a
ApplicationLogger object is stored under the specified key. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractApplicationLogger
Implements basic functionality (especially method delegation) of a application logger.
|
class |
ApplicationLoggerDialog
A dialog displaying the log send to an
ApplicationLogger . |
class |
ConsoleApplicationLogger
|
class |
JTextAreaApplicationLogger
This implementation of
ApplicationLogger appends all messages to a JTextArea . |
class |
MessageListApplicationLogger
Implementation of
ApplicationLogger that stores all messages into a list. |
class |
MultipleApplicationLoggersAdapter
This implementation of
ApplicationLogger delegates to a set of other classes implementing
this interface. |
class |
SwingDocumentApplicationLogger
This implementation of
ApplicationLogger appends all messages to a Document . |
class |
TextFileApplicationLogger
This implementation of
ApplicationLogger appends all log messages to a text file, where every
message is written to one line. |
class |
VoidApplicationLogger
This implementation of
ApplicationLogger does not display or store the received messages anywhere. |
Modifier and Type | Method and Description |
---|---|
ApplicationLogger |
ApplicationLoggerParameterMap.getApplicationLogger()
Returns a stored
ApplicationLogger object or a new instance of VoidApplicationLogger
if no appropriate object is stored. |
ApplicationLogger |
ApplicationLoggerDialog.getLogger() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ApplicationLogger> |
MultipleApplicationLoggersAdapter.getLoggers() |
Modifier and Type | Method and Description |
---|---|
void |
MessageListApplicationLogger.addListToLogger(ApplicationLogger otherLogger)
Adds all messages stored in this list to the other logger.
|
void |
ApplicationLoggerParameterMap.putApplicationLogger(ApplicationLogger logger) |