| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
Base64.decodeToFile(String sDataToDecode,
File aFile)
Convenience method for decoding data to a file.
|
static ESuccess |
Base64.decodeToFile(String sDataToDecode,
File aFile)
Convenience method for decoding data to a file.
|
static ESuccess |
Base64.encodeToFile(byte[] aDataToEncode,
File aFile)
Convenience method for encoding data to a file.
|
static ESuccess |
Base64.encodeToFile(byte[] aDataToEncode,
File aFile)
Convenience method for encoding data to a file.
|
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
ThreadHelper.sleep(Duration aDuration)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadHelper.sleep(Duration aDuration)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadHelper.sleep(long nMilliseconds)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadHelper.sleep(long nMilliseconds)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadHelper.sleep(long nDuration,
TimeUnit aTimeUnit)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadHelper.sleep(long nDuration,
TimeUnit aTimeUnit)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadHelper.sleepMinutes(long nMinutes)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadHelper.sleepMinutes(long nMinutes)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadHelper.sleepSeconds(long nSeconds)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadHelper.sleepSeconds(long nSeconds)
Sleep the current thread for a certain amount of time
|
| Modifier and Type | Method and Description |
|---|---|
ESuccess |
AbstractConcurrentCollector.queueObject(DATATYPE aObject) |
ESuccess |
IMutableConcurrentCollector.queueObject(DATATYPE aObject)
Submit an object to the queue.
|
ESuccess |
IMutableConcurrentCollector.queueObject(DATATYPE aObject)
Submit an object to the queue.
|
ESuccess |
AbstractConcurrentCollector.queueObject(DATATYPE aObject) |
ESuccess |
AbstractConcurrentCollector.stopQueuingNewObjects() |
ESuccess |
IMutableConcurrentCollector.stopQueuingNewObjects()
Stop taking new objects in the collector.
|
ESuccess |
IMutableConcurrentCollector.stopQueuingNewObjects()
Stop taking new objects in the collector.
|
ESuccess |
AbstractConcurrentCollector.stopQueuingNewObjects() |
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
PDTConfig.setDefaultDateTimeZoneID(String sDateTimeZoneID)
Set the default date time zone to use.
|
static ESuccess |
PDTConfig.setDefaultDateTimeZoneID(String sDateTimeZoneID)
Set the default date time zone to use.
|
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
ChannelHelper.close(Channel aChannel) |
static ESuccess |
ChannelHelper.close(Channel aChannel) |
static ESuccess |
ChannelHelper.release(FileLock aFileLock) |
static ESuccess |
ChannelHelper.release(FileLock aFileLock) |
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
SimpleFileIO.writeFile(File aFile,
byte[] aContent) |
static ESuccess |
SimpleFileIO.writeFile(File aFile,
byte[] aContent) |
static ESuccess |
SimpleFileIO.writeFile(File aFile,
byte[] aContent,
int nOffset,
int nLength) |
static ESuccess |
SimpleFileIO.writeFile(File aFile,
byte[] aContent,
int nOffset,
int nLength) |
static ESuccess |
SimpleFileIO.writeFile(File aFile,
String sContent,
Charset aCharset) |
static ESuccess |
SimpleFileIO.writeFile(File aFile,
String sContent,
Charset aCharset) |
| Modifier and Type | Method and Description |
|---|---|
default ESuccess |
IFileRelativeIO.appendFile(String sRelativePath,
byte[] aBytes)
Helper function for saving a file with correct error handling.
|
default ESuccess |
IFileRelativeIO.appendFile(String sRelativePath,
byte[] aBytes)
Helper function for saving a file with correct error handling.
|
default ESuccess |
IFileRelativeIO.appendFile(String sRelativePath,
String sContent,
Charset aCharset)
Helper function for saving a file with correct error handling.
|
default ESuccess |
IFileRelativeIO.appendFile(String sRelativePath,
String sContent,
Charset aCharset)
Helper function for saving a file with correct error handling.
|
default ESuccess |
IFileRelativeIO.saveFile(String sRelativePath,
byte[] aBytes)
Helper function for saving a file with correct error handling.
|
default ESuccess |
IFileRelativeIO.saveFile(String sRelativePath,
byte[] aBytes)
Helper function for saving a file with correct error handling.
|
default ESuccess |
IFileRelativeIO.saveFile(String sRelativePath,
String sContent,
Charset aCharset)
Helper function for saving a file with correct error handling.
|
default ESuccess |
IFileRelativeIO.saveFile(String sRelativePath,
String sContent,
Charset aCharset)
Helper function for saving a file with correct error handling.
|
default ESuccess |
IFileRelativeIO.writeFile(String sRelativePath,
EAppend eAppend,
byte[] aBytes)
Helper function for saving a file with correct error handling.
|
default ESuccess |
IFileRelativeIO.writeFile(String sRelativePath,
EAppend eAppend,
byte[] aBytes)
Helper function for saving a file with correct error handling.
|
| Modifier and Type | Method and Description |
|---|---|
ESuccess |
StreamHelper.CopyByteStreamBuilder.build()
This method performs the main copying
|
ESuccess |
StreamHelper.CopyCharStreamBuilder.build()
This method performs the main copying
|
ESuccess |
StreamHelper.CopyByteStreamBuilder.build()
This method performs the main copying
|
ESuccess |
StreamHelper.CopyCharStreamBuilder.build()
This method performs the main copying
|
static ESuccess |
StreamHelper.close(AutoCloseable aCloseable)
Close the passed stream by encapsulating the declared
IOException. |
static ESuccess |
StreamHelper.close(AutoCloseable aCloseable)
Close the passed stream by encapsulating the declared
IOException. |
static ESuccess |
StreamHelper.closeWithoutFlush(AutoCloseable aCloseable)
Close the passed object, without trying to call flush on it.
|
static ESuccess |
StreamHelper.closeWithoutFlush(AutoCloseable aCloseable)
Close the passed object, without trying to call flush on it.
|
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.copyInputStreamToOutputStream(InputStream aIS,
OutputStream aOS)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStream(InputStream aIS,
OutputStream aOS)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStream(InputStream aIS,
OutputStream aOS,
byte[] aBuffer)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStream(InputStream aIS,
OutputStream aOS,
byte[] aBuffer)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStream(InputStream aIS,
OutputStream aOS,
MutableLong aCopyByteCount)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStream(InputStream aIS,
OutputStream aOS,
MutableLong aCopyByteCount)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStreamAndCloseOS(InputStream aIS,
OutputStream aOS)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStreamAndCloseOS(InputStream aIS,
OutputStream aOS)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStreamWithLimit(InputStream aIS,
OutputStream aOS,
long nLimit)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStreamWithLimit(InputStream aIS,
OutputStream aOS,
long nLimit)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStreamWithLimitAndCloseOS(InputStream aIS,
OutputStream aOS,
long nLimit)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyInputStreamToOutputStreamWithLimitAndCloseOS(InputStream aIS,
OutputStream aOS,
long nLimit)
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
|
static ESuccess |
StreamHelper.copyReaderToWriter(Reader aReader,
Writer aWriter)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamHelper.copyReaderToWriter(Reader aReader,
Writer aWriter)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamHelper.copyReaderToWriter(Reader aReader,
Writer aWriter,
char[] aBuffer)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyReaderToWriter(Reader aReader,
Writer aWriter,
char[] aBuffer)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyReaderToWriter(Reader aReader,
Writer aWriter,
char[] aBuffer,
MutableLong aCopyCharCount,
Long aLimit)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyReaderToWriter(Reader aReader,
Writer aWriter,
char[] aBuffer,
MutableLong aCopyCharCount,
Long aLimit)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyReaderToWriter(Reader aReader,
Writer aWriter,
MutableLong aCopyCharCount)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyReaderToWriter(Reader aReader,
Writer aWriter,
MutableLong aCopyCharCount)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyReaderToWriterAndCloseWriter(Reader aReader,
Writer aWriter)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamHelper.copyReaderToWriterAndCloseWriter(Reader aReader,
Writer aWriter)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamHelper.copyReaderToWriterWithLimit(Reader aReader,
Writer aWriter,
long nLimit)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyReaderToWriterWithLimit(Reader aReader,
Writer aWriter,
long nLimit)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyReaderToWriterWithLimitAndCloseWriter(Reader aReader,
Writer aWriter,
long nLimit)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.copyReaderToWriterWithLimitAndCloseWriter(Reader aReader,
Writer aWriter,
long nLimit)
Deprecated.
Since v10.0. Use the builder instead
|
static ESuccess |
StreamHelper.flush(Flushable aFlushable)
Flush the passed object encapsulating the declared
IOException. |
static ESuccess |
StreamHelper.flush(Flushable aFlushable)
Flush the passed object encapsulating the declared
IOException. |
static ESuccess |
StreamHelper.writeStream(OutputStream aOS,
byte[] aBuf)
Write bytes to an
OutputStream. |
static ESuccess |
StreamHelper.writeStream(OutputStream aOS,
byte[] aBuf)
Write bytes to an
OutputStream. |
static ESuccess |
StreamHelper.writeStream(OutputStream aOS,
byte[] aBuf,
int nOfs,
int nLen)
Write bytes to an
OutputStream. |
static ESuccess |
StreamHelper.writeStream(OutputStream aOS,
byte[] aBuf,
int nOfs,
int nLen)
Write bytes to an
OutputStream. |
static ESuccess |
StreamHelper.writeStream(OutputStream aOS,
String sContent,
Charset aCharset)
Write bytes to an
OutputStream. |
static ESuccess |
StreamHelper.writeStream(OutputStream aOS,
String sContent,
Charset aCharset)
Write bytes to an
OutputStream. |
| Modifier and Type | Method and Description |
|---|---|
ESuccess |
IMutableObjectPool.returnObject(DATATYPE aItem)
Return a previously borrowed object back to the pool.
|
ESuccess |
ObjectPool.returnObject(DATATYPE aItem) |
ESuccess |
ObjectPool.returnObject(DATATYPE aItem) |
ESuccess |
IMutableObjectPool.returnObject(DATATYPE aItem)
Return a previously borrowed object back to the pool.
|
| Modifier and Type | Method and Description |
|---|---|
default ESuccess |
ISuccessIndicator.and(ISuccessIndicator aSuccess) |
default ESuccess |
ISuccessIndicator.and(ISuccessIndicator aSuccess) |
default ESuccess |
ISuccessIndicator.or(ISuccessIndicator aSuccess) |
default ESuccess |
ISuccessIndicator.or(ISuccessIndicator aSuccess) |
static ESuccess |
ESuccess.valueOf(boolean bSuccess) |
static ESuccess |
ESuccess.valueOf(boolean bSuccess) |
static ESuccess |
ESuccess.valueOf(ISuccessIndicator aSuccessIndicator) |
static ESuccess |
ESuccess.valueOf(ISuccessIndicator aSuccessIndicator) |
static ESuccess |
ESuccess.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESuccess |
ESuccess.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESuccess |
ESuccess.valueOfChange(IChangeIndicator aChange) |
static ESuccess |
ESuccess.valueOfChange(IChangeIndicator aChange) |
static ESuccess[] |
ESuccess.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static ESuccess[] |
ESuccess.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2014–2022 Philip Helger. All rights reserved.