S - the type of the closeable source objectpublic abstract class BaseCloseableConnectorResult<S extends Closeable> extends BaseConnectorResult<S>
ConnectorResult based on a Closeable "source" object.| Modifier | Constructor and Description |
|---|---|
protected |
BaseCloseableConnectorResult(S source)
Creates a new instance based on the provided "source" (required).
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the provided "source" object.
|
getSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPayloads, getStatusprotected BaseCloseableConnectorResult(S source)
Source - the closeable source of the resultpublic void close()
throws IOException
IOException