Package org.littleshoot.util

Interface Summary
BufferReader Utility interface for reading buffers.
CandidateProvider<T> Interface providing candidates for any potential use.
Closure<T> A closure.
CollectionUtils Collection utilities.
ConnectionEstablisher<T,ServerT> The interface to an object responsible for establishing connections to servers.
ConnectionMaintainer<T> The interface to an object that robustly maintains connections to a number of servers.
ConnectionMaintainerListener<T> A listener that is notified of changes to connection status given by a connection maintainer.
DefaultHttpClient Default HTTP client class that simply resets HTTP protocol handlers to their defaults.
F1<T,ReturnT> A one-argument function.
F2<T0,T1,ReturnT> A two-argument function.
InputStreamHandler Utility interface for any class that wants to customize handling of an InputStream.
KeyStorage Interface for classes that store secret keys.
LockedFileProcessor Interface for classes that process files that need to be locked during processing.
LockedFileReader Interface for classes that read locked files.
LockedFileRunner Utility interface for executing methods with a lock on a file.
LongRangeListener Interface for listeners for range availability.
MimeType Interface for classes that can determine the MIME type of a file name.
None<T> The optional object representing no object.
ObjectRef An object reference.
Optional<T> An optional object.
OptionalUtils Utilities for working with Optional objects.
OptionalVisitor<ReturnT,T> A visitor for an optional object.
Pair<T1,T2> A pair of objects.
Predicate<T> A predicate.
PublicIp Interface for classes determining our public IP address.
ResourceTypeTranslator Interface for classes that can determine resource types based on different criteria.
SessionSocketListener General interface for classes that handle sockets with IDs.
SocketListener General interface for classes that handle sockets.
Some<T> An optional object representing some object, meaning not none.
SrvUtil  
StringListener Utility interface for string callbacks.
Transformer<T1,T2> An interface to an object that can transform one object into another.
WriteListener Utility class for listening to write events.
 

Class Summary
ArrayUtil Utilities for working with arrays.
Base32 Base32 - encodes and decodes 'Canonical' Base32
Base64 Encodes and decodes to and from Base64 notation.
Base64.InputStream A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
BeanUtils Java bean utilities class.
BitUtils Utility methods for bit twiddling.
ByteBufferUtils Utility class for manipulating ByteBuffers.
CipherSocket Encrypting and decrypting and HMAC verifying socket.
CollectionUtilsImpl An implementation of the collection utilities interface.
CommonUtils General utilities specific to LittleShoot.
ConnectionMaintainerImpl<T,ServerT> An implementation of the connection maintainer interface.
DaemonThread Specialized Thread subclass that's a daemon thread by default.
DaemonThreadFactory A thread factory that creates daemon threads.
DateUtils Date utility functions.
DeadlockSupport Simple class to help monitor deadlocking.
DecryptingInputStream InputStream that decodes incoming data that's encrypted with the given key and that includes a SHA-256 MAC.
DefaultHttpClientImpl Class for keeping track of HttpClient connections created.
DnsSrvCandidateProvider Candidate provider that uses native commands to lookup SRV records.
DnsUtil Utility class for making DNS queries.
EncryptingOutputStream An output stream that write encrypted records whose integrity is verified with a SHA-256 MAC.
FileInputStreamHandler Utility class that writes data from an InputStream to a File.
FileLockUtils Utility methods for dealing with file locks.
FileUtils This class provides static functions to load/store the files.
FiveTuple This is a 5 tuple consisting of a local address and port, a remote address and port, and the network protocol in use.
HttpParamKeys  
HttpUtils  
InputRecord Encapsulates a single record of encrypted input data.
IoUtils Utility functions for IO.
ITunesUtils Utilities for iTunes.
JmxUtils Class providing utility methods for JMX.
LockedFileProcessorImpl Utility class that uses a control lock file to check permission for reading a data file.
LockedFileWatcher Utility class for detecting file changes.
MapUtils Utilities for common reader/writer functions.
NativeUtils Utilities for native calls.
NetworkUtils Network utilities methods.
NoneImpl<T> An implementation of the None interface.
NoOpInputStreamHandler Class that does nothing when passed an InputStream to process.
NoOpWriteListener Write listener that does nothing on write events.
NumberUtils Number utility class.
ObjectRefImpl An implementation of the ObjectRef interface.
OptionalUtilsImpl An implementation of the OptionalUtils interface.
PairImpl<T1,T2> An implementation of the pair interface.
RelayingSocketHandler Socket handler that simply relays data to a server socket.
ResettingMultiThreadedHttpConnectionManager This is a connection manager that just resets HTTP and HTTPS protocol handling back to the default.
ResourceTypeTranslatorImpl Class for determining the type of resources.
RuntimeExceptionPair A pairing of a checked exception and its runtime wrapper.
SecurityUtils Utility methods for security.
Sha1 The FIPS PUB 180-2 standard specifies four secure hash algorithms (SHA-1, SHA-256, SHA-384 and SHA-512) for computing a condensed representation of electronic data (message).
Sha1Hasher Utility class for generating SHA-1 file hashes.
ShootConstants App-wide constants.
SomeImpl<T> An implementation of the Some interface.
SrvCandidateProvider Generic class for accessing "candidate" URLs for a service to use that performs lookups using DNS SRV records.
SrvUtilImpl Utility method for accessing DNS SRV records.
StringUtils String utility methods not supplied in other string utility library classes.
ThreadUtils An implementation of the thread utilities interface.
TimeUtils Utility methods for times.
Unsigned Utility class to get and put unsigned values to a ByteBuffer object.
UriUtils URI manipulation utilities and helpers class.
WindowsRegistry Utility class for reading from the registry.
 

Enum Summary
FiveTuple.Protocol  
 

Exception Summary
IoExceptionWithCause An IOException that allows you to set the cause the constructor.
NotYetImplementedException An exception indicating that some functionality has not yet implemented.
RuntimeConnectException A runtime wrapper around an ConnectException.
RuntimeFileNotFoundException A runtime wrapper around a FileNotFoundException.
RuntimeIoException A runtime wrapper around an IOException.
RuntimeSocketException A runtime wrapper around an SocketException.
RuntimeSocketTimeoutException A runtime wrapper around an SocketTimeoutException.
RuntimeUriSyntaxException A runtime version of the URISyntaxException.
SocketExceptionWithCause A SocketException that allows you to set the cause the constructor.
SocketTimeoutExceptionWithCause A SocketTimeoutException that allows you to set the cause the constructor.
 



Copyright © 2011-2013 LittleShoot. All Rights Reserved.