| Package | Description |
|---|---|
| com.helger.commons.callback.exception | |
| com.helger.commons.io.stream |
| Modifier and Type | Class and Description |
|---|---|
class |
CollectingExceptionCallback<EXTYPE extends Throwable>
A specific implementation of the
IExceptionCallback interface, that
stores the last exception. |
class |
CollectingExceptionListCallback<EXTYPE extends Throwable>
A specific implementation of the
IExceptionCallback interface, that
stores all exceptions. |
class |
LoggingExceptionCallback
A specific implementation of the
IExceptionCallback interface, that
logs all exceptions to a standard logger. |
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
StreamHelper.copyInputStreamToOutputStream(InputStream aIS,
boolean bCloseIS,
OutputStream aOS,
boolean bCloseOS,
byte[] aBuffer,
Long aLimit,
IExceptionCallback<IOException> aExceptionCallback,
MutableLong aCopyByteCount)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStream(InputStream aIS,
boolean bCloseIS,
OutputStream aOS,
boolean bCloseOS,
byte[] aBuffer,
Long aLimit,
IExceptionCallback<IOException> aExceptionCallback,
MutableLong aCopyByteCount)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyReaderToWriter(Reader aReader,
boolean bCloseReader,
Writer aWriter,
boolean bCloseWriter,
char[] aBuffer,
Long aLimit,
IExceptionCallback<IOException> aExceptionCallback,
MutableLong aCopyCharCount)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyReaderToWriter(Reader aReader,
boolean bCloseReader,
Writer aWriter,
boolean bCloseWriter,
char[] aBuffer,
Long aLimit,
IExceptionCallback<IOException> aExceptionCallback,
MutableLong aCopyCharCount)
Deprecated.
Since v10.0. Use the builder instead
|
StreamHelper.CopyByteStreamBuilder |
StreamHelper.CopyByteStreamBuilder.exceptionCallback(IExceptionCallback<IOException> a) |
StreamHelper.CopyCharStreamBuilder |
StreamHelper.CopyCharStreamBuilder.exceptionCallback(IExceptionCallback<IOException> a) |
StreamHelper.CopyByteStreamBuilder |
StreamHelper.CopyByteStreamBuilder.exceptionCallback(IExceptionCallback<IOException> a) |
StreamHelper.CopyCharStreamBuilder |
StreamHelper.CopyCharStreamBuilder.exceptionCallback(IExceptionCallback<IOException> a) |
Copyright © 2014–2022 Philip Helger. All rights reserved.