Package org.jivesoftware.smack.util
package org.jivesoftware.smack.util
Utility classes.
-
ClassDescriptionLike ArrayBlockingQueue but with additional
ArrayBlockingQueueWithShutdown.shutdown()andArrayBlockingQueueWithShutdown.start()methods.LikeRunnable, but allows therunOrThrow()method to throw an exception.CallbackRecipient<V,E> Extends aHashMapwithWeakReferencevalues, so that weak references which have been cleared are periodically removed from the map.Consumer<T>Utility class to perform DNS lookups for XMPP services.EventManger<K,R, E extends Exception> The event manager class is used to perform actions and wait for an event, which is usually caused by the action (or maybe never occurs).EventManger.Callback<E extends Exception>Function<R,T> An internet address, can be given as IP or as DNS name.MultiMap<K,V> A lightweight implementation of a MultiMap, that is a Map that is able to hold multiple values for every key.An ObservableReader is a wrapper on a Reader that notifies to its listeners when reading character streams.An ObservableWriter is a wrapper on a Writer that notifies to its listeners when writing to character streams.Utility class that helps to parse packets.Pair<F,S> Predicate<T>Interface that allows for implementing classes to listen for string reading events.A collection of utility methods for String objects.Supplier<T>AX509TrustManagerthat doesn't validate X.509 certificates.Interface that allows for implementing classes to listen for string writing events.