Holger's Java API

## Uses of Class
com.antelmann.util.logging.Logger

Packages that use Logger
com.antelmann: These are general classes that apply for the framework as a whole.
com.antelmann.calendar: This package contains classes for implementing calendar and time related solutions.
com.antelmann.db: This package contains generally useful classes for generic database management.
com.antelmann.db.remote: This package contains classes that add remote capacities to the database concept of the super package.
com.antelmann.image: This package contains classes for more easily dealing with images.
com.antelmann.io: This package contains classes that are concerned with input/output operations.
com.antelmann.net: The classes in this package are designed to provide convenient access to Internet related functionality.
com.antelmann.net.mail: The classes in this package are designed to ease the handling of emails.
com.antelmann.servlet: This package contains classes to help with the implementation of servlets.
com.antelmann.sql: This package contains classes to ease JDBC development and also provides useful SQL-based implementations for com.antelmann.db classes
com.antelmann.util: This package contains generally useful classes that are used throughout the other packages in this framework.
com.antelmann.util.gui: This package contains utility classes for GUI related implementations.
com.antelmann.util.logging: This package contains classes that implement a custom logging for this framework - separate from java.util.logging.

Uses of Logger in com.antelmann

Fields in com.antelmann declared as Logger
`static Logger` `Debug.logger` the logger is initialized as a plain empty logger ignoring occurring exceptions in writers

Uses of Logger in com.antelmann.calendar

Methods in com.antelmann.calendar that return Logger
`Logger` `TimeProtocolServer.getLogger()` Deprecated. returns an empty logger w/o writers by default
`Logger` `NTPTime.getLogger()`
`Logger` `NTPServer.getLogger()` Deprecated. returns an empty logger w/o writers by default
`Logger` `AtomicTime.getLogger()` Deprecated.

Methods in com.antelmann.calendar with parameters of type Logger
`TimerTask` `TimeProtocolClient.createTimerTask(Logger logger)` Deprecated. creates a TimerTask that will adjust the delta and log the result to the given logger.
`TimerTask` `AbstractTimeSystem.createTimerTask(Logger logger)` creates a TimerTask that will adjust the delta and log the result to the given logger.
`void` `TimeProtocolServer.setLogger(Logger logger)` Deprecated.
`void` `NTPServer.setLogger(Logger logger)` Deprecated.

Constructors in com.antelmann.calendar with parameters of type Logger
`AtomicTime(boolean activateNow, long updateIntervalMillis, Logger logger)` Deprecated.
`NTPTime(boolean activateNow, long updateIntervalMillis, Logger logger)`
`NTPTime(boolean activateNow, long updateIntervalMillis, NTPClient client, Logger logger)`

Uses of Logger in com.antelmann.db

Methods in com.antelmann.db that return Logger
`Logger` `LoggerLoginListener.getLogger()`
`Logger` `DatabaseChangeListener.LoggerListener.getLogger()`
`Logger` `Database.getLogger()` access to the Logger that by default uses a LogWriter writing entries directly into this database.
`Logger` `AbstractDatabase.getLogger()` a logger that contains the logWriter given in the constructor; it is used to log all databaseService access with the special level 'dbaccess' by default

Methods in com.antelmann.db with parameters of type Logger
`void` `LoggerLoginListener.setLogger(Logger logger)`

Constructors in com.antelmann.db with parameters of type Logger
`DatabaseChangeListener.LoggerListener(Logger logger)`
`LoggerDBListener(Logger logger)`
`LoggerLoginListener(Logger logger)`
`LoggerTransactionListener(Logger logger, Level level)`

Uses of Logger in com.antelmann.db.remote

Constructors in com.antelmann.db.remote with parameters of type Logger
`ChangeNotificationServer(String databaseName, int port, Logger logger)`
`ChangeNotificationServer(String databaseName, Logger logger)`

Uses of Logger in com.antelmann.image

Methods in com.antelmann.image that return Logger
`Logger` `MJPEGHandler.getLogger()`

Uses of Logger in com.antelmann.io

Methods in com.antelmann.io that return Logger
`Logger` `Backup.getLogger()`

Methods in com.antelmann.io with parameters of type Logger
`ObjectEnumerator` `MyFile.objectEnumerator(boolean useDeserialization, Logger exceptionLogger)` convenience method
`void` `Backup.setLogger(Logger logger)` the logger may not be set while the backup is running
`MyFile[]` `MyFile.synchronizeDir(File destinationDir, FileFilter filter, Logger logger, Monitor monitor)` This method allows for intermediate feedback and interactive stopping; otherwise it's the same as the other synchronizeDir() method.
`MyFile[]` `MyFile.synchronizeDir(File destinationDir, Logger logger)` This method allows for intermediate feedback through the logger; otherwise it's the same as the other synchronizeDir() method.
`MyFile[]` `MyFile.synchronizeDir(File destinationDir, Logger logger, Monitor monitor)` This method allows for intermediate feedback and interactive stopping; otherwise it's the same as the other synchronizeDir() method.

Constructors in com.antelmann.io with parameters of type Logger
`Backup(File originDir, File destinationDir, FileFilter filter, boolean deleteAtTarget, Monitor monitor, Logger logger)`
`ObjectEnumerator(File file, boolean useDeserialization, Logger exceptionLogger)`
`ObjectEnumerator(InputStream stream, boolean useDeserialization, Logger exceptionLogger)`

Uses of Logger in com.antelmann.net

Fields in com.antelmann.net declared as Logger
`protected Logger` `SocketConnection.logger`

Methods in com.antelmann.net that return Logger
`Logger` `SocketConnection.getLogger()` loggs standard events - no exceptions are logged here
`Logger` `RemoteNetInterfaceProtocol.getLogger()`
`Logger` `NetConnectionServer.getLogger()`
`Logger` `MessageDelegator.getLogger()`
`Logger` `JMessenger.getLogger()`
`Logger` `FTPConnector.getLogger()`
`Logger` `ChatServer.getLogger()`

Methods in com.antelmann.net with parameters of type Logger
`URL[]` `Spider.crawlWeb(CrawlerSetting crawler, int numberOfURLsToFind, Logger logger)` searches the web from the embedded URL (used as root) for URLs based on the criteria given in the crawler; search is performed breadth-first
`static URL[]` `Spider.crawlWeb(List<Spider.URLWrapper> searchList, List<URL> resultList, List<URL> closedList, CrawlerSetting crawler, int depth, int numberOfURLsToFind, Logger logger)` usually called by crawlWeb(URL root, CrawlerSetting crawler, Logger)
`static Object` `RemoteNetInterfaceProtocol.createRemoteObject(NetConnection con, Logger logger, Class<?>... interfaces)`
`static Object` `RemoteNetInterfaceProtocol.createRemoteObject(NetConnection con, Logger logger, ClassLoader cl, Class<?>... interfaces)` creates and returns a client object that will be handled remotely through the given NetConnection.
`static Object` `RemoteNetInterfaceProtocol.createRemoteObject(String host, int port, Handshake hs, Logger logger, Class<?>... interfaces)`
`Object[]` `FTPConnector.downloadTree(String remoteSourceDir, File targetDir, Logger logger)` uses a Logger to provide feedback.
`Object[]` `FTPConnector.downloadTree(String remoteSourceDir, File targetDir, Logger logger, Monitor monitor)` uses a Monitor for enabling to cancel the operation prematurely.
`void` `SocketConnection.setLogger(Logger logger)`
`void` `MessageDelegator.setLogger(Logger logger)`
`static void` `ChatServer.startServerWithGUI(Logger logger)` uses the com.antelmann.net.chat.port property from Settings
`Object[]` `FTPConnector.synchronizeDirectory(File sourceDir, String remoteTargetDir, boolean deleteRemoteFiles, Logger logger)` This method allows for intermediate feedback through the logger; otherwise it's the same as the other synchronizeDirectory() method.
`Object[]` `FTPConnector.synchronizeDirectory(File sourceDir, String remoteTargetDir, boolean deleteRemoteFiles, Logger logger, Monitor monitor)` This method allows for intermediate feedback and interactive stopping; otherwise it's the same as the other synchronizeDirectory() method.

Constructors in com.antelmann.net with parameters of type Logger
`ChatServer(int serverPort, Logger logger)`
`JMessenger(int port, Logger logger)`
`JMessenger(Logger logger)`
`MessageDelegator(NetConnection con, NetConnectionHandler handler, Logger logger)` if logger is not null, it will be used to log established and closed connections
`NetConnectionServer.DefaultDispatcher(NetConnectionHandler handler, Handshake handshake, Logger logger)`
`NetConnectionServer(int port, ConnectionDispatcher factory, Logger logger)`
`NetConnectionServer(int port, NetConnectionHandler handler, Handshake handshake, Logger logger)`
`NetConnectionServer(int port, NetConnectionHandler handler, Handshake handshake, Logger logger, Logger delegateLogger)` each connection made will run in a separate thread that delegates every message received to the given handler
`RemoteNetInterfaceProtocol(Object serverInstance, boolean enforceAccessibility, Logger logger)` constructs the handler that implements the server side of the protocol
`Spider.SMonitor(Logger logger, int maxFound)` Deprecated.

Uses of Logger in com.antelmann.net.mail

Methods in com.antelmann.net.mail that return Logger
`Logger` `POP3Account.getLogger()`
`Logger` `JPopMessageTable.getLogger()`
`Logger` `IMAPBackup.getLogger()`
`Logger` `AccountReader.getLogger()`

Methods in com.antelmann.net.mail with parameters of type Logger
`void` `EmailWatcherFrame.handleLogException(Logger logger, LogException ex, LogWriter writer)`
`void` `JPopMessageTable.setLogger(Logger logger)`

Constructors in com.antelmann.net.mail with parameters of type Logger
`AccountReader(POP3Account account, Handler<? super Email,? extends IOException> handler, boolean deleteMessages, Monitor monitor, Logger logger)`
`POP3Account(String pop3Server, String smtpServer, String user, String password, String from, boolean authentication, Logger logger)`

Uses of Logger in com.antelmann.servlet

Fields in com.antelmann.servlet declared as Logger
`protected Logger` `UserAuthenticationFilter.logger`

Methods in com.antelmann.servlet that return Logger
`Logger` `UserAuthenticationFilter.getLogger()`

Uses of Logger in com.antelmann.sql

Methods in com.antelmann.sql that return Logger
`Logger` `MySQLLog.getLogger()`

Methods in com.antelmann.sql with parameters of type Logger
`void` `JDBCBackup.backup(OutputStream out, Logger logger, Monitor mon, String... tables)` performs a backup of the table rows for the given table names to the given stream
`void` `JDBCBackup.copyTo(Connection target, Logger logger, Monitor backupMonitor, Monitor restoreMonitor, String... tables)` instead of just making a backup, the data is directly transferred to the target.
`void` `JDBCBackup.restore(InputStream in, Monitor mon, Logger logger, boolean continueOnInsertionError)` note that before you run the restore, the relevant tables should ideally be made empty

Uses of Logger in com.antelmann.util

Methods in com.antelmann.util that return Logger
`Logger` `MonitorDelegate.getLogger()`

Methods in com.antelmann.util with parameters of type Logger
`void` `MonitorDelegate.setLogger(Logger logger)`

Constructors in com.antelmann.util with parameters of type Logger
`InterfaceMonitor.IMLogger(Logger logger)`
`InterfaceMonitor.IMLogger(Logger logger, Level level)`
`MonitorDelegate(Logger logger)`

Uses of Logger in com.antelmann.util.gui

Fields in com.antelmann.util.gui declared as Logger
`protected Logger` `JMainFrame.logger` Deprecated.

Methods in com.antelmann.util.gui that return Logger
`Logger` `SchedulerFrame.getLogger()` contains a JTextComponentLog by default
`Logger` `MyAbstractAction.getLogger()`
`Logger` `FormDialog.getLogger()` provides access to the logger used to capture events (and exeptions) upon pressing buttons

Constructors in com.antelmann.util.gui with parameters of type Logger
`FormDialog(Component parent, String title, JComponent container, FormValidator<T> validator, boolean applyOption, Logger logger)` this constructor allows to further specify whether an apply button should be available on the dialog
`FormDialog(Component parent, String title, JComponent container, FormValidator<T> validator, Logger logger)` this cunstructor allows to futher specify a Logger which logs when a button of this form is pressed; in addition, all window events are logged.
`MyAbstractAction(String name, String description, Icon icon, Component parent, Logger logger)`
`MyAbstractAction(String name, String description, Icon icon, Component parent, Logger logger, ValueRetriever<User> userRetriever, boolean requiresLicense)`

Uses of Logger in com.antelmann.util.logging

Methods in com.antelmann.util.logging that return Logger
`Logger` `LoggerManager.createInstance(EventObject eo)`
`static Logger` `LoggerManager.getDefaultlogger()`
`Logger` `SocketLogListener.getLogger()`
`Logger` `MemoryLogger.getLogger()`
`Logger` `LoggerProvider.getLogger()` acess to the (non-null) Logger suitable for logging entries in the context of this instance
`Logger` `LoggerHandler.getLogger()`
`Logger` `LoggerManager.getLogger(Object obj)` if no specific logger is available, the default logger is returned, so that this method never returns null
`Logger` `LoggerManager.getLoggerFor(Object obj)` if no logger had been specified for the given obj, this method returns null
`Logger` `LoggerManager.getOrCreateLoggerFor(Object obj)`
`Logger` `LoggerManager.removeLoggerFor(Object obj)`
`Logger` `LoggerManager.setLogger(Object obj, Logger logger)`
`Logger` `LoggerWriter.unwrap()`

Methods in com.antelmann.util.logging that return types with arguments of type Logger
`Handler<Logger,?>` `LoggerManager.getHandler()`

Methods in com.antelmann.util.logging with parameters of type Logger
`void` `Logger.addWritersFromLogger(Logger logger)` adds all LogWriter handler from the given logger
`void` `LogExceptionHandler.handleLogException(Logger logger, LogException ex, LogWriter writer)` is called when a logger encounters a LogException while the handler logs an entry.
`void` `Logger.setAllFrom(Logger logger)`
`Logger` `LoggerManager.setLogger(Object obj, Logger logger)`

Method parameters in com.antelmann.util.logging with type arguments of type Logger
`void` `LoggerManager.setHandler(Handler<Logger,?> handler)`

Constructors in com.antelmann.util.logging with parameters of type Logger
`Logger(Logger logger)` uses the configuration from the given logger (including writers and filter)
`LoggerHandler(Logger logger)` instantiates a handler that publishes LogRecords to the given logger
`LoggerWriter(Logger logger)`
`LogNetPropagator(int port, Logger logger)` the server is not started through the constructor
`LogNetReceiver(String server, int port, Logger logger)`
`MemoryLogger(Logger logger, long intervalMillis)`
`SocketLogListener(int port, Logger logger)`
`SocketLogListener(int port, Logger logger, boolean logInternals)`

(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads