| 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)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamHelper.copyReaderToWriter(Reader aReader,
boolean bCloseReader,
Writer aWriter,
boolean bCloseWriter,
char[] aBuffer,
Long aLimit,
IExceptionCallback<IOException> aExceptionCallback,
MutableLong aCopyCharCount)
Pass the content of the given reader to the given writer.
|
Copyright © 2014–2019 Philip Helger. All rights reserved.