Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addCollectionToMapOfSets(Map<S, Set<T>>, S, Collection<T>) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Adds a collection of values to a map of sets.
- addToMapOfLists(Map<S, List<T>>, S, T) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Adds a value to a list associated with the specified key in a map of lists.
- addToMapOfSets(Map<S, Set<T>>, S, T) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Adds a value to a map of sets.
- asArrayList(T[]) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Converts an array to an
ArrayList. - asHashSet(T...) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Creates a new
HashSetcontaining the specified elements.
C
- Cache<K,
V> - Interface in org.operaton.commons.utils.cache -
A Map-like data structure that stores key-value pairs and provides temporary access to it.
- clear() - Method in interface org.operaton.commons.utils.cache.Cache
-
Clears the contents of the cache.
- clear() - Method in class org.operaton.commons.utils.cache.ConcurrentLruCache
- closeSilently(Closeable) - Static method in class org.operaton.commons.utils.IoUtil
-
Close a closable ignoring any IO exception.
- collectInList(Iterator<T>) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Converts an iterator into a list.
- CollectionUtil - Class in org.operaton.commons.utils
-
helper/convience methods for working with collections.
- ConcurrentLruCache<K,
V> - Class in org.operaton.commons.utils.cache -
A thread-safe LRU org.operaton.commons.utils.cache.Cache with a fixed capacity.
- ConcurrentLruCache(int) - Constructor for class org.operaton.commons.utils.cache.ConcurrentLruCache
-
Creates the cache with a fixed capacity.
D
- defaultString(String) - Static method in class org.operaton.commons.utils.StringUtil
-
Returns either the passed in String, or if the String is
null, an empty String ("").
E
- ENCODING_CHARSET - Static variable in class org.operaton.commons.utils.IoUtil
- ENSURE_UTIL_LOGGER - Static variable in class org.operaton.commons.utils.UtilsLogger
- ensureNotNull(String, Object) - Static method in class org.operaton.commons.utils.EnsureUtil
-
Ensures that the parameter is not null.
- ensureParamInstanceOf(String, Object, Class<T>) - Static method in class org.operaton.commons.utils.EnsureUtil
-
Ensure the object is of a given type and return the casted object
- EnsureUtil - Class in org.operaton.commons.utils
- EnsureUtil() - Constructor for class org.operaton.commons.utils.EnsureUtil
- EnsureUtilLogger - Class in org.operaton.commons.utils
- EnsureUtilLogger() - Constructor for class org.operaton.commons.utils.EnsureUtilLogger
F
- fileAsByteArray(File) - Static method in class org.operaton.commons.utils.IoUtil
-
Returns the content of a File.
- fileAsStream(File) - Static method in class org.operaton.commons.utils.IoUtil
-
Returns the input stream of a file.
- fileAsStream(String) - Static method in class org.operaton.commons.utils.IoUtil
-
Returns the input stream of a file with specified filename
- fileAsString(File) - Static method in class org.operaton.commons.utils.IoUtil
-
Returns the content of a File.
- fileAsString(String) - Static method in class org.operaton.commons.utils.IoUtil
-
Returns the content of a file with specified filename
- fileNotFoundException(String) - Method in class org.operaton.commons.utils.IoUtilLogger
- fileNotFoundException(String, Exception) - Method in class org.operaton.commons.utils.IoUtilLogger
G
- get(K) - Method in interface org.operaton.commons.utils.cache.Cache
-
Gets an entry from the cache.
- get(K) - Method in class org.operaton.commons.utils.cache.ConcurrentLruCache
- getClasspathFile(String) - Static method in class org.operaton.commons.utils.IoUtil
-
Returns the File for a filename.
- getClasspathFile(String, ClassLoader) - Static method in class org.operaton.commons.utils.IoUtil
-
Returns the File for a filename.
- getLastElement(Iterable<T>) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Retrieves the last element from an iterable.
- getStackTrace(Throwable) - Static method in class org.operaton.commons.utils.StringUtil
-
Fetches the stack trace of an exception as a String.
H
- hasElements(Collection<?>) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Checks if a collection is not
nulland contains elements.
I
- inputStreamAsByteArray(InputStream) - Static method in class org.operaton.commons.utils.IoUtil
-
Returns the input stream as byte[].
- inputStreamAsString(InputStream) - Static method in class org.operaton.commons.utils.IoUtil
-
Returns the input stream as String.
- IO_UTIL_LOGGER - Static variable in class org.operaton.commons.utils.UtilsLogger
- IoUtil - Class in org.operaton.commons.utils
- IoUtil() - Constructor for class org.operaton.commons.utils.IoUtil
- IoUtilException - Exception in org.operaton.commons.utils
- IoUtilException(String) - Constructor for exception org.operaton.commons.utils.IoUtilException
- IoUtilException(String, Throwable) - Constructor for exception org.operaton.commons.utils.IoUtilException
- IoUtilLogger - Class in org.operaton.commons.utils
- IoUtilLogger() - Constructor for class org.operaton.commons.utils.IoUtilLogger
- isEmpty() - Method in interface org.operaton.commons.utils.cache.Cache
-
Returns
trueif this cache contains no key-value mappings. - isEmpty() - Method in class org.operaton.commons.utils.cache.ConcurrentLruCache
- isEmpty(Collection<?>) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Checks if a collection is
nullor empty. - isExpression(String) - Static method in class org.operaton.commons.utils.StringUtil
-
Checks whether a String seams to be an expression or not
J
- join(String, String...) - Static method in class org.operaton.commons.utils.StringUtil
-
Joins a list of Strings to a single one.
K
- keySet() - Method in interface org.operaton.commons.utils.cache.Cache
-
Returns a Set view of the keys contained in this cache.
- keySet() - Method in class org.operaton.commons.utils.cache.ConcurrentLruCache
M
- mergeMapsOfLists(Map<S, List<T>>, Map<S, List<T>>) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Merges two maps of lists.
N
- nullParameter(String) - Method in class org.operaton.commons.utils.IoUtilLogger
O
- org.operaton.commons.utils - package org.operaton.commons.utils
- org.operaton.commons.utils.cache - package org.operaton.commons.utils.cache
P
- parameterIsNullException(String) - Method in class org.operaton.commons.utils.EnsureUtilLogger
- partition(List<T>, int) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Chops a list into non-view sublists of length partitionSize.
- PROJECT_CODE - Static variable in class org.operaton.commons.utils.UtilsLogger
- put(K, V) - Method in interface org.operaton.commons.utils.cache.Cache
-
Associates the specified value with the specified key in the cache.
- put(K, V) - Method in class org.operaton.commons.utils.cache.ConcurrentLruCache
R
- readerAsString(Reader) - Static method in class org.operaton.commons.utils.IoUtil
-
Returns the Reader content as String.
- remove(K) - Method in interface org.operaton.commons.utils.cache.Cache
-
Removes an entry from the cache.
- remove(K) - Method in class org.operaton.commons.utils.cache.ConcurrentLruCache
- removeAll(K) - Method in class org.operaton.commons.utils.cache.ConcurrentLruCache
-
Removes all instances of the given key within the keys queue.
S
- sanitize(String) - Static method in class org.operaton.commons.utils.StringUtil
-
Sanitizes a given string for safe logging by escaping carriage return and newline characters.
- singletonMap(String, Object) - Static method in class org.operaton.commons.utils.CollectionUtil
-
Helper method that creates a singleton map.
- size() - Method in interface org.operaton.commons.utils.cache.Cache
- size() - Method in class org.operaton.commons.utils.cache.ConcurrentLruCache
- split(String, String) - Static method in class org.operaton.commons.utils.StringUtil
-
Splits a String by an expression.
- stringAsInputStream(String) - Static method in class org.operaton.commons.utils.IoUtil
-
Returns the String as InputStream.
- StringUtil - Class in org.operaton.commons.utils
U
- unableToReadFromReader(Throwable) - Method in class org.operaton.commons.utils.IoUtilLogger
- unableToReadInputStream(IOException) - Method in class org.operaton.commons.utils.IoUtilLogger
- unsupportedParameterType(String, Object, Class<?>) - Method in class org.operaton.commons.utils.EnsureUtilLogger
- UtilsLogger - Class in org.operaton.commons.utils
- UtilsLogger() - Constructor for class org.operaton.commons.utils.UtilsLogger
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form