public class DefaultIOListener extends Object implements IOListener
DefaultIOListener implements an IOListener that
writes debug/error output to the logger specified in the constructor.| Constructor and Description |
|---|
DefaultIOListener(org.slf4j.Logger ioLog)
Creates a new
DefaultIOListener |
| Modifier and Type | Method and Description |
|---|---|
void |
onBegin(IOHandler handler,
IOContext ioContext)
The import/export context has been passed to the given
IOHandler. |
void |
onEnd(IOHandler handler,
IOContext ioContext,
boolean success)
The specified
IOHandler finished. |
void |
onError(IOHandler ioHandler,
IOContext ioContext,
Exception e)
An exception occurred during import/export within the specified
IOHandler. |
public DefaultIOListener(org.slf4j.Logger ioLog)
DefaultIOListenerpublic void onBegin(IOHandler handler, IOContext ioContext)
IOListenerIOHandler.onBegin in interface IOListenerIOListener.onBegin(IOHandler, IOContext)public void onEnd(IOHandler handler, IOContext ioContext, boolean success)
IOListenerIOHandler finished. A boolean flag indicates
whether the handler was able to run the import/export.onEnd in interface IOListenerIOListener.onEnd(IOHandler, IOContext, boolean)public void onError(IOHandler ioHandler, IOContext ioContext, Exception e)
IOListenerIOHandler.onError in interface IOListenerIOListener.onError(IOHandler, IOContext, Exception)Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.