Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X 

A

accept(I1, I2) - Method in interface org.apache.camel.util.function.ThrowingBiConsumer
Performs this operation on the given arguments, potentially throwing an exception.
accept(I) - Method in interface org.apache.camel.util.function.ThrowingConsumer
Performs this operation on the given argument, potentially throwing an exception.
accept(I1, I2, I3) - Method in interface org.apache.camel.util.function.ThrowingTriConsumer
Applies this function to the given arguments, potentially throwing an exception.
accept(I1, I2, I3) - Method in interface org.apache.camel.util.function.TriConsumer
Applies this function to the given arguments..
after(String, String) - Static method in class org.apache.camel.util.StringHelper
Returns the string after the given token
after(String, String, String) - Static method in class org.apache.camel.util.StringHelper
Returns the string after the given token, or the default value
after(String, String, Function<String, T>) - Static method in class org.apache.camel.util.StringHelper
Returns an object after the given token
afterLast(String, String) - Static method in class org.apache.camel.util.StringHelper
Returns the string after the the last occurrence of the given token
afterLast(String, String, String) - Static method in class org.apache.camel.util.StringHelper
Returns the string after the the last occurrence of the given token, or the default value
allowCoreThreadTimeOut(boolean) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
allowsCoreThreadTimeOut() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
AntPathMatcher - Class in org.apache.camel.util
PathMatcher implementation for Ant-style path patterns.
AntPathMatcher() - Constructor for class org.apache.camel.util.AntPathMatcher
 
append(Object) - Method in class org.apache.camel.util.CollectionStringBuffer
Deprecated.
 
appendParametersToURI(String, Map<String, Object>) - Static method in class org.apache.camel.util.URISupport
Appends the given parameters to the given URI.
appendValue(Map<String, Object>, String, Object) - Static method in class org.apache.camel.util.CollectionHelper
Sets the value of the entry in the map for the given key, though if the map already contains a value for the given key then the value is appended to a list of values.
apply(I1, I2) - Method in interface org.apache.camel.util.function.ThrowingBiFunction
Applies this function to the given arguments, potentially throwing an exception.
apply(I) - Method in interface org.apache.camel.util.function.ThrowingFunction
Applies this function to the given argument, potentially throwing an exception.
apply(I) - Method in interface org.apache.camel.util.function.ThrowingToLongFunction
Applies this function to the given argument, potentially throwing an exception.
applyIfNotEmpty(I, ThrowingFunction<I, R, T>) - Static method in class org.apache.camel.util.function.ThrowingHelper
Tests whether the value is not null, an empty string, an empty collection or a map and transform it using the given function.
applyIfNotEmpty(I, ThrowingFunction<I, R, T>, Supplier<R>) - Static method in class org.apache.camel.util.function.ThrowingHelper
Tests whether the value is not null, an empty string, an empty collection or a map and transform it using the given function.
arrayLength(Object[]) - Static method in class org.apache.camel.util.ObjectHelper
 
asEnumConstantValue(String) - Static method in class org.apache.camel.util.StringHelper
Converts the value to an enum constant value that is in the form of upper cased with underscore.
asList(Object[]) - Static method in class org.apache.camel.util.ObjectHelper
Turns the input array to a list of objects.
asRejectedExecutionHandler() - Method in enum org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy
 
asString(Object[]) - Static method in class org.apache.camel.util.ObjectHelper
Turns the given object arrays into a meaningful string
AsyncCompletionService<V> - Class in org.apache.camel.util.concurrent
 
AsyncCompletionService(Executor, boolean) - Constructor for class org.apache.camel.util.concurrent.AsyncCompletionService
 
AsyncCompletionService(Executor, boolean, ReentrantLock) - Constructor for class org.apache.camel.util.concurrent.AsyncCompletionService
 
awaitTermination(long, TimeUnit) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
awaitTermination(long, TimeUnit) - Method in class org.apache.camel.util.concurrent.SynchronousExecutorService
 

B

BackOff - Class in org.apache.camel.util.backoff
A back-off policy.
BackOff() - Constructor for class org.apache.camel.util.backoff.BackOff
 
BackOff(Duration, Duration, Duration, Long, Double) - Constructor for class org.apache.camel.util.backoff.BackOff
 
BackOff.Builder - Class in org.apache.camel.util.backoff
A builder for BackOff
BackOffTimer - Class in org.apache.camel.util.backoff
A simple timer utility that use a linked BackOff to determine when a task should be executed.
BackOffTimer(ScheduledExecutorService) - Constructor for class org.apache.camel.util.backoff.BackOffTimer
 
BackOffTimer.Task - Interface in org.apache.camel.util.backoff
 
BackOffTimer.Task.Status - Enum in org.apache.camel.util.backoff
 
before(String, String) - Static method in class org.apache.camel.util.StringHelper
Returns the string before the given token
before(String, String, String) - Static method in class org.apache.camel.util.StringHelper
Returns the string before the given token, or the default value
before(String, String, Function<String, T>) - Static method in class org.apache.camel.util.StringHelper
Returns an object before the given token
beforeLast(String, String) - Static method in class org.apache.camel.util.StringHelper
Returns the string before the last occurrence of the given token
beforeLast(String, String, String) - Static method in class org.apache.camel.util.StringHelper
Returns the string before the last occurrence of the given token, or the default value
between(String, String, String) - Static method in class org.apache.camel.util.StringHelper
Returns the string between the given tokens
between(String, String, String, Function<String, T>) - Static method in class org.apache.camel.util.StringHelper
Returns an object between the given token
betweenOuterPair(String, char, char) - Static method in class org.apache.camel.util.StringHelper
Returns the string between the most outer pair of tokens

The number of token pairs must be evenly, eg there must be same number of before and after tokens, otherwise null is returned

This implementation skips matching when the text is either single or double quoted.

betweenOuterPair(String, char, char, Function<String, T>) - Static method in class org.apache.camel.util.StringHelper
Returns an object between the most outer pair of tokens
bind(T1, BiConsumer<T1, T2>) - Static method in class org.apache.camel.util.function.Bindings
 
bind(T1, BiFunction<T1, T2, R>) - Static method in class org.apache.camel.util.function.Bindings
 
Bindings - Class in org.apache.camel.util.function
 
BUFFER_SIZE - Static variable in class org.apache.camel.util.FileUtil
 
BufferCaster - Class in org.apache.camel.util
 
buffered(InputStream) - Static method in class org.apache.camel.util.IOHelper
Wraps the passed in into a BufferedInputStream object and returns that.
buffered(OutputStream) - Static method in class org.apache.camel.util.IOHelper
Wraps the passed out into a BufferedOutputStream object and returns that.
buffered(Reader) - Static method in class org.apache.camel.util.IOHelper
Wraps the passed reader into a BufferedReader object and returns that.
buffered(Writer) - Static method in class org.apache.camel.util.IOHelper
Wraps the passed writer into a BufferedWriter object and returns that.
build() - Method in class org.apache.camel.util.backoff.BackOff.Builder
Build a new instance of BackOff
builder() - Static method in class org.apache.camel.util.backoff.BackOff
 
builder(BackOff) - Static method in class org.apache.camel.util.backoff.BackOff
 
Builder() - Constructor for class org.apache.camel.util.backoff.BackOff.Builder
 

C

callWithReadLock(StampedLock, Callable<R>) - Static method in class org.apache.camel.util.concurrent.LockHelper
 
callWithWriteLock(StampedLock, Callable<R>) - Static method in class org.apache.camel.util.concurrent.LockHelper
 
camelCaseToDash(String) - Static method in class org.apache.camel.util.StringHelper
Converts the string from camel case into dash format (helloGreatWorld -> hello-great-world)
CamelThreadFactory - Class in org.apache.camel.util.concurrent
Thread factory which creates threads supporting a naming pattern.
CamelThreadFactory(String, String, boolean) - Constructor for class org.apache.camel.util.concurrent.CamelThreadFactory
 
CamelURIParser - Class in org.apache.camel.util
A Camel specific URI parser that parses endpoint URIs in a quasi syntax that Camel uses.
cancel() - Method in interface org.apache.camel.util.backoff.BackOffTimer.Task
Cancel the task.
canScheduleOrExecute() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
Can the task be scheduled or executed?
capitalize(String) - Static method in class org.apache.camel.util.StringHelper
Capitalize the string (upper case first character)
capitalize(String, boolean) - Static method in class org.apache.camel.util.StringHelper
Capitalize the string (upper case first character)
CaseInsensitiveMap - Class in org.apache.camel.util
A map that uses case insensitive keys, but preserves the original key cases.
CaseInsensitiveMap() - Constructor for class org.apache.camel.util.CaseInsensitiveMap
 
CaseInsensitiveMap(Map<? extends String, ?>) - Constructor for class org.apache.camel.util.CaseInsensitiveMap
 
cast(T) - Static method in class org.apache.camel.util.BufferCaster
Without this cast, when the code compiled by Java 9+ is executed on Java 8, it will throw java.lang.NoSuchMethodError: Method flip()Ljava/nio/ByteBuffer; does not exist in class java.nio.ByteBuffer This is true for other method too: we list them here for completeness: position(int), limit(int), mark(), reset(), clear() and rewind()
cast(Map<?, ?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Map<?, ?>, Class<T>, Class<U>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Collection<?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Collection<?>, Class<T>) - Static method in class org.apache.camel.util.CastUtils
 
cast(List<?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(List<?>, Class<T>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Iterator<?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Iterator<?>, Class<T>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Set<?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Set<?>, Class<T>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Queue<?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Queue<?>, Class<T>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Deque<?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Deque<?>, Class<T>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Hashtable<?, ?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Hashtable<?, ?>, Class<T>, Class<U>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Map.Entry<?, ?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Map.Entry<?, ?>, Class<T>, Class<U>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Enumeration<?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(NamingEnumeration<?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Class<?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Class<?>, Class<T>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Future<?>) - Static method in class org.apache.camel.util.CastUtils
 
cast(Class<T>, Object) - Static method in class org.apache.camel.util.ObjectHelper
Converts the given value to the required type or throw a meaningful exception
CastUtils - Class in org.apache.camel.util
Utility methods for type casting.
changedLines(String, String) - Static method in class org.apache.camel.util.StringHelper
Compares old and new text content and report back which lines are changed
checkNext() - Method in class org.apache.camel.util.FilterIterator
 
classCanonicalName(Object) - Static method in class org.apache.camel.util.ObjectHelper
Returns the canonical type name of the given value
className(Object) - Static method in class org.apache.camel.util.ObjectHelper
Returns the type name of the given value
clear() - Method in class org.apache.camel.util.DoubleMap
 
clear() - Method in class org.apache.camel.util.OrderedProperties
 
close() - Method in class org.apache.camel.util.FilterIterator
 
close(Writer, FileOutputStream, String, Logger, boolean) - Static method in class org.apache.camel.util.IOHelper
Closes the given writer, logging any closing exceptions to the given log.
close(Closeable, String, Logger) - Static method in class org.apache.camel.util.IOHelper
Closes the given resource if it is available, logging any closing exceptions to the given log.
close(FileChannel, String, Logger, boolean) - Static method in class org.apache.camel.util.IOHelper
Closes the given channel if it is available, logging any closing exceptions to the given log.
close(Closeable, String) - Static method in class org.apache.camel.util.IOHelper
Closes the given resource if it is available.
close(Closeable) - Static method in class org.apache.camel.util.IOHelper
Closes the given resource if it is available.
close(Closeable...) - Static method in class org.apache.camel.util.IOHelper
Closes the given resources if they are available.
close() - Method in class org.apache.camel.util.IOHelper.EncodingFileReader
 
close() - Method in class org.apache.camel.util.IOHelper.EncodingFileWriter
 
close() - Method in class org.apache.camel.util.IOHelper.EncodingInputStream
 
close() - Method in class org.apache.camel.util.Scanner
 
close() - Method in class org.apache.camel.util.SkipIterator
 
closeIterator(Object) - Static method in class org.apache.camel.util.IOHelper
 
closeWithException(Closeable) - Static method in class org.apache.camel.util.IOHelper
Closes the given resource if it is available and don't catch the exception
collectionAsCommaDelimitedString(Collection<?>) - Static method in class org.apache.camel.util.CollectionHelper
 
CollectionHelper - Class in org.apache.camel.util
A number of helper methods for working with collections
CollectionStringBuffer - Class in org.apache.camel.util
CollectionStringBuffer() - Constructor for class org.apache.camel.util.CollectionStringBuffer
Deprecated.
 
CollectionStringBuffer(String) - Constructor for class org.apache.camel.util.CollectionStringBuffer
Deprecated.
 
compactPath(String) - Static method in class org.apache.camel.util.FileUtil
Compacts a path by stacking it and reducing .., and uses OS specific file separators (eg File.separator).
compactPath(String, char) - Static method in class org.apache.camel.util.FileUtil
Compacts a path by stacking it and reducing .., and uses the given separator.
compactPath(String, String) - Static method in class org.apache.camel.util.FileUtil
Compacts a file path by stacking it and reducing .., and uses the given separator.
constant(T) - Static method in class org.apache.camel.util.function.Suppliers
Returns a supplier that return a constant value.
containsIgnoreCase(String, String) - Static method in class org.apache.camel.util.StringHelper
Checks if the src string contains what
containsKey(K1, K2) - Method in class org.apache.camel.util.DoubleMap
 
convertPrimitiveTypeToWrapperType(Class<?>) - Static method in class org.apache.camel.util.ObjectHelper
Converts primitive types such as int to its wrapper type like Integer
copy(InputStream, OutputStream) - Static method in class org.apache.camel.util.IOHelper
 
copy(InputStream, OutputStream, int) - Static method in class org.apache.camel.util.IOHelper
 
copy(InputStream, OutputStream, int, boolean) - Static method in class org.apache.camel.util.IOHelper
 
copy(InputStream, OutputStream, int, boolean, long) - Static method in class org.apache.camel.util.IOHelper
 
copy(Reader, Writer, int) - Static method in class org.apache.camel.util.IOHelper
 
copyAndCloseInput(InputStream, OutputStream) - Static method in class org.apache.camel.util.IOHelper
 
copyAndCloseInput(InputStream, OutputStream, int) - Static method in class org.apache.camel.util.IOHelper
 
copyFile(File, File) - Static method in class org.apache.camel.util.FileUtil
Copies the file
countChar(String, char) - Static method in class org.apache.camel.util.StringHelper
Counts the number of times the given char is in the string
countChar(String, char, int) - Static method in class org.apache.camel.util.StringHelper
Counts the number of times the given char is in the string
createExceptionIterable(Throwable) - Static method in class org.apache.camel.util.ObjectHelper
Creates an Iterable to walk the exception from the bottom up (the last caused by going upwards to the root exception).
createExceptionIterator(Throwable) - Static method in class org.apache.camel.util.ObjectHelper
Creates an Iterator to walk the exception from the bottom up (the last caused by going upwards to the root exception).
createNewFile(File) - Static method in class org.apache.camel.util.FileUtil
Creates a new file.
createQueryString(Map<String, Object>) - Static method in class org.apache.camel.util.URISupport
Assembles a query from the given map.
createQueryString(Map<String, Object>, boolean) - Static method in class org.apache.camel.util.URISupport
Assembles a query from the given map.
createQueryString(Collection<String>, Map<String, Object>, boolean) - Static method in class org.apache.camel.util.URISupport
 
createRemainingURI(URI, Map<String, Object>) - Static method in class org.apache.camel.util.URISupport
Creates a URI from the original URI and the remaining parameters

Used by various Camel components

createSetContaining(T...) - Static method in class org.apache.camel.util.CollectionHelper
 
createTempFile(String, String, File) - Static method in class org.apache.camel.util.FileUtil
 
createURIWithQuery(URI, String) - Static method in class org.apache.camel.util.URISupport
Creates a URI with the given query

D

dashToCamelCase(String) - Static method in class org.apache.camel.util.StringHelper
Converts the string from dash format into camel case (hello-great-world -> helloGreatWorld)
DEFAULT_BUFFER_SIZE - Static variable in class org.apache.camel.util.IOHelper
 
DEFAULT_DELAY - Static variable in class org.apache.camel.util.backoff.BackOff
 
DEFAULT_MULTIPLIER - Static variable in class org.apache.camel.util.backoff.BackOff
 
DEFAULT_PATH_SEPARATOR - Static variable in class org.apache.camel.util.AntPathMatcher
Default path separator: "/"
DEFAULT_PATTERN - Static variable in class org.apache.camel.util.concurrent.ThreadHelper
 
defaultCharset - Static variable in class org.apache.camel.util.IOHelper
 
delay(Duration) - Method in class org.apache.camel.util.backoff.BackOff.Builder
 
delay(long, TimeUnit) - Method in class org.apache.camel.util.backoff.BackOff.Builder
 
delay(long) - Method in class org.apache.camel.util.backoff.BackOff.Builder
 
deleteFile(File) - Static method in class org.apache.camel.util.FileUtil
Deletes the file.
determineRootDir(String) - Method in class org.apache.camel.util.AntPathMatcher
Determine the root directory for the given location.
doMatch(String, String, boolean, boolean) - Method in class org.apache.camel.util.AntPathMatcher
Actually match the given path against the given pattern.
DoubleMap<K1,K2,V> - Class in org.apache.camel.util
 
DoubleMap(int) - Constructor for class org.apache.camel.util.DoubleMap
 
doubleQuote(String) - Static method in class org.apache.camel.util.StringQuoteHelper
Returns the text wrapped double quotes
doWith(Class) - Method in interface org.apache.camel.util.ReflectionHelper.ClassCallback
Perform an operation using the given class.
doWith(Field) - Method in interface org.apache.camel.util.ReflectionHelper.FieldCallback
Perform an operation using the given field.
doWith(Method) - Method in interface org.apache.camel.util.ReflectionHelper.MethodCallback
Perform an operation using the given method.
doWithClasses(Class<?>, ReflectionHelper.ClassCallback) - Static method in class org.apache.camel.util.ReflectionHelper
Perform the given callback operation on the nested (inner) classes.
doWithFields(Class<?>, ReflectionHelper.FieldCallback) - Static method in class org.apache.camel.util.ReflectionHelper
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
doWithMethods(Class<?>, ReflectionHelper.MethodCallback) - Static method in class org.apache.camel.util.ReflectionHelper
Perform the given callback operation on all matching methods of the given class and superclasses (or given interface and super-interfaces).
doWithReadLock(StampedLock, Runnable) - Static method in class org.apache.camel.util.concurrent.LockHelper
 
doWithReadLockT(StampedLock, ThrowingRunnable<T>) - Static method in class org.apache.camel.util.concurrent.LockHelper
 
doWithWriteLock(StampedLock, Runnable) - Static method in class org.apache.camel.util.concurrent.LockHelper
 
doWithWriteLockT(StampedLock, ThrowingRunnable<T>) - Static method in class org.apache.camel.util.concurrent.LockHelper
 

E

encode(String) - Static method in class org.apache.camel.util.UnsafeUriCharactersEncoder
 
encode(String, BitSet) - Static method in class org.apache.camel.util.UnsafeUriCharactersEncoder
 
encode(String, boolean) - Static method in class org.apache.camel.util.UnsafeUriCharactersEncoder
 
encode(String, BitSet, boolean) - Static method in class org.apache.camel.util.UnsafeUriCharactersEncoder
 
encodeHttpURI(String) - Static method in class org.apache.camel.util.UnsafeUriCharactersEncoder
 
encodeHttpURI(String, boolean) - Static method in class org.apache.camel.util.UnsafeUriCharactersEncoder
 
EncodingFileReader(FileInputStream, String) - Constructor for class org.apache.camel.util.IOHelper.EncodingFileReader
 
EncodingFileWriter(FileOutputStream, String) - Constructor for class org.apache.camel.util.IOHelper.EncodingFileWriter
 
EncodingInputStream(File, String) - Constructor for class org.apache.camel.util.IOHelper.EncodingInputStream
 
entrySet() - Method in class org.apache.camel.util.OrderedProperties
 
equal(Object, Object) - Static method in class org.apache.camel.util.ObjectHelper
A helper method for comparing objects for equality while handling nulls
equal(Object, Object, boolean) - Static method in class org.apache.camel.util.ObjectHelper
A helper method for comparing objects for equality while handling nulls
equalByteArray(byte[], byte[]) - Static method in class org.apache.camel.util.ObjectHelper
A helper method for comparing byte arrays for equality while handling nulls
equalIgnoreCase(Object, Object) - Static method in class org.apache.camel.util.ObjectHelper
A helper method for comparing objects for equality while handling case insensitivity
equals(Object) - Method in class org.apache.camel.util.KeyValueHolder
 
equals(Object) - Method in class org.apache.camel.util.Pair
 
evaluateValuePredicate(Object) - Static method in class org.apache.camel.util.ObjectHelper
Evaluate the value as a predicate which attempts to convert the value to a boolean otherwise true is returned if the value is not null
execute(Runnable) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
execute(Runnable) - Method in class org.apache.camel.util.concurrent.SynchronousExecutorService
 
extractPathWithinPattern(String, String) - Method in class org.apache.camel.util.AntPathMatcher
Given a pattern and a full path, determine the pattern-mapped part.
extractProperties(Map<String, Object>, String) - Static method in class org.apache.camel.util.IntrospectionSupport
Deprecated.
use org.apache.camel.support.IntrospectionSupport#extractProperties instead
extractProperties(Map<String, Object>, String) - Static method in class org.apache.camel.util.PropertiesHelper
 
extractProperties(Map<String, Object>, String, boolean) - Static method in class org.apache.camel.util.PropertiesHelper
 
extractProperties(Map<String, Object>, String) - Static method in class org.apache.camel.util.URISupport
 
extractQuery(String) - Static method in class org.apache.camel.util.URISupport
Extracts the query part of the given uri
extractRemainderPath(URI, boolean) - Static method in class org.apache.camel.util.URISupport
Extracts the scheme specific path from the URI that is used as the remainder option when creating endpoints.
extractStringProperties(Map<String, Object>) - Static method in class org.apache.camel.util.PropertiesHelper
Deprecated.

F

FilePathResolver - Class in org.apache.camel.util
A resolver for file paths that supports resolving with system and environment properties.
FileUtil - Class in org.apache.camel.util
File utilities.
FilterIterator<T> - Class in org.apache.camel.util
A filtering iterator
FilterIterator(Iterator<T>) - Constructor for class org.apache.camel.util.FilterIterator
 
FilterIterator(Iterator<T>, Predicate<T>) - Constructor for class org.apache.camel.util.FilterIterator
 
findMethod(Class<?>, String, Class<?>...) - Static method in class org.apache.camel.util.ReflectionHelper
Attempt to find a Method on the supplied class with the supplied name and parameter types.
findMethodsWithAnnotation(Class<?>, Class<? extends Annotation>) - Static method in class org.apache.camel.util.ObjectHelper
Returns a list of methods which are annotated with the given annotation
findMethodsWithAnnotation(Class<?>, Class<? extends Annotation>, boolean) - Static method in class org.apache.camel.util.ObjectHelper
Returns a list of methods which are annotated with the given annotation
firstMatching(Predicate<T>, ThrowingSupplier<T, Exception>...) - Static method in class org.apache.camel.util.function.Suppliers
Returns the first value provide by the given suppliers that matches the given predicate.
firstNotNull(ThrowingSupplier<T, Exception>...) - Static method in class org.apache.camel.util.function.Suppliers
Returns the first non null value provide by the given suppliers.
firstNotNull(Object...) - Static method in class org.apache.camel.util.ObjectHelper
Returns the first non null object null.
flattenKeysInMap(Map<String, Object>, String) - Static method in class org.apache.camel.util.CollectionHelper
Traverses the given map recursively and flattern the keys by combining them with the optional separator.
force(FileChannel, String, Logger) - Static method in class org.apache.camel.util.IOHelper
Forces any updates to this channel's file to be written to the storage device that contains it.
force(FileOutputStream, String, Logger) - Static method in class org.apache.camel.util.IOHelper
Forces any updates to a FileOutputStream be written to the storage device that contains it.
forEach(TriConsumer<K1, K2, V>) - Method in class org.apache.camel.util.DoubleMap
 

G

get(K1, K2) - Method in class org.apache.camel.util.DoubleMap
 
get() - Method in interface org.apache.camel.util.function.ThrowingSupplier
Get a result, potentially throwing an exception.
get(Object) - Method in class org.apache.camel.util.OrderedProperties
 
get() - Method in class org.apache.camel.util.ReferenceCount
Returns the reference count.
getActiveCount() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
getAddresses() - Static method in class org.apache.camel.util.HostUtils
Returns a Set of InetAddress that are non-loopback or mac.
getAnnotation(Object, Class<A>) - Static method in class org.apache.camel.util.ObjectHelper
Gets the annotation from the given instance.
getBackOff() - Method in interface org.apache.camel.util.backoff.BackOffTimer.Task
The back-off associated with this task.
getCharsetNameFromContentType(String) - Static method in class org.apache.camel.util.IOHelper
Get the charset name from the content type string
getCompletedTaskCount() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
getCorePoolSize() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
getCurrentAttempts() - Method in interface org.apache.camel.util.backoff.BackOffTimer.Task
The number of attempts so far.
getCurrentDelay() - Method in interface org.apache.camel.util.backoff.BackOffTimer.Task
The current computed delay.
getCurrentElapsedTime() - Method in interface org.apache.camel.util.backoff.BackOffTimer.Task
The current elapsed time.
getDefaultCharacterSet() - Static method in class org.apache.camel.util.ObjectHelper
Helper method to return the default character set name
getDelay() - Method in class org.apache.camel.util.backoff.BackOff
 
getException(Class<T>, Throwable) - Static method in class org.apache.camel.util.ObjectHelper
Retrieves the given exception type from the exception.
getField(Field, Object) - Static method in class org.apache.camel.util.ReflectionHelper
 
getFirst(Predicate<K1>, Predicate<K2>) - Method in class org.apache.camel.util.DoubleMap
 
getFirstAttemptTime() - Method in interface org.apache.camel.util.backoff.BackOffTimer.Task
The time the first attempt was performed.
getIdentityHashCode(Object) - Static method in class org.apache.camel.util.ObjectHelper
 
getKeepAliveTime(TimeUnit) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
getKey() - Method in class org.apache.camel.util.KeyValueHolder
 
getLargestPoolSize() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
getLastAttemptTime() - Method in interface org.apache.camel.util.backoff.BackOffTimer.Task
The time the last attempt has been performed.
getLeft() - Method in class org.apache.camel.util.Pair
 
getLocalHostName() - Static method in class org.apache.camel.util.HostUtils
Returns the local hostname.
getLocalHostName() - Static method in class org.apache.camel.util.InetAddressUtil
When using the InetAddress.getHostName() method in an environment where neither a proper DNS lookup nor an /etc/hosts entry exists for a given host, the following exception will be thrown:

java.net.UnknownHostException: <hostname>: <hostname> at java.net.InetAddress.getLocalHost(InetAddress.java:1425) ...

getLocalHostNameSafe() - Static method in class org.apache.camel.util.InetAddressUtil
When using the InetAddress.getHostName() method in an environment where neither a proper DNS lookup nor an /etc/hosts entry exists for a given host, the following exception will be thrown:

java.net.UnknownHostException: <hostname>: <hostname> at java.net.InetAddress.getLocalHost(InetAddress.java:1425) ...

getLocalIp() - Static method in class org.apache.camel.util.HostUtils
Returns the local IP.
getLock() - Method in class org.apache.camel.util.concurrent.AsyncCompletionService
 
getMaxAttempts() - Method in class org.apache.camel.util.backoff.BackOff
 
getMaxDelay() - Method in class org.apache.camel.util.backoff.BackOff
 
getMaxElapsedTime() - Method in class org.apache.camel.util.backoff.BackOff
 
getMaximumPoolSize() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
getMultiplier() - Method in class org.apache.camel.util.backoff.BackOff
 
getName() - Method in class org.apache.camel.util.concurrent.CamelThreadFactory
 
getNetworkInterfaceAddresses() - Static method in class org.apache.camel.util.HostUtils
Returns a Map of InetAddress per NetworkInterface.
getNextAttemptTime() - Method in interface org.apache.camel.util.backoff.BackOffTimer.Task
An indication about the time the next attempt will be made.
getPoolSize() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
getProperty(String) - Method in class org.apache.camel.util.OrderedProperties
 
getProperty(String, String) - Method in class org.apache.camel.util.OrderedProperties
 
getPropertyName(Method) - Static method in class org.apache.camel.util.ObjectHelper
Returns the Java Bean property name of the given method, if it is a setter
getRejectedExecutionHandler() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
getRight() - Method in class org.apache.camel.util.Pair
 
getScheduledThreadPoolExecutor() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
getSeparator() - Method in class org.apache.camel.util.CollectionStringBuffer
Deprecated.
 
getStatus() - Method in interface org.apache.camel.util.backoff.BackOffTimer.Task
Gets the task status.
getSystemProperty(String, String) - Static method in class org.apache.camel.util.ObjectHelper
A helper method to access a system property, catching any security exceptions
getSystemProperty(String, Boolean) - Static method in class org.apache.camel.util.ObjectHelper
A helper method to access a boolean system property, catching any security exceptions
getTaskCount() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
getThreadFactory() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
getUserDir() - Static method in class org.apache.camel.util.FileUtil
 
getValue() - Method in class org.apache.camel.util.KeyValueHolder
 

H

hasAnnotation(AnnotatedElement, Class<? extends Annotation>, boolean) - Static method in class org.apache.camel.util.ObjectHelper
Checks if a Class or Method are annotated with the given annotation
hasAnnotation(Annotation[], Class<?>) - Static method in class org.apache.camel.util.ObjectHelper
Returns true if the given collection of annotations matches the given type
hasDefaultPublicNoArgConstructor(Class<?>) - Static method in class org.apache.camel.util.ObjectHelper
Does the given class have a default public no-arg constructor.
hashCode() - Method in class org.apache.camel.util.KeyValueHolder
 
hashCode() - Method in class org.apache.camel.util.Pair
 
hasLeadingSeparator(String) - Static method in class org.apache.camel.util.FileUtil
Does the name start with a leading separator
hasNext() - Method in class org.apache.camel.util.FilterIterator
 
hasNext() - Method in class org.apache.camel.util.Scanner
 
hasNext() - Method in class org.apache.camel.util.SkipIterator
 
hasProperties(Map<String, Object>, String) - Static method in class org.apache.camel.util.PropertiesHelper
 
hasStartToken(String, String) - Static method in class org.apache.camel.util.StringHelper
Does the expression have the language start token?
hasUpperCase(String) - Static method in class org.apache.camel.util.StringHelper
Determines if the string has at least one letter in upper case
HostUtils - Class in org.apache.camel.util
 
humanReadableBytes(Locale, long) - Static method in class org.apache.camel.util.StringHelper
Outputs the bytes in human readable format in units of KB,MB,GB etc.
humanReadableBytes(long) - Static method in class org.apache.camel.util.StringHelper
Outputs the bytes in human readable format in units of KB,MB,GB etc.

I

ifNotEmpty(T, Consumer<T>) - Static method in class org.apache.camel.util.ObjectHelper
Tests whether the value is not null, an empty string, an empty collection or a map
immutableMapOf(Supplier<Map<K, V>>, K, V, Object...) - Static method in class org.apache.camel.util.CollectionHelper
Build an immutable map from varargs.
immutableMapOf(K, V, Object...) - Static method in class org.apache.camel.util.CollectionHelper
Build an immutable map from varargs.
InetAddressUtil - Class in org.apache.camel.util
Util class for InetAddress
INSTANCE - Static variable in class org.apache.camel.util.AntPathMatcher
 
IntrospectionSupport - Class in org.apache.camel.util
Deprecated.
invokeAll(Collection<? extends Callable<T>>) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
invokeAny(Collection<? extends Callable<T>>) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
IOHelper - Class in org.apache.camel.util
IO helper class.
IOHelper.EncodingFileReader - Class in org.apache.camel.util
Encoding-aware file reader.
IOHelper.EncodingFileWriter - Class in org.apache.camel.util
Encoding-aware file writer.
IOHelper.EncodingInputStream - Class in org.apache.camel.util
Encoding-aware input stream.
isAbsolute(File) - Static method in class org.apache.camel.util.FileUtil
Is the given file an absolute file.
isAssignableFrom(Class<?>, Class<?>) - Static method in class org.apache.camel.util.ObjectHelper
Returns true if a class is assignable from another class like the Class.isAssignableFrom(Class) method but which also includes coercion between primitive types to deal with Java 5 primitive type wrapping
isClassName(String) - Static method in class org.apache.camel.util.StringHelper
Determines if the string is a fully qualified class name
isEmpty() - Method in class org.apache.camel.util.CollectionStringBuffer
Deprecated.
 
isEmpty(Object) - Static method in class org.apache.camel.util.ObjectHelper
Tests whether the value is null or an empty string.
isEmpty() - Method in class org.apache.camel.util.OrderedProperties
 
isEqualToAny(Object, Object...) - Static method in class org.apache.camel.util.ObjectHelper
Returns true if the given object is equal to any of the expected value
isInvalidValidOgnlExpression(String) - Static method in class org.apache.camel.util.OgnlHelper
 
isJavaIdentifier(String) - Static method in class org.apache.camel.util.StringHelper
Returns true if the given name is a valid java identifier
isNaN(Object) - Static method in class org.apache.camel.util.ObjectHelper
Is the given value a numeric NaN type
isNotEmpty(Object) - Static method in class org.apache.camel.util.ObjectHelper
Tests whether the value is not null, an empty string or an empty collection/map.
isNullSafeOperator(String) - Static method in class org.apache.camel.util.OgnlHelper
Tests whether or not the given Camel OGNL expression is using the null safe operator or not.
isOgnlIndex(String) - Static method in class org.apache.camel.util.OgnlHelper
 
isOverridingMethod(Method, Method) - Static method in class org.apache.camel.util.ObjectHelper
Tests whether the target method overrides the source method.
isOverridingMethod(Method, Method, boolean) - Static method in class org.apache.camel.util.ObjectHelper
Tests whether the target method overrides the source method.
isOverridingMethod(Class<?>, Method, Method, boolean) - Static method in class org.apache.camel.util.ObjectHelper
Tests whether the target method overrides the source method from the inheriting class.
isPattern(String) - Method in class org.apache.camel.util.AntPathMatcher
 
isPositive(Duration) - Static method in class org.apache.camel.util.TimeUtils
 
isPrimitiveArrayType(Class<?>) - Static method in class org.apache.camel.util.ObjectHelper
Returns if the given clazz type is a Java primitive array type.
isQuoted(String) - Static method in class org.apache.camel.util.StringHelper
Whether the string starts and ends with either single or double quotes.
isRaw(int, List<Pair<Integer>>) - Static method in class org.apache.camel.util.URISupport
Tests if the index is within any pair of the start and end indexes which represent the start and end positions of a RAW token.
isSafeFastParser(char) - Static method in class org.apache.camel.util.UnsafeUriCharactersEncoder
 
isShutdown() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
isShutdown() - Method in class org.apache.camel.util.concurrent.SynchronousExecutorService
 
isTerminated() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
isTerminated() - Method in class org.apache.camel.util.concurrent.SynchronousExecutorService
 
isTerminating() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
isValidOgnlExpression(String) - Static method in class org.apache.camel.util.OgnlHelper
Tests whether or not the given String is a Camel OGNL expression.
isValidVersion(String, double) - Static method in class org.apache.camel.util.PackageHelper
Returns true if the version number of the given package name can be found and is greater than or equal to the minimum version.
isWindows() - Static method in class org.apache.camel.util.FileUtil
Returns true, if the OS is windows

J

joinPaths(String...) - Static method in class org.apache.camel.util.URISupport
 

K

keys() - Method in class org.apache.camel.util.OrderedProperties
 
keySet() - Method in class org.apache.camel.util.OrderedProperties
 
KeyValueHolder<K,V> - Class in org.apache.camel.util
Holder for a key and value.
KeyValueHolder(K, V) - Constructor for class org.apache.camel.util.KeyValueHolder
 

L

limitLength(String, int) - Static method in class org.apache.camel.util.StringHelper
Limits the length of a string
loadClass(String) - Static method in class org.apache.camel.util.ObjectHelper
Attempts to load the given class name using the thread context class loader or the class loader used to load this class
loadClass(String, ClassLoader) - Static method in class org.apache.camel.util.ObjectHelper
Attempts to load the given class name using the thread context class loader or the given class loader
loadClass(String, ClassLoader, boolean) - Static method in class org.apache.camel.util.ObjectHelper
Attempts to load the given class name using the thread context class loader or the given class loader
loadResourceAsStream(String) - Static method in class org.apache.camel.util.ObjectHelper
Attempts to load the given resource as a stream using the thread context class loader or the class loader used to load this class
loadResourceAsStream(String, ClassLoader) - Static method in class org.apache.camel.util.ObjectHelper
Attempts to load the given resource as a stream using first the given class loader, then the thread context class loader and finally the class loader used to load this class
loadResourceAsURL(String) - Static method in class org.apache.camel.util.ObjectHelper
Attempts to load the given resource as a stream using the thread context class loader or the class loader used to load this class
loadResourceAsURL(String, ClassLoader) - Static method in class org.apache.camel.util.ObjectHelper
Attempts to load the given resource as a stream using the thread context class loader or the class loader used to load this class
loadResourcesAsURL(String) - Static method in class org.apache.camel.util.ObjectHelper
Attempts to load the given resources from the given package name using the thread context class loader or the class loader used to load this class
loadResourcesAsURL(String, ClassLoader) - Static method in class org.apache.camel.util.ObjectHelper
Attempts to load the given resources from the given package name using the thread context class loader or the class loader used to load this class
loadSimpleType(String) - Static method in class org.apache.camel.util.ObjectHelper
Load a simple type
loadText(InputStream) - Static method in class org.apache.camel.util.IOHelper
Loads the entire stream into memory as a String and returns it.
LockHelper - Class in org.apache.camel.util.concurrent
 
lookupConstantFieldValue(Class<?>, String) - Static method in class org.apache.camel.util.ObjectHelper
Lookup the constant field on the given class with the given name
lookupEnvironmentVariable(String) - Static method in class org.apache.camel.util.IOHelper
Lookup the OS environment variable in a safe manner by using upper case keys and underscore instead of dash.

M

mapOf(Supplier<Map<K, V>>, K, V, Object...) - Static method in class org.apache.camel.util.CollectionHelper
Build a map from varargs.
mapOf(K, V, Object...) - Static method in class org.apache.camel.util.CollectionHelper
Build a map from varargs.
match(String, String) - Method in class org.apache.camel.util.AntPathMatcher
 
match(String, String, boolean) - Method in class org.apache.camel.util.AntPathMatcher
 
matches(List<?>) - Static method in class org.apache.camel.util.ObjectHelper
Returns the predicate matching boolean on a List result set where if the first element is a boolean its value is used otherwise this method returns true if the collection is not empty
matches(String, String) - Static method in class org.apache.camel.util.StringHelper
Check for string pattern matching with a number of strategies in the following order: - equals - null pattern always matches - * always matches - Ant style matching - Regexp
matchStart(String, String) - Method in class org.apache.camel.util.AntPathMatcher
 
matchStart(String, String, boolean) - Method in class org.apache.camel.util.AntPathMatcher
 
MAX_DURATION - Static variable in class org.apache.camel.util.backoff.BackOff
 
maxAttempts(Long) - Method in class org.apache.camel.util.backoff.BackOff.Builder
 
maxDelay(Duration) - Method in class org.apache.camel.util.backoff.BackOff.Builder
 
maxDelay(long, TimeUnit) - Method in class org.apache.camel.util.backoff.BackOff.Builder
 
maxDelay(long) - Method in class org.apache.camel.util.backoff.BackOff.Builder
 
maxElapsedTime(Duration) - Method in class org.apache.camel.util.backoff.BackOff.Builder
 
maxElapsedTime(long, TimeUnit) - Method in class org.apache.camel.util.backoff.BackOff.Builder
 
maxElapsedTime(long) - Method in class org.apache.camel.util.backoff.BackOff.Builder
 
memorize(Supplier<T>) - Static method in class org.apache.camel.util.function.Suppliers
Returns a supplier which caches the result of the first call to Supplier.get()and returns that value on subsequent calls.
memorize(ThrowingSupplier<T, ? extends Exception>, Consumer<Exception>) - Static method in class org.apache.camel.util.function.Suppliers
Returns a supplier which caches the result of the first call to Supplier.get() and returns that value on subsequent calls.
mergeMaps(Map<K, V>, Map<K, V>...) - Static method in class org.apache.camel.util.CollectionHelper
Build a new map that is the result of merging the given list of maps.
multiplier(Double) - Method in class org.apache.camel.util.backoff.BackOff.Builder
 

N

name(Class<?>) - Static method in class org.apache.camel.util.ObjectHelper
Returns the type name of the given type or null if the type variable is null
negate(Predicate<T>) - Static method in class org.apache.camel.util.function.Predicates
Negates a predicate, useful for method references.
NEVER - Static variable in class org.apache.camel.util.backoff.BackOff
 
newTaskFor(Runnable, T) - Method in class org.apache.camel.util.concurrent.RejectableScheduledThreadPoolExecutor
 
newTaskFor(Callable<T>) - Method in class org.apache.camel.util.concurrent.RejectableScheduledThreadPoolExecutor
 
newTaskFor(Runnable, T) - Method in class org.apache.camel.util.concurrent.RejectableThreadPoolExecutor
 
newTaskFor(Callable<T>) - Method in class org.apache.camel.util.concurrent.RejectableThreadPoolExecutor
 
newThread(Runnable) - Method in class org.apache.camel.util.concurrent.CamelThreadFactory
 
next() - Method in class org.apache.camel.util.FilterIterator
 
next() - Method in class org.apache.camel.util.Scanner
 
next() - Method in class org.apache.camel.util.SkipIterator
 
normalizeCharset(String) - Static method in class org.apache.camel.util.IOHelper
This method will take off the quotes and double quotes of the charset
normalizeClassName(String) - Static method in class org.apache.camel.util.StringHelper
Cleans the string to a pure Java identifier so we can use it for loading class names.
normalizePath(String) - Static method in class org.apache.camel.util.FileUtil
Normalizes the path to cater for Windows and other platforms
normalizeUri(String) - Static method in class org.apache.camel.util.URISupport
Normalizes the uri by reordering the parameters so they are sorted and thus we can use the uris for endpoint matching.
notEmpty(String, String) - Static method in class org.apache.camel.util.StringHelper
Asserts whether the string is not empty.
notEmpty(String, String, Object) - Static method in class org.apache.camel.util.StringHelper
Asserts whether the string is not empty.
notNull(T, String) - Static method in class org.apache.camel.util.ObjectHelper
Asserts whether the value is not null
notNull(T, String, Object) - Static method in class org.apache.camel.util.ObjectHelper
Asserts whether the value is not null

O

ObjectHelper - Class in org.apache.camel.util
A number of useful helper methods for working with Objects
of(Predicate<T>) - Static method in class org.apache.camel.util.function.Predicates
Wrap a predicate, useful for method references.
OgnlHelper - Class in org.apache.camel.util
Helper for Camel OGNL (Object-Graph Navigation Language) expressions.
on(Runnable, Runnable) - Static method in class org.apache.camel.util.ReferenceCount
 
onlyExt(String) - Static method in class org.apache.camel.util.FileUtil
 
onlyExt(String, boolean) - Static method in class org.apache.camel.util.FileUtil
 
onlyPath(String) - Static method in class org.apache.camel.util.FileUtil
Returns only the leading path (returns null if no path)
onRelease(Runnable) - Static method in class org.apache.camel.util.ReferenceCount
 
OrderedProperties - Class in org.apache.camel.util
This class is an ordered Properties where the key/values are stored in the order they are added or loaded.
OrderedProperties() - Constructor for class org.apache.camel.util.OrderedProperties
 
org.apache.camel.util - package org.apache.camel.util
Utility classes used by the core of Camel.
org.apache.camel.util.backoff - package org.apache.camel.util.backoff
Utility classes for BackOff.
org.apache.camel.util.concurrent - package org.apache.camel.util.concurrent
Concurrent utility classes
org.apache.camel.util.function - package org.apache.camel.util.function
Function utility classes

P

PackageHelper - Class in org.apache.camel.util
Some helper methods for working with Java packages and versioning.
Pair<T> - Class in org.apache.camel.util
Generic holder object for pair values.
Pair(T, T) - Constructor for class org.apache.camel.util.Pair
 
parseParameters(URI) - Static method in class org.apache.camel.util.URISupport
Parses the query parameters of the uri (eg the query part).
parseQuery(String) - Static method in class org.apache.camel.util.URISupport
Parses the query part of the uri (eg the parameters).
parseQuery(String, boolean) - Static method in class org.apache.camel.util.URISupport
Parses the query part of the uri (eg the parameters).
parseQuery(String, boolean, boolean) - Static method in class org.apache.camel.util.URISupport
Parses the query part of the uri (eg the parameters).
parseUri(String) - Static method in class org.apache.camel.util.CamelURIParser
Parses the URI.
pathAndQueryOf(URI) - Static method in class org.apache.camel.util.URISupport
 
poll() - Method in class org.apache.camel.util.concurrent.AsyncCompletionService
 
poll(long, TimeUnit) - Method in class org.apache.camel.util.concurrent.AsyncCompletionService
 
poll() - Method in class org.apache.camel.util.concurrent.SubmitOrderedCompletionService
 
poll(long, TimeUnit) - Method in class org.apache.camel.util.concurrent.SubmitOrderedCompletionService
 
pollUnordered() - Method in class org.apache.camel.util.concurrent.AsyncCompletionService
 
Predicates - Class in org.apache.camel.util.function
Predicate helpers, inspired by http://minborgsjavapot.blogspot.it/2016/03/put-your-java-8-method-references-to.html
prepareQuery(URI) - Static method in class org.apache.camel.util.URISupport
 
prestartAllCoreThreads() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
prestartCoreThread() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
printDuration(Duration) - Static method in class org.apache.camel.util.TimeUtils
 
printDuration(double) - Static method in class org.apache.camel.util.TimeUtils
Prints the duration in a human readable format as X days Y hours Z minutes etc.
printUnitFromBytes(long) - Static method in class org.apache.camel.util.UnitUtils
If having a size in bytes and wanting to print this in human friendly\ format with xx kB, xx MB, xx GB instead of a large byte number.
PropertiesHelper - Class in org.apache.camel.util
 
propertiesOf(String, String, String...) - Static method in class org.apache.camel.util.CollectionHelper
Build a Properties from varargs.
purge() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
put(K1, K2, V) - Method in class org.apache.camel.util.DoubleMap
 
put(Object, Object) - Method in class org.apache.camel.util.OrderedProperties
 
putAll(Map<?, ?>) - Method in class org.apache.camel.util.OrderedProperties
 

Q

quote(String, String) - Static method in class org.apache.camel.util.StringQuoteHelper
Wraps the text in the given quote text

R

RAW_TOKEN_END - Static variable in class org.apache.camel.util.URISupport
 
RAW_TOKEN_PREFIX - Static variable in class org.apache.camel.util.URISupport
 
RAW_TOKEN_START - Static variable in class org.apache.camel.util.URISupport
 
read(BackOff) - Method in class org.apache.camel.util.backoff.BackOff.Builder
Read values from the given BackOff
read() - Method in class org.apache.camel.util.IOHelper.EncodingInputStream
 
ReferenceCount - Class in org.apache.camel.util
 
ReflectionHelper - Class in org.apache.camel.util
Helper for working with reflection on classes.
ReflectionHelper.ClassCallback - Interface in org.apache.camel.util
Action to take on each class.
ReflectionHelper.FieldCallback - Interface in org.apache.camel.util
Callback interface invoked on each field in the hierarchy.
ReflectionHelper.MethodCallback - Interface in org.apache.camel.util
Action to take on each method.
reject() - Method in interface org.apache.camel.util.concurrent.Rejectable
The task was rejected.
reject() - Method in class org.apache.camel.util.concurrent.RejectableFutureTask
 
Rejectable - Interface in org.apache.camel.util.concurrent
Reject executing or processing some task.
RejectableFutureTask<V> - Class in org.apache.camel.util.concurrent
RejectableFutureTask(Callable<V>) - Constructor for class org.apache.camel.util.concurrent.RejectableFutureTask
 
RejectableFutureTask(Runnable, V) - Constructor for class org.apache.camel.util.concurrent.RejectableFutureTask
 
RejectableScheduledThreadPoolExecutor - Class in org.apache.camel.util.concurrent
Scheduled thread pool executor that creates RejectableFutureTask instead of FutureTask when registering new tasks for execution.
RejectableScheduledThreadPoolExecutor(int) - Constructor for class org.apache.camel.util.concurrent.RejectableScheduledThreadPoolExecutor
 
RejectableScheduledThreadPoolExecutor(int, ThreadFactory) - Constructor for class org.apache.camel.util.concurrent.RejectableScheduledThreadPoolExecutor
 
RejectableScheduledThreadPoolExecutor(int, RejectedExecutionHandler) - Constructor for class org.apache.camel.util.concurrent.RejectableScheduledThreadPoolExecutor
 
RejectableScheduledThreadPoolExecutor(int, ThreadFactory, RejectedExecutionHandler) - Constructor for class org.apache.camel.util.concurrent.RejectableScheduledThreadPoolExecutor
 
RejectableThreadPoolExecutor - Class in org.apache.camel.util.concurrent
Thread pool executor that creates RejectableFutureTask instead of FutureTask when registering new tasks for execution.
RejectableThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>) - Constructor for class org.apache.camel.util.concurrent.RejectableThreadPoolExecutor
 
RejectableThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory) - Constructor for class org.apache.camel.util.concurrent.RejectableThreadPoolExecutor
 
RejectableThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, RejectedExecutionHandler) - Constructor for class org.apache.camel.util.concurrent.RejectableThreadPoolExecutor
 
RejectableThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, RejectedExecutionHandler) - Constructor for class org.apache.camel.util.concurrent.RejectableThreadPoolExecutor
 
release() - Method in class org.apache.camel.util.ReferenceCount
Decreases the reference count and invoke onRelease if the reference count reaches 0.
remove(K1, K2) - Method in class org.apache.camel.util.DoubleMap
 
remove() - Method in class org.apache.camel.util.FilterIterator
 
remove(Object) - Method in class org.apache.camel.util.OrderedProperties
 
remove() - Method in class org.apache.camel.util.SkipIterator
 
removeCRLF(String) - Static method in class org.apache.camel.util.StringHelper
Remove carriage return and line feeds from a String, replacing them with an empty String.
removeDir(File) - Static method in class org.apache.camel.util.FileUtil
 
removeLeadingAndEndingQuotes(String) - Static method in class org.apache.camel.util.StringHelper
Removes all leading and ending quotes (single and double) from the string
removeLeadingOperators(String) - Static method in class org.apache.camel.util.OgnlHelper
Removes any leading operators from the Camel OGNL expression.
removeOperators(String) - Static method in class org.apache.camel.util.OgnlHelper
 
removeQuotes(String) - Static method in class org.apache.camel.util.StringHelper
Removes all quotes (single and double) from the string
removeStartingCharacters(String, char) - Static method in class org.apache.camel.util.StringHelper
Removes any starting characters on the given text which match the given character
removeTrailingOperators(String) - Static method in class org.apache.camel.util.OgnlHelper
Removes any trailing operators from the Camel OGNL expression.
renameFile(File, File, boolean) - Static method in class org.apache.camel.util.FileUtil
Renames a file.
renameFileUsingCopy(File, File) - Static method in class org.apache.camel.util.FileUtil
Rename file using copy and delete strategy.
replaceAll(String, String, String) - Static method in class org.apache.camel.util.StringHelper
Replaces all the from tokens in the given input string.
reset() - Method in interface org.apache.camel.util.backoff.BackOffTimer.Task
Reset the task.
reset() - Method in class org.apache.camel.util.IOHelper.EncodingInputStream
 
resolvePath(String) - Static method in class org.apache.camel.util.FilePathResolver
Resolves the path.
resolveRawParameterValues(Map<String, Object>) - Static method in class org.apache.camel.util.URISupport
Traverses the given parameters, and resolve any parameter values which uses the RAW token syntax: key=RAW(value).
resolveThreadName(String, String) - Static method in class org.apache.camel.util.concurrent.ThreadHelper
Creates a new thread name with the given pattern

See org.apache.camel.spi.ExecutorServiceManager#setThreadNamePattern(String) for supported patterns.

restart() - Method in class org.apache.camel.util.StopWatch
Starts or restarts the stop watch
retain() - Method in class org.apache.camel.util.ReferenceCount
Increases the reference count invoke onFirst on the first increment;
run() - Method in interface org.apache.camel.util.function.ThrowingRunnable
Execute an action, potentially throwing an exception.

S

sanitize(String) - Static method in class org.apache.camel.util.StringHelper
Ensures that s is friendly for a URL or file system.
sanitizePath(String) - Static method in class org.apache.camel.util.URISupport
Removes detected sensitive information (such as passwords) from the path part of an URI (that is, the part without the query parameters or component prefix) and returns the result.
sanitizeUri(String) - Static method in class org.apache.camel.util.URISupport
Removes detected sensitive information (such as passwords) from the URI and returns the result.
Scanner - Class in org.apache.camel.util
 
Scanner(InputStream, String, String) - Constructor for class org.apache.camel.util.Scanner
 
Scanner(File, String, String) - Constructor for class org.apache.camel.util.Scanner
 
Scanner(String, String) - Constructor for class org.apache.camel.util.Scanner
 
Scanner(String, Pattern) - Constructor for class org.apache.camel.util.Scanner
 
Scanner(ReadableByteChannel, String, String) - Constructor for class org.apache.camel.util.Scanner
 
Scanner(Readable, String) - Constructor for class org.apache.camel.util.Scanner
 
scanRaw(String) - Static method in class org.apache.camel.util.URISupport
Scans RAW tokens in the string and returns the list of pair indexes which tell where a RAW token starts and ends in the string.
schedule(BackOff, ThrowingFunction<BackOffTimer.Task, Boolean, Exception>) - Method in class org.apache.camel.util.backoff.BackOffTimer
Schedule the given function/task to be executed some time in the future according to the given backOff.
schedule(Callable<V>, long, TimeUnit) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
schedule(Runnable, long, TimeUnit) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
setCorePoolSize(int) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
setDelay(Duration) - Method in class org.apache.camel.util.backoff.BackOff
The delay to wait before retry the operation.
setField(Field, Object, Object) - Static method in class org.apache.camel.util.ReflectionHelper
 
setKeepAliveTime(long, TimeUnit) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
setMaxAttempts(Long) - Method in class org.apache.camel.util.backoff.BackOff
The maximum number of attempts after which the back-off should be considered exhausted and no more attempts should be made.
setMaxDelay(Duration) - Method in class org.apache.camel.util.backoff.BackOff
The maximum back-off time after which the delay is not more increased.
setMaxElapsedTime(Duration) - Method in class org.apache.camel.util.backoff.BackOff
The maximum elapsed time after which the back-off should be considered exhausted and no more attempts should be made.
setMaximumPoolSize(int) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
setMultiplier(Double) - Method in class org.apache.camel.util.backoff.BackOff
The value to multiply the current interval by for each retry attempt.
setPathSeparator(String) - Method in class org.apache.camel.util.AntPathMatcher
Set the path separator to use for pattern parsing.
setRejectedExecutionHandler(RejectedExecutionHandler) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
setSeparator(String) - Method in class org.apache.camel.util.CollectionStringBuffer
Deprecated.
 
setThreadFactory(ThreadFactory) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
shutdown() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
shutdown() - Method in class org.apache.camel.util.concurrent.SynchronousExecutorService
 
shutdownNow() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
shutdownNow() - Method in class org.apache.camel.util.concurrent.SynchronousExecutorService
 
singleQuote(String) - Static method in class org.apache.camel.util.StringQuoteHelper
Returns the text wrapped single quotes
size(Object) - Static method in class org.apache.camel.util.CollectionHelper
Returns the size of the collection if it can be determined to be a collection
size() - Method in class org.apache.camel.util.DoubleMap
 
size() - Method in class org.apache.camel.util.OrderedProperties
 
SizedScheduledExecutorService - Class in org.apache.camel.util.concurrent
A sized ScheduledExecutorService which will reject executing tasks if the task queue is full.
SizedScheduledExecutorService(ScheduledThreadPoolExecutor, long) - Constructor for class org.apache.camel.util.concurrent.SizedScheduledExecutorService
Creates a new sized ScheduledExecutorService with the given queue size as upper task limit.
skip() - Method in class org.apache.camel.util.concurrent.AsyncCompletionService
 
SkipIterator - Class in org.apache.camel.util
Skip based Iterator which skips the given Iterator a number of times.
SkipIterator(Iterator<?>, int) - Constructor for class org.apache.camel.util.SkipIterator
Creates a new skip iterator
splitAsStream(CharSequence, String) - Static method in class org.apache.camel.util.StringHelper
Creates a stream from the given input sequence around matches of the regex
splitOgnl(String) - Static method in class org.apache.camel.util.OgnlHelper
Regular expression with repeating groups is a pain to get right and then nobody understands the reg exp afterwards.
splitOnCharacter(String, String, int) - Static method in class org.apache.camel.util.StringHelper
 
splitSafeQuote(String, char) - Static method in class org.apache.camel.util.StringQuoteHelper
Splits the input safely honoring if values is enclosed in quotes.
splitSafeQuote(String, char, boolean) - Static method in class org.apache.camel.util.StringQuoteHelper
Splits the input safely honoring if values is enclosed in quotes.
splitWords(String) - Static method in class org.apache.camel.util.StringHelper
Split the text on words, eg hello/world => becomes array with hello in index 0, and world in index 1.
startsWithIgnoreCase(String, String) - Static method in class org.apache.camel.util.StringHelper
Does the string starts with the given prefix (ignore case).
StopWatch - Class in org.apache.camel.util
A very simple stop watch.
StopWatch() - Constructor for class org.apache.camel.util.StopWatch
Starts the stop watch
StopWatch(Date) - Constructor for class org.apache.camel.util.StopWatch
Starts the stop watch from the given timestamp
StopWatch(long) - Constructor for class org.apache.camel.util.StopWatch
Starts the stop watch from the given timestamp
StopWatch(boolean) - Constructor for class org.apache.camel.util.StopWatch
Creates the stop watch
stream(Collection<C>) - Static method in class org.apache.camel.util.StreamUtils
Creates a stream on the given collection if it is not null
stream(Map<K, V>) - Static method in class org.apache.camel.util.StreamUtils
Creates a stream of entries on the given Map if it is not null
StreamUtils - Class in org.apache.camel.util
 
StringHelper - Class in org.apache.camel.util
Helper methods for working with Strings.
stringPropertyNames() - Method in class org.apache.camel.util.OrderedProperties
 
StringQuoteHelper - Class in org.apache.camel.util
Utility class for parsing quoted string which is intended for parameters, separated by comma.
stripExt(String) - Static method in class org.apache.camel.util.FileUtil
 
stripExt(String, boolean) - Static method in class org.apache.camel.util.FileUtil
 
stripFirstLeadingSeparator(String) - Static method in class org.apache.camel.util.FileUtil
Strip first leading separator
stripLeadingSeparator(String) - Static method in class org.apache.camel.util.FileUtil
Strip any leading separators
stripPath(String) - Static method in class org.apache.camel.util.FileUtil
Strips any leading paths
stripPrefix(String, String) - Static method in class org.apache.camel.util.URISupport
Strips the prefix from the value.
stripSuffix(String, String) - Static method in class org.apache.camel.util.URISupport
Strips the suffix from the value.
stripTrailingSeparator(String) - Static method in class org.apache.camel.util.FileUtil
Strip any trailing separators
submit(Consumer<Consumer<V>>) - Method in class org.apache.camel.util.concurrent.AsyncCompletionService
 
submit(Callable<T>) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
submit(Runnable) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
submit(Runnable, T) - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
submit(Callable<V>) - Method in class org.apache.camel.util.concurrent.SubmitOrderedCompletionService
 
submit(Runnable, Object) - Method in class org.apache.camel.util.concurrent.SubmitOrderedCompletionService
 
SubmitOrderedCompletionService<V> - Class in org.apache.camel.util.concurrent
A CompletionService that orders the completed tasks in the same order as they where submitted.
SubmitOrderedCompletionService(Executor) - Constructor for class org.apache.camel.util.concurrent.SubmitOrderedCompletionService
 
Suppliers - Class in org.apache.camel.util.function
 
supplyIfEmpty(T, Supplier<T>) - Static method in class org.apache.camel.util.ObjectHelper
Tests whether the value is null, an empty string, an empty collection or a map
supplyWithReadLock(StampedLock, Supplier<R>) - Static method in class org.apache.camel.util.concurrent.LockHelper
 
supplyWithReadLockT(StampedLock, ThrowingSupplier<R, T>) - Static method in class org.apache.camel.util.concurrent.LockHelper
 
supplyWithWriteLock(StampedLock, Supplier<R>) - Static method in class org.apache.camel.util.concurrent.LockHelper
 
supplyWithWriteLockT(StampedLock, ThrowingSupplier<R, T>) - Static method in class org.apache.camel.util.concurrent.LockHelper
 
SynchronousExecutorService - Class in org.apache.camel.util.concurrent
A synchronous ExecutorService which always invokes the task in the caller thread (just a thread pool facade).
SynchronousExecutorService() - Constructor for class org.apache.camel.util.concurrent.SynchronousExecutorService
 

T

take() - Method in class org.apache.camel.util.concurrent.AsyncCompletionService
 
take() - Method in class org.apache.camel.util.concurrent.SubmitOrderedCompletionService
 
taken() - Method in class org.apache.camel.util.StopWatch
Returns the time taken in millis.
ThreadHelper - Class in org.apache.camel.util.concurrent
Various helper method for thread naming.
ThreadPoolRejectedPolicy - Enum in org.apache.camel.util.concurrent
Represent the kinds of options for rejection handlers for thread pools.
ThrowingBiConsumer<I1,I2,T extends Throwable> - Interface in org.apache.camel.util.function
Represents an operation that accepts two input arguments and returns no result and may thrown an exception.
ThrowingBiFunction<I1,I2,R,T extends Throwable> - Interface in org.apache.camel.util.function
Represents a function that accepts two arguments, produces a result and may thrown an exception.
ThrowingConsumer<I,T extends Throwable> - Interface in org.apache.camel.util.function
Represents an operation that accepts a single input argument and may thrown an exception.
ThrowingFunction<I,R,T extends Throwable> - Interface in org.apache.camel.util.function
Represents a function that accepts a single arguments, produces a result and may thrown an exception.
ThrowingHelper - Class in org.apache.camel.util.function
 
ThrowingRunnable<T extends Throwable> - Interface in org.apache.camel.util.function
Represents a Runnable like interface that may thrown an exception.
ThrowingSupplier<V,T extends Throwable> - Interface in org.apache.camel.util.function
Represents a supplier of results that may thrown an exception.
ThrowingToLongFunction<I,T extends Throwable> - Interface in org.apache.camel.util.function
Represents a function that produces a long-valued result and may thrown an exception.
ThrowingTriConsumer<I1,I2,I3,T extends Throwable> - Interface in org.apache.camel.util.function
Represents an operation that accepts three input arguments and returns no result and may thrown an exception.
timeoutTask() - Method in class org.apache.camel.util.concurrent.SubmitOrderedCompletionService
Marks the current task as timeout, which allows you to poll the next tasks which may already have been completed.
TimeUtils - Class in org.apache.camel.util
Time utils.
toBoolean(Object) - Static method in class org.apache.camel.util.ObjectHelper
 
toDuration(String) - Static method in class org.apache.camel.util.TimeUtils
 
toInputStream(File, String) - Static method in class org.apache.camel.util.IOHelper
Converts the given File with the given charset to InputStream with the JVM default charset
toJson(String, String, boolean) - Static method in class org.apache.camel.util.StringHelper
Creates a json tuple with the given name/value pair.
tokenizeToStringArray(String, String) - Static method in class org.apache.camel.util.AntPathMatcher
Tokenize the given String into a String array via a StringTokenizer.
toMilliSeconds(String) - Static method in class org.apache.camel.util.TimeUtils
 
toOriginalInputStream() - Method in class org.apache.camel.util.IOHelper.EncodingInputStream
 
toReader(File, String) - Static method in class org.apache.camel.util.IOHelper
 
toString() - Method in class org.apache.camel.util.backoff.BackOff
 
toString() - Method in class org.apache.camel.util.CollectionStringBuffer
Deprecated.
 
toString() - Method in class org.apache.camel.util.concurrent.CamelThreadFactory
 
toString() - Method in class org.apache.camel.util.concurrent.RejectableScheduledThreadPoolExecutor
 
toString() - Method in class org.apache.camel.util.concurrent.RejectableThreadPoolExecutor
 
toString() - Method in class org.apache.camel.util.concurrent.SizedScheduledExecutorService
 
toString(Reader) - Static method in class org.apache.camel.util.IOHelper
 
toString(BufferedReader) - Static method in class org.apache.camel.util.IOHelper
 
toString() - Method in class org.apache.camel.util.KeyValueHolder
 
toString() - Method in class org.apache.camel.util.OrderedProperties
 
toString() - Method in class org.apache.camel.util.Pair
 
toWriter(FileOutputStream, String) - Static method in class org.apache.camel.util.IOHelper
 
transfer(ReadableByteChannel, WritableByteChannel) - Static method in class org.apache.camel.util.IOHelper
 
TriConsumer<I1,I2,I3> - Interface in org.apache.camel.util.function
Represents an operation that accepts three input arguments and returns no result.
trimToNull(String) - Static method in class org.apache.camel.util.StringHelper
Removes the leading and trailing whitespace and if the resulting string is empty returns null.
type(Object) - Static method in class org.apache.camel.util.ObjectHelper
Returns the type of the given object or null if the value is null

U

UnitUtils - Class in org.apache.camel.util
Unit utils.
unmodifiableMap(Map<K, V>) - Static method in class org.apache.camel.util.CollectionHelper
Build an unmodifiable map on top of a given map.
UnsafeUriCharactersEncoder - Class in org.apache.camel.util
Encoder for unsafe URI characters.
URISupport - Class in org.apache.camel.util
URI utilities.

V

validateCharset(String) - Static method in class org.apache.camel.util.IOHelper
 
validateMethodName(String) - Static method in class org.apache.camel.util.OgnlHelper
Validates whether the method name is using valid java identifiers in the name Will throw IllegalArgumentException if the method name is invalid.
valueOf(String) - Static method in enum org.apache.camel.util.backoff.BackOffTimer.Task.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.camel.util.backoff.BackOffTimer.Task.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.apache.camel.util.OrderedProperties
 

W

whenComplete(BiConsumer<BackOffTimer.Task, Throwable>) - Method in interface org.apache.camel.util.backoff.BackOffTimer.Task
Action to execute when the context is completed (cancelled or exhausted)
wrapAsBiConsumer(ThrowingBiConsumer<I1, I2, T>) - Static method in class org.apache.camel.util.function.ThrowingHelper
Wrap a ThrowingBiConsumer to a standard BiConsumer by throwing a RuntimeException in case of an exception is thrown by the delegated consumer.
wrapAsConsumer(ThrowingConsumer<I, T>) - Static method in class org.apache.camel.util.function.ThrowingHelper
Wrap a ThrowingConsumer to a standard Consumer by throwing a RuntimeException in case of an exception is thrown by the delegated consumer.
wrapAsFunction(ThrowingFunction<I, R, T>) - Static method in class org.apache.camel.util.function.ThrowingHelper
Wrap a ThrowingFunction to a standard Function by throwing a RuntimeException in case of an exception is thrown by the delegated function.
wrapAsSupplier(ThrowingSupplier<V, T>) - Static method in class org.apache.camel.util.function.ThrowingHelper
Wrap a ThrowingSupplier to a standard Suppliers by throwing a RuntimeException in case of an exception is thrown by the delegated supplier.
wrapRuntimeCamelException(Throwable) - Static method in class org.apache.camel.util.ObjectHelper
Deprecated.
Use org.apache.camel.RuntimeCamelException#wrapRuntimeCamelException instead

X

xmlEncode(String) - Static method in class org.apache.camel.util.StringHelper
Encodes the text into safe XML by replacing < > and & with XML tokens
A B C D E F G H I J K L M N O P Q R S T U V W X 

Apache Camel