Package de.aristaflow.adept2.util
package de.aristaflow.adept2.util
-
ClassDescriptionUtility class to facilitate common checks on method parameters and create appropriate
IllegalArgumentExceptions,NullArgumentException,IndexOutOfBoundsExceptions etc..An expression engine for hierarchical configurations of Apache Commons Configuration.Utility class for array-related helper methods.A wrapper for arrays that provide a useful (i.A wrapper for byte arrays that provide a useful (i.This interface allows arbitrary objects to have additional attributes.Encodes and decodes to and from Base64 notation.ABase64.InputStreamwill read data from anotherjava.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.ABase64.OutputStreamwill write data to anotherjava.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.Cache<K,V> Cache implementation.The check report is used for collection of check results.Represents an entry in the check report.Constants that define whether the corresponding report or report entry contains an error message (FAILURE), a warning message (WARNING), an info message (INFO) or simply a success message (OK).CleanableCache<K,V> Cache implementation with cleanup logic applied when removing an entry due to the cache becoming too big.Cleanupaims to complement the functionality ofCleanerand provide some answers to questions thatCleanerleft open.A builder forCleanupthat provides some additional options and generally easier usage than complex constructors.A cleanup task for cleaning up a collection of objects being converted and afterwards being closed in case the conversion yields aAutoCloseable.Deprecated, for removal: This API element is subject to removal in a future version.CleanupTask<EX extends Exception>This interface provides the means for clean-up logic as normal or as post-mortem action.CleanupTask.AbstractCleanupTask<EX extends Exception>Convenient base class forCleanupTaskwith the option to provide a custom descriptor for the clean-up task and/or a logger.A simple cleanup task for cleaning up anAtomicReference.An abstract cleanup task for closing a suppliedAutoCloseableand resetting it via aRunnable.A simple cleanup task for cleaning up aMutable.Tool methods for collectionsAn iterator wrapping anEnumerationin anIterator.A map considering equalling keys and values based on object identity instead ofObject.equals(Object).An enumeration wrapping one or several iterators (and enumerations), i.This class provides methods for converting values used inConfigurations from the corresponding type to strings and back.AConstraintViolationExceptionrepresents the violation of some defined constraint, for example, deleting an entity that is referenced by another entity.TheDataSourceExceptionis a generic exception that is thrown whenever there's a problem while accessing a data source (like files or a database) and this problem prevents the task from finishing properly or at least within acceptable parameters.Tool methods supporting implementation ofObject.equals(Object).Simple filename filter based on file suffix.Utility class containing file-related helper methods, mostly concerning file names and paths.The compatibility of the file name.A disposable class to facilitate the calculation of hash codes, i.e.AIntegrityExceptionindicates that the integrity of public or private key or a signature cannot be established.An instance of this class represents a certain version of a Java VM.ProvidesLocale-specific utility methods.ALockExceptionindicates that an object can not be locked or unlocked due to being locked (by the wrong object).Provides commonly used functionality for logging.TheNullArgumentExceptionis a specialIllegalArgumentExceptionthat must be thrown when a parameter isnulland it is not allowed to be.A class for counting objects thread-safe.Tool methods for objects, similar toObjects.Provides check methods whether the current JVM meets the requirements to run the AristaFlow applications.Tool class for creatingjava.securityrelated objects, ie.Serialisable Apache Commons Configuration.Provides tools to manipulate stack traces (i.e.InputStreamandOutputStreamrelated tool methods.This class provides some useful string-related tool methods.A comparator for objects which are mapped and compared by appropriate strings.A comparator for strings includingnull.This class provides tool methods for handlingThrowable.This interface allows arbitrary callers type-safe cloning of the objects supporting it.This exception indicates that a requested entity identified by some primary key (ID, name,...) does not exist.Some useful methods forURIs.Tool class for creating and managing UUIDs.A UUID comparator comparing UUIDs unsigned, that is a leading 7 is less than a leading 8.Tool class to find and replace variables of the form${variable}.
Cleanup.CollCloseTaskinstead.