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

A

accept(OptionalVisitor<ReturnT, T>) - Method in class org.littleshoot.util.NoneImpl
Accepts a visitor to this optional object.
accept(OptionalVisitor<ReturnT, T>) - Method in interface org.littleshoot.util.Optional
Accepts a visitor to this optional object.
accept(OptionalVisitor<ReturnT, T>) - Method in class org.littleshoot.util.SomeImpl
Accepts a visitor to this optional object.
addAudioFile(File) - Static method in class org.littleshoot.util.ITunesUtils
Adds the specified audio file to iTunes if we're on OSX.
addData(ByteBuffer) - Method in class org.littleshoot.util.InputRecord
 
addTray(Image, String, PopupMenu) - Static method in class org.littleshoot.util.NativeUtils
Adds a tray icon using reflection.
API_PORT - Static variable in class org.littleshoot.util.ShootConstants
The port we run HTTP over for the API.
appendParam(String, String, String) - Static method in class org.littleshoot.util.UriUtils
 
APPLICATION_TYPE - Static variable in class org.littleshoot.util.ResourceTypeTranslatorImpl
 
APPLICATIONS - Static variable in class org.littleshoot.util.HttpParamKeys
 
ARCHIVE_TYPE - Static variable in class org.littleshoot.util.ResourceTypeTranslatorImpl
 
ArrayUtil - Class in org.littleshoot.util
Utilities for working with arrays.
ArrayUtil() - Constructor for class org.littleshoot.util.ArrayUtil
 
AUDIO - Static variable in class org.littleshoot.util.HttpParamKeys
 
AUDIO_TYPE - Static variable in class org.littleshoot.util.ResourceTypeTranslatorImpl
 
available() - Method in class org.littleshoot.util.DecryptingInputStream
Return the minimum number of bytes that can be read without blocking.

B

Base32 - Class in org.littleshoot.util
Base32 - encodes and decodes 'Canonical' Base32
Base32() - Constructor for class org.littleshoot.util.Base32
 
Base64 - Class in org.littleshoot.util
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in org.littleshoot.util
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.InputStream(InputStream) - Constructor for class org.littleshoot.util.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class org.littleshoot.util.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in org.littleshoot.util
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.
Base64.OutputStream(OutputStream) - Constructor for class org.littleshoot.util.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class org.littleshoot.util.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.
BASE_DOMAIN - Static variable in class org.littleshoot.util.ShootConstants
 
BeanUtils - Class in org.littleshoot.util
Java bean utilities class.
bind(SocketAddress) - Method in class org.littleshoot.util.CipherSocket
 
BitUtils - Class in org.littleshoot.util
Utility methods for bit twiddling.
BitUtils() - Constructor for class org.littleshoot.util.BitUtils
 
BufferReader - Interface in org.littleshoot.util
Utility interface for reading buffers.
BUGS_URL - Static variable in class org.littleshoot.util.ShootConstants
URL for the bugs server.
byteArrayToInteger(byte[]) - Static method in class org.littleshoot.util.BitUtils
 
byteArrayToInteger(byte[], int) - Static method in class org.littleshoot.util.BitUtils
 
byteArrayToLong(byte[]) - Static method in class org.littleshoot.util.BitUtils
 
byteArrayToLong(byte[], int) - Static method in class org.littleshoot.util.BitUtils
 
ByteBufferUtils - Class in org.littleshoot.util
Utility class for manipulating ByteBuffers.
ByteBufferUtils() - Constructor for class org.littleshoot.util.ByteBufferUtils
 

C

callWithLock(File, LockedFileRunner) - Static method in class org.littleshoot.util.FileLockUtils
Calls the specified Runnable only when a lock is obtained on the specified file.
callWithLock(File, LockedFileRunner, boolean) - Static method in class org.littleshoot.util.FileLockUtils
Calls the specified Runnable only when a lock is obtained on the specified file.
callWithLock(FileChannel) - Method in interface org.littleshoot.util.LockedFileRunner
Allows an implementation to operation on the given file channel with assurance that we hold the lock on the file.
CandidateProvider<T> - Interface in org.littleshoot.util
Interface providing candidates for any potential use.
checked() - Method in class org.littleshoot.util.RuntimeExceptionPair
Returns the checked exception that is wrapped.
CipherSocket - Class in org.littleshoot.util
Encrypting and decrypting and HMAC verifying socket.
CipherSocket(Socket, byte[], byte[]) - Constructor for class org.littleshoot.util.CipherSocket
 
clone() - Method in class org.littleshoot.util.Sha1
Clones this object.
close() - Method in class org.littleshoot.util.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
close() - Method in class org.littleshoot.util.CipherSocket
 
close() - Method in class org.littleshoot.util.DecryptingInputStream
 
close() - Method in class org.littleshoot.util.EncryptingOutputStream
 
Closure<T> - Interface in org.littleshoot.util
A closure.
CollectionUtils - Interface in org.littleshoot.util
Collection utilities.
CollectionUtilsImpl - Class in org.littleshoot.util
An implementation of the collection utilities interface.
CollectionUtilsImpl() - Constructor for class org.littleshoot.util.CollectionUtilsImpl
 
combine(Collection<ByteBuffer>) - Static method in class org.littleshoot.util.ByteBufferUtils
Combines the remaining data from the given Collection of ByteBuffers into a single consolidated ByteBuffer.
combine(byte[]...) - Static method in class org.littleshoot.util.CommonUtils
Combines the specified arrays into a single array.
combine(Collection<byte[]>) - Static method in class org.littleshoot.util.CommonUtils
Combines the specified arrays into a single array.
CommonUtils - Class in org.littleshoot.util
General utilities specific to LittleShoot.
connect(SocketAddress, int) - Method in class org.littleshoot.util.CipherSocket
 
connect(SocketAddress) - Method in class org.littleshoot.util.CipherSocket
 
connected(T) - Method in interface org.littleshoot.util.ConnectionMaintainerListener
Called on a successful connection.
ConnectionEstablisher<T,ServerT> - Interface in org.littleshoot.util
The interface to an object responsible for establishing connections to servers.
connectionFailed() - Method in interface org.littleshoot.util.ConnectionMaintainerListener
Called on a failed attempt at connection.
ConnectionMaintainer<T> - Interface in org.littleshoot.util
The interface to an object that robustly maintains connections to a number of servers.
ConnectionMaintainerImpl<T,ServerT> - Class in org.littleshoot.util
An implementation of the connection maintainer interface.
ConnectionMaintainerImpl(ConnectionEstablisher<T, ServerT>, CandidateProvider<T>, int) - Constructor for class org.littleshoot.util.ConnectionMaintainerImpl
Constructs a new connection maintainer.
ConnectionMaintainerListener<T> - Interface in org.littleshoot.util
A listener that is notified of changes to connection status given by a connection maintainer.
copy(InputStream, OutputStream, WriteListener) - Static method in class org.littleshoot.util.IoUtils
Copy bytes from an InputStream to an OutputStream.
copy(InputStream, OutputStream, long) - Static method in class org.littleshoot.util.IoUtils
Copies the InputStream to the specified OutputStream for the specified number of bytes or until EOF or exception.
copy(InputStream, RandomAccessFile, long, long) - Static method in class org.littleshoot.util.IoUtils
Copy method for copying data from an InputStream to a RandomAccessFile.
copy(InputStream, RandomAccessFile, long, long, LongRangeListener, WriteListener) - Static method in class org.littleshoot.util.IoUtils
Copy method for copying data from an InputStream to a RandomAccessFile.
createHttpDate() - Static method in class org.littleshoot.util.DateUtils
Generate an RFC 822 date for use in the Date HTTP header.
createSha1Urn(File) - Static method in class org.littleshoot.util.Sha1Hasher
Create a new SHA1 hash URI for the specified file on disk.
createSha1Urn(byte[]) - Static method in class org.littleshoot.util.Sha1Hasher
Create a new SHA1 hash URI for the specified ByteBuffer.
createSha1Urn(ByteBuffer) - Static method in class org.littleshoot.util.Sha1Hasher
Create a new SHA1 hash URI for the specified ByteBuffer.
createSha1Urn(InputStream) - Static method in class org.littleshoot.util.Sha1Hasher
Create a new SHA1 hash URI for the specified InputStream.
createSha1Urn(InputStream, MessageDigest) - Static method in class org.littleshoot.util.Sha1Hasher
Create a new SHA1 hash URI for the specified InputStream.

D

DaemonThread - Class in org.littleshoot.util
Specialized Thread subclass that's a daemon thread by default.
DaemonThread() - Constructor for class org.littleshoot.util.DaemonThread
Creates a new daemon thread.
DaemonThread(String) - Constructor for class org.littleshoot.util.DaemonThread
Creates a new daemon thread.
DaemonThread(Runnable) - Constructor for class org.littleshoot.util.DaemonThread
Creates a new daemon thread.
DaemonThread(Runnable, String) - Constructor for class org.littleshoot.util.DaemonThread
Creates a new daemon thread.
DaemonThreadFactory - Class in org.littleshoot.util
A thread factory that creates daemon threads.
DaemonThreadFactory(String) - Constructor for class org.littleshoot.util.DaemonThreadFactory
Creates a new daemon thread factory.
DateUtils - Class in org.littleshoot.util
Date utility functions.
DateUtils() - Constructor for class org.littleshoot.util.DateUtils
 
DeadlockSupport - Class in org.littleshoot.util
Simple class to help monitor deadlocking.
DeadlockSupport() - Constructor for class org.littleshoot.util.DeadlockSupport
 
decode(String) - Static method in class org.littleshoot.util.Base32
 
DECODE - Static variable in class org.littleshoot.util.Base64
Specify decoding.
decode(byte[], int, int) - Static method in class org.littleshoot.util.Base64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.littleshoot.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeAllMessages(byte[], byte[]) - Static method in class org.littleshoot.util.CommonUtils
 
decodeBase64(String) - Static method in class org.littleshoot.util.CommonUtils
 
decodeFromFile(String) - Static method in class org.littleshoot.util.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeSingleMessage(byte[], byte[]) - Static method in class org.littleshoot.util.CommonUtils
 
decodeSingleMessage(byte[], byte[], AtomicInteger) - Static method in class org.littleshoot.util.CommonUtils
 
decodeToFile(String, String) - Static method in class org.littleshoot.util.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.littleshoot.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
DecryptingInputStream - Class in org.littleshoot.util
InputStream that decodes incoming data that's encrypted with the given key and that includes a SHA-256 MAC.
DecryptingInputStream(byte[], InputStream) - Constructor for class org.littleshoot.util.DecryptingInputStream
Creates a new stream that decrypts data from the encapsulated stream.
DefaultHttpClient - Interface in org.littleshoot.util
Default HTTP client class that simply resets HTTP protocol handlers to their defaults.
DefaultHttpClientImpl - Class in org.littleshoot.util
Class for keeping track of HttpClient connections created.
DefaultHttpClientImpl(HttpConnectionManager) - Constructor for class org.littleshoot.util.DefaultHttpClientImpl
Creates a new manager using a custom HttpConnectionManager instance.
DefaultHttpClientImpl() - Constructor for class org.littleshoot.util.DefaultHttpClientImpl
Creates a new manager.
deflate(String) - Static method in class org.littleshoot.util.IoUtils
 
disconnected() - Method in interface org.littleshoot.util.ConnectionMaintainerListener
Called when we are disconnected.
DnsSrvCandidateProvider - Class in org.littleshoot.util
Candidate provider that uses native commands to lookup SRV records.
DnsSrvCandidateProvider(String) - Constructor for class org.littleshoot.util.DnsSrvCandidateProvider
Creates a new DNS candidate provider with the specified SRV name to lookup.
DnsUtil - Class in org.littleshoot.util
Utility class for making DNS queries.
DnsUtil() - Constructor for class org.littleshoot.util.DnsUtil
 
DOCUMENT_TYPE - Static variable in class org.littleshoot.util.ResourceTypeTranslatorImpl
 
DOCUMENTS - Static variable in class org.littleshoot.util.HttpParamKeys
 
DONT_BREAK_LINES - Static variable in class org.littleshoot.util.Base64
Don't break lines when encoding (violates strict Base64 specification)
drainData(byte[], int, int) - Method in class org.littleshoot.util.InputRecord
 
dumpStack() - Static method in class org.littleshoot.util.ThreadUtils
Returns the stack trace as a string.
dumpStack(Throwable) - Static method in class org.littleshoot.util.ThreadUtils
Returns the stack trace as a string.

E

EMPTY_NODE_LIST - Static variable in class org.littleshoot.util.xml.XmlUtils
Empty list of XML nodes.
encode(byte[]) - Static method in class org.littleshoot.util.Base32
 
ENCODE - Static variable in class org.littleshoot.util.Base64
Specify encoding.
encode(byte[], byte[], int, int) - Static method in class org.littleshoot.util.CommonUtils
 
encodeBytes(byte[]) - Static method in class org.littleshoot.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class org.littleshoot.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class org.littleshoot.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class org.littleshoot.util.Base64
Encodes a byte array into Base64 notation.
encodeFromFile(String) - Static method in class org.littleshoot.util.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class org.littleshoot.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.littleshoot.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeSingleMessage(byte[], byte[], int, int) - Static method in class org.littleshoot.util.CommonUtils
 
encodeToFile(byte[], String) - Static method in class org.littleshoot.util.Base64
Convenience method for encoding data to a file.
EncryptingOutputStream - Class in org.littleshoot.util
An output stream that write encrypted records whose integrity is verified with a SHA-256 MAC.
EncryptingOutputStream(byte[], OutputStream) - Constructor for class org.littleshoot.util.EncryptingOutputStream
Creates a new encrypting output stream that uses the specified key.
engineDigest() - Method in class org.littleshoot.util.Sha1
Completes the hash computation by performing final operations such as padding.
engineDigest(byte[], int, int) - Method in class org.littleshoot.util.Sha1
Completes the hash computation by performing final operations such as padding.
engineGetDigestLength() - Method in class org.littleshoot.util.Sha1
Returns the digest length in bytes.
engineReset() - Method in class org.littleshoot.util.Sha1
Reset athen initialize the digest context.
engineUpdate(byte) - Method in class org.littleshoot.util.Sha1
Updates the digest using the specified byte.
engineUpdate(byte[], int, int) - Method in class org.littleshoot.util.Sha1
Updates the digest using the specified array of bytes, starting at the specified offset.
equals(Object) - Method in class org.littleshoot.util.FiveTuple
 
equals(Object) - Method in class org.littleshoot.util.NoneImpl
equals(Object) - Method in class org.littleshoot.util.PairImpl
equals(Object) - Method in class org.littleshoot.util.SomeImpl
establish(T, ConnectionMaintainerListener<ServerT>) - Method in interface org.littleshoot.util.ConnectionEstablisher
Establishes a connection to a given server.
evaluate(T) - Method in interface org.littleshoot.util.Predicate
Evaluates an object to a boolean value.
execute(T) - Method in interface org.littleshoot.util.Closure
Executes this closure on a given object.
executeMethod(HttpMethod) - Method in interface org.littleshoot.util.DefaultHttpClient
 
executeMethod(HttpMethod) - Method in class org.littleshoot.util.DefaultHttpClientImpl
 
executeOnSome(Optional<T>, Closure<T>) - Method in interface org.littleshoot.util.OptionalUtils
Executes a given closure on an optional object.
executeOnSome(Optional<T>, Closure<T>) - Method in class org.littleshoot.util.OptionalUtilsImpl
Executes a given closure on an optional object.

F

F1<T,ReturnT> - Interface in org.littleshoot.util
A one-argument function.
F2<T0,T1,ReturnT> - Interface in org.littleshoot.util
A two-argument function.
FileInputStreamHandler - Class in org.littleshoot.util
Utility class that writes data from an InputStream to a File.
FileInputStreamHandler(File) - Constructor for class org.littleshoot.util.FileInputStreamHandler
Creates a new stream handler that will write the InputStream to the specified File.
FileInputStreamHandler(File, WriteListener) - Constructor for class org.littleshoot.util.FileInputStreamHandler
Creates a new stream handler that will write the InputStream to the specified File.
FileLockUtils - Class in org.littleshoot.util
Utility methods for dealing with file locks.
FILES_PORT - Static variable in class org.littleshoot.util.ShootConstants
The port we allow file requests over.
FileUtils - Class in org.littleshoot.util
This class provides static functions to load/store the files.
filterNones(Collection<Optional<T>>) - Method in interface org.littleshoot.util.OptionalUtils
Filters out the None elements in a collection and returns a collection of the objects inside the remaining Some elements.
filterNones(Collection<Optional<T>>) - Method in class org.littleshoot.util.OptionalUtilsImpl
Filters out the None elements in a collection and returns a collection of the objects inside the remaining Some elements.
FiveTuple - Class in org.littleshoot.util
This is a 5 tuple consisting of a local address and port, a remote address and port, and the network protocol in use.
FiveTuple(InetSocketAddress, InetSocketAddress, FiveTuple.Protocol) - Constructor for class org.littleshoot.util.FiveTuple
 
FiveTuple.Protocol - Enum in org.littleshoot.util
 
flushBase64() - Method in class org.littleshoot.util.Base64.OutputStream
Method added by PHIL.
foldl(F2<T2, T1, T2>, T2, Collection<? extends T1>) - Method in interface org.littleshoot.util.CollectionUtils
Left-associative fold function.
foldl(F2<T2, T1, T2>, T2, Collection<? extends T1>) - Method in class org.littleshoot.util.CollectionUtilsImpl
Left-associative fold function.
forAllDo(Collection<? extends T>, Closure<T>) - Method in interface org.littleshoot.util.CollectionUtils
Executes the specified Closure on all elements of the Collection.
forAllDo(Collection<? extends T>, Closure<T>) - Method in class org.littleshoot.util.CollectionUtilsImpl
Executes the specified Closure on all elements of the Collection.
forAllDoSynchronized(Collection<? extends T>, Closure<T>) - Method in interface org.littleshoot.util.CollectionUtils
Executes the specified Closure on all elements of the Collection.
forAllDoSynchronized(Collection<? extends T>, Closure<T>) - Method in class org.littleshoot.util.CollectionUtilsImpl
Executes the specified Closure on all elements of the Collection.
FREE_RESULT_LIMIT - Static variable in class org.littleshoot.util.CommonUtils
The maximum number of search results for a single source for the free version.

G

generateBase64Key() - Static method in class org.littleshoot.util.CommonUtils
 
generateKey() - Static method in class org.littleshoot.util.CommonUtils
 
get(String) - Method in interface org.littleshoot.util.DefaultHttpClient
 
get(String) - Method in class org.littleshoot.util.DefaultHttpClientImpl
 
getAddress(String) - Method in interface org.littleshoot.util.SrvUtil
 
getAddress(String) - Method in class org.littleshoot.util.SrvUtilImpl
 
getAddresses(String) - Method in interface org.littleshoot.util.SrvUtil
 
getAddresses(String) - Method in class org.littleshoot.util.SrvUtilImpl
 
getARecords(String) - Method in class org.littleshoot.util.DnsUtil
 
getCandidate() - Method in interface org.littleshoot.util.CandidateProvider
Accessor for a single candidate.
getCandidate() - Method in class org.littleshoot.util.DnsSrvCandidateProvider
 
getCandidate() - Method in class org.littleshoot.util.SrvCandidateProvider
 
getCandidates() - Method in interface org.littleshoot.util.CandidateProvider
Accessor for the Collection of candidates for the task at hand.
getCandidates() - Method in class org.littleshoot.util.DnsSrvCandidateProvider
 
getCandidates() - Method in class org.littleshoot.util.SrvCandidateProvider
 
getChannel() - Method in class org.littleshoot.util.CipherSocket
 
getCnamRecords(String) - Method in class org.littleshoot.util.DnsUtil
 
getConnectedServers() - Method in interface org.littleshoot.util.ConnectionMaintainer
Returns a collection of the servers that are currently connected.
getConnectedServers() - Method in class org.littleshoot.util.ConnectionMaintainerImpl
 
getConnection(HostConfiguration) - Method in class org.littleshoot.util.ResettingMultiThreadedHttpConnectionManager
 
getConnectionWithTimeout(HostConfiguration, long) - Method in class org.littleshoot.util.ResettingMultiThreadedHttpConnectionManager
 
getDataDir() - Static method in class org.littleshoot.util.CommonUtils
Gets the directory to use for LittleShoot data.
getFirst() - Method in interface org.littleshoot.util.Pair
Returns the first object in the pair.
getFirst() - Method in class org.littleshoot.util.PairImpl
Returns the first object in the pair.
getHexdump(ByteBuffer) - Static method in class org.littleshoot.util.ByteBufferUtils
Utility method for dumping a buffer in hex.
getHostConfiguration() - Method in interface org.littleshoot.util.DefaultHttpClient
 
getHostConfiguration() - Method in class org.littleshoot.util.DefaultHttpClientImpl
 
getHostfile(String) - Method in class org.littleshoot.util.DnsUtil
 
getHttpConnectionManager() - Method in interface org.littleshoot.util.DefaultHttpClient
 
getHttpConnectionManager() - Method in class org.littleshoot.util.DefaultHttpClientImpl
 
getInetAddress() - Method in class org.littleshoot.util.CipherSocket
 
getInputStream() - Method in class org.littleshoot.util.CipherSocket
 
getInt(String) - Method in class org.littleshoot.util.xml.XPathUtils
 
getKeepAlive() - Method in class org.littleshoot.util.CipherSocket
 
getLittleShootDir() - Static method in class org.littleshoot.util.CommonUtils
 
getLocal() - Method in class org.littleshoot.util.FiveTuple
 
getLocalAddress() - Method in class org.littleshoot.util.CipherSocket
 
getLocalHost() - Static method in class org.littleshoot.util.NetworkUtils
Many Linux systems typically return 127.0.0.1 as the localhost address instead of the address assigned on the local network.
getLocalPort() - Method in class org.littleshoot.util.CipherSocket
 
getLocalSocketAddress() - Method in class org.littleshoot.util.CipherSocket
 
getMimeType(String) - Method in interface org.littleshoot.util.MimeType
Returns the MIME type associated with a file name.
getMostRecentlyActive() - Method in interface org.littleshoot.util.ConnectionMaintainer
Returns the most recently active server.
getMostRecentlyActive() - Method in class org.littleshoot.util.ConnectionMaintainerImpl
 
getMxRecords(String) - Method in class org.littleshoot.util.DnsUtil
 
getNetworkInterfaces() - Static method in class org.littleshoot.util.NetworkUtils
Utility method for accessing public interfaces.
getNode(String) - Method in class org.littleshoot.util.xml.XPathUtils
 
getNodes(String) - Method in class org.littleshoot.util.xml.XPathUtils
 
getNsRecords(String) - Method in class org.littleshoot.util.DnsUtil
 
getObjectName(Class<T>) - Static method in class org.littleshoot.util.JmxUtils
Returns an ObjectName for the specified object in standard format, using the package as the domain.
getOOBInline() - Method in class org.littleshoot.util.CipherSocket
 
getOutputStream() - Method in class org.littleshoot.util.CipherSocket
 
getParams() - Method in interface org.littleshoot.util.DefaultHttpClient
 
getParams() - Method in class org.littleshoot.util.DefaultHttpClientImpl
 
getPort() - Method in class org.littleshoot.util.CipherSocket
 
getProps() - Static method in class org.littleshoot.util.CommonUtils
 
getPropsFile() - Static method in class org.littleshoot.util.CommonUtils
 
getProtocol() - Method in class org.littleshoot.util.FiveTuple
 
getPtrRecords(String) - Method in class org.littleshoot.util.DnsUtil
 
getPublicIpAddress() - Method in interface org.littleshoot.util.PublicIp
 
getReadKey() - Method in interface org.littleshoot.util.KeyStorage
 
getReceiveBufferSize() - Method in class org.littleshoot.util.CipherSocket
 
getRemote() - Method in class org.littleshoot.util.FiveTuple
 
getRemoteSocketAddress() - Method in class org.littleshoot.util.CipherSocket
 
getReuseAddress() - Method in class org.littleshoot.util.CipherSocket
 
getSecond() - Method in interface org.littleshoot.util.Pair
Returns the second object in the pair.
getSecond() - Method in class org.littleshoot.util.PairImpl
Returns the second object in the pair.
getSendBufferSize() - Method in class org.littleshoot.util.CipherSocket
 
getSoaRecords(String) - Method in class org.littleshoot.util.DnsUtil
 
getSoLinger() - Method in class org.littleshoot.util.CipherSocket
 
getSoTimeout() - Method in class org.littleshoot.util.CipherSocket
 
getSrvRecords(String) - Method in class org.littleshoot.util.DnsUtil
 
getState() - Method in interface org.littleshoot.util.DefaultHttpClient
 
getState() - Method in class org.littleshoot.util.DefaultHttpClientImpl
 
getString(String) - Method in class org.littleshoot.util.xml.XPathUtils
 
getStrings(String) - Method in class org.littleshoot.util.xml.XPathUtils
 
getTcpNoDelay() - Method in class org.littleshoot.util.CipherSocket
 
getTrafficClass() - Method in class org.littleshoot.util.CipherSocket
 
getType(String) - Method in interface org.littleshoot.util.ResourceTypeTranslator
Determines the resource type for a file name.
getType(String) - Method in class org.littleshoot.util.ResourceTypeTranslatorImpl
 
getUnsignedByte(ByteBuffer) - Static method in class org.littleshoot.util.Unsigned
 
getUnsignedByte(ByteBuffer, int) - Static method in class org.littleshoot.util.Unsigned
 
getUnsignedInt(ByteBuffer) - Static method in class org.littleshoot.util.Unsigned
 
getUnsignedInt(ByteBuffer, int) - Static method in class org.littleshoot.util.Unsigned
 
getUnsignedShort(ByteBuffer) - Static method in class org.littleshoot.util.Unsigned
 
getUnsignedShort(ByteBuffer, int) - Static method in class org.littleshoot.util.Unsigned
 
getUrl(String) - Method in class org.littleshoot.util.xml.XPathUtils
 
getWriteKey() - Method in interface org.littleshoot.util.KeyStorage
 
GROUP_NAME - Static variable in class org.littleshoot.util.HttpParamKeys
 
GZIP - Static variable in class org.littleshoot.util.Base64
Specify that data should be gzip-compressed.

H

handleInputStream(InputStream) - Method in class org.littleshoot.util.FileInputStreamHandler
 
handleInputStream(InputStream) - Method in interface org.littleshoot.util.InputStreamHandler
Handles the specified InputStream.
handleInputStream(InputStream) - Method in class org.littleshoot.util.NoOpInputStreamHandler
 
hasFileExtension(File) - Static method in class org.littleshoot.util.FileUtils
Utility method for checking whether or not the given file has an extension.
hasFileExtension(String) - Static method in class org.littleshoot.util.FileUtils
Utility method for checking whether or not the given file name has an extension.
hash(String) - Static method in class org.littleshoot.util.SecurityUtils
 
hash(String) - Static method in class org.littleshoot.util.Sha1Hasher
Creates a base 64 encoded SHA-1 hash of the specified string.
hashCode() - Method in class org.littleshoot.util.FiveTuple
 
hashCode() - Method in class org.littleshoot.util.PairImpl
hasMoreData() - Method in class org.littleshoot.util.InputRecord
 
HII - Static variable in class org.littleshoot.util.ShootConstants
 
HII_KEY - Static variable in class org.littleshoot.util.ShootConstants
 
HttpParamKeys - Class in org.littleshoot.util
 
HttpParamKeys() - Constructor for class org.littleshoot.util.HttpParamKeys
 
HttpUtils - Class in org.littleshoot.util
 
HttpUtils() - Constructor for class org.littleshoot.util.HttpUtils
 

I

IMAGE_TYPE - Static variable in class org.littleshoot.util.ResourceTypeTranslatorImpl
 
IMAGES - Static variable in class org.littleshoot.util.HttpParamKeys
 
inflate(byte[]) - Static method in class org.littleshoot.util.IoUtils
 
inflateString(byte[]) - Static method in class org.littleshoot.util.IoUtils
 
init() - Method in class org.littleshoot.util.Sha1
Initialize the digest context.
InputRecord - Class in org.littleshoot.util
Encapsulates a single record of encrypted input data.
InputRecord(byte[]) - Constructor for class org.littleshoot.util.InputRecord
Creates a new input record that will decode data using the specified key.
InputStreamHandler - Interface in org.littleshoot.util
Utility interface for any class that wants to customize handling of an InputStream.
INSTANCE_ID - Static variable in class org.littleshoot.util.HttpParamKeys
 
intToByteArray(int) - Static method in class org.littleshoot.util.CommonUtils
Converts an int to an unsigned byte array.
IoExceptionWithCause - Exception in org.littleshoot.util
An IOException that allows you to set the cause the constructor.
IoExceptionWithCause(String, Throwable) - Constructor for exception org.littleshoot.util.IoExceptionWithCause
Creates a new IOException.
IoUtils - Class in org.littleshoot.util
Utility functions for IO.
IoUtils() - Constructor for class org.littleshoot.util.IoUtils
 
isAudioOrVideo(String) - Method in interface org.littleshoot.util.ResourceTypeTranslator
Returns whether or not the specified type is an audio or video type.
isAudioOrVideo(String) - Method in class org.littleshoot.util.ResourceTypeTranslatorImpl
 
isBigger(BigInteger, BigInteger) - Static method in class org.littleshoot.util.NumberUtils
Returns whether the first BigInteger is bigger than the second.
isBiggerOrEqual(BigInteger, BigInteger) - Static method in class org.littleshoot.util.NumberUtils
Returns whether the first BigInteger is bigger than or equal to the second.
isBound() - Method in class org.littleshoot.util.CipherSocket
 
isClosed() - Method in class org.littleshoot.util.CipherSocket
 
isConnected() - Method in class org.littleshoot.util.CipherSocket
 
isInputShutdown() - Method in class org.littleshoot.util.CipherSocket
 
isNone(Optional<T>) - Method in interface org.littleshoot.util.OptionalUtils
Returns whether an optional object is a None object.
isNone(Optional<T>) - Method in class org.littleshoot.util.OptionalUtilsImpl
Returns whether an optional object is a None object.
iso8601() - Static method in class org.littleshoot.util.DateUtils
Encodes date value into ISO8601 that can be compared lexicographically.
iso8601(Date) - Static method in class org.littleshoot.util.DateUtils
 
iso8601ToDate(String) - Static method in class org.littleshoot.util.DateUtils
Converts the specified string in ISO 8601 format to a Date instance.
isOutputShutdown() - Method in class org.littleshoot.util.CipherSocket
 
isPro() - Static method in class org.littleshoot.util.CommonUtils
Returns whether or not this is LittleShoot Pro.
isPropertyTrue(String) - Static method in class org.littleshoot.util.CommonUtils
 
isPublicAddress(InetAddress) - Static method in class org.littleshoot.util.NetworkUtils
Returns whether or not the specified address represents an address on the public Internet.
isPublicAddress() - Static method in class org.littleshoot.util.NetworkUtils
Returns whether or not this host is on the public Internet.
isSome(Optional) - Method in interface org.littleshoot.util.OptionalUtils
Returns whether an optional object is a Some object.
isSome(Optional) - Method in class org.littleshoot.util.OptionalUtilsImpl
Returns whether an optional object is a Some object.
isStringTrue(String) - Static method in class org.littleshoot.util.CommonUtils
 
isTrue(String) - Static method in class org.littleshoot.util.CommonUtils
 
ITEMS_PER_PAGE - Static variable in class org.littleshoot.util.HttpParamKeys
 
ITunesUtils - Class in org.littleshoot.util
Utilities for iTunes.

J

JmxUtils - Class in org.littleshoot.util
Class providing utility methods for JMX.

K

KEY_ID - Static variable in class org.littleshoot.util.HttpParamKeys
 
KeyStorage - Interface in org.littleshoot.util
Interface for classes that store secret keys.
KEYWORDS - Static variable in class org.littleshoot.util.HttpParamKeys
 

L

LIMEWIRE_ENABLED_KEY - Static variable in class org.littleshoot.util.CommonUtils
 
LINUX_APPLICATION_TYPE - Static variable in class org.littleshoot.util.ResourceTypeTranslatorImpl
 
LockedFileProcessor - Interface in org.littleshoot.util
Interface for classes that process files that need to be locked during processing.
LockedFileProcessorImpl - Class in org.littleshoot.util
Utility class that uses a control lock file to check permission for reading a data file.
LockedFileProcessorImpl(LockedFileReader, File, File) - Constructor for class org.littleshoot.util.LockedFileProcessorImpl
Creates a new locked file processor.
LockedFileReader - Interface in org.littleshoot.util
Interface for classes that read locked files.
LockedFileRunner - Interface in org.littleshoot.util
Utility interface for executing methods with a lock on a file.
LockedFileWatcher - Class in org.littleshoot.util
Utility class for detecting file changes.
LockedFileWatcher(File) - Constructor for class org.littleshoot.util.LockedFileWatcher
Creates a new watcher for the specified file.
logBufferToWrite(ByteBuffer) - Static method in class org.littleshoot.util.ByteBufferUtils
Logs the data contained in a ByteBuffer that's ready to be written to the network.
LongRangeListener - Interface in org.littleshoot.util
Interface for listeners for range availability.

M

MAC_APPLICATION_TYPE - Static variable in class org.littleshoot.util.ResourceTypeTranslatorImpl
 
main(String[]) - Static method in class org.littleshoot.util.Base32
For testing, take a command-line argument in Base32, decode, print in hex, encode, print
map(Collection<? extends T1>, F1<T1, T2>) - Method in interface org.littleshoot.util.CollectionUtils
Maps the items in a collection using a given function.
map(Collection<? extends T1>, F1<T1, T2>) - Method in class org.littleshoot.util.CollectionUtilsImpl
Maps the items in a collection using a given function.
mapBean(Object) - Static method in class org.littleshoot.util.BeanUtils
Creates a Map from all bean data.
mapBean(Object, String) - Static method in class org.littleshoot.util.BeanUtils
Creates a Map from all bean data get methods except the one specified to exclude.
mapBean(Object, Set<String>) - Static method in class org.littleshoot.util.BeanUtils
Creates a Map from all bean data get methods except the ones specified to exclude.
MapUtils - Class in org.littleshoot.util
Utilities for common reader/writer functions.
MapUtils() - Constructor for class org.littleshoot.util.MapUtils
 
matchesAll(Collection<? extends T>, Predicate<T>) - Method in interface org.littleshoot.util.CollectionUtils
Checks to see if all of the elements of the given Collection matches the predicate.
matchesAll(Collection<? extends T>, Predicate<T>) - Method in class org.littleshoot.util.CollectionUtilsImpl
 
matchesAny(Collection<? extends T>, Predicate<T>) - Method in interface org.littleshoot.util.CollectionUtils
Checks to see if any of the elements of the given Collection matches the predicate.
matchesAny(Collection<? extends T>, Predicate<T>) - Method in class org.littleshoot.util.CollectionUtilsImpl
 
MimeType - Interface in org.littleshoot.util
Interface for classes that can determine the MIME type of a file name.

N

nativeCall(String) - Static method in class org.littleshoot.util.CommonUtils
Makes a native call with a full string argument that will be parsed into separate command line tokens with white space delimiters.
nativeCall(String...) - Static method in class org.littleshoot.util.CommonUtils
Makes a native call with the specified commands, returning the result.
NativeUtils - Class in org.littleshoot.util
Utilities for native calls.
NativeUtils() - Constructor for class org.littleshoot.util.NativeUtils
 
needsData() - Method in class org.littleshoot.util.InputRecord
 
NetworkUtils - Class in org.littleshoot.util
Network utilities methods.
NetworkUtils() - Constructor for class org.littleshoot.util.NetworkUtils
 
newThread(Runnable) - Method in class org.littleshoot.util.DaemonThreadFactory
 
newUrl(String, Collection<Pair<String, String>>) - Static method in class org.littleshoot.util.UriUtils
Creates a new URL string from the specified base URL and parameters.
newUrl(String, Map<String, String>) - Static method in class org.littleshoot.util.UriUtils
Creates a new URL string from the specified base URL and parameters.
newWwwUrlEncodedUrl(String, Collection<Pair<String, String>>) - Static method in class org.littleshoot.util.UriUtils
Creates a new URL string from the specified base URL and parameters encoded in non-form encoding, www-urlencoded.
newWwwUrlEncodedUrl(String, Map<String, String>) - Static method in class org.littleshoot.util.UriUtils
Creates a new URL string from the specified base URL and parameters encoded in non-form encoding, www-urlencoded.
newXPath(URL) - Static method in class org.littleshoot.util.xml.XPathUtils
Creates a new XPathUtils instance from the data at the specified HTTP url.
newXPath(String) - Static method in class org.littleshoot.util.xml.XPathUtils
Creates a new XPathUtils instance.
newXPath(InputStream) - Static method in class org.littleshoot.util.xml.XPathUtils
Creates a new XPathUtils instance.
newXPath(Document) - Static method in class org.littleshoot.util.xml.XPathUtils
Creates a new XPathUtils instance.
NO_OPTIONS - Static variable in class org.littleshoot.util.Base64
No options specified.
None<T> - Interface in org.littleshoot.util
The optional object representing no object.
NoneImpl<T> - Class in org.littleshoot.util
An implementation of the None interface.
NoneImpl() - Constructor for class org.littleshoot.util.NoneImpl
 
NoOpInputStreamHandler - Class in org.littleshoot.util
Class that does nothing when passed an InputStream to process.
NoOpInputStreamHandler() - Constructor for class org.littleshoot.util.NoOpInputStreamHandler
 
NoOpWriteListener - Class in org.littleshoot.util
Write listener that does nothing on write events.
NoOpWriteListener() - Constructor for class org.littleshoot.util.NoOpWriteListener
 
NotYetImplementedException - Exception in org.littleshoot.util
An exception indicating that some functionality has not yet implemented.
NotYetImplementedException() - Constructor for exception org.littleshoot.util.NotYetImplementedException
Constructs a new not yet implemented exception.
NotYetImplementedException(String) - Constructor for exception org.littleshoot.util.NotYetImplementedException
Constructs a new not yet implemented exception.
NotYetImplementedException(String, Throwable) - Constructor for exception org.littleshoot.util.NotYetImplementedException
Constructs a new not yet implemented exception.
NotYetImplementedException(Throwable) - Constructor for exception org.littleshoot.util.NotYetImplementedException
Constructs a new not yet implemented exception.
NumberUtils - Class in org.littleshoot.util
Number utility class.

O

object() - Method in interface org.littleshoot.util.ObjectRef
Returns the object contained in this reference.
object() - Method in class org.littleshoot.util.ObjectRefImpl
Returns the object contained in this reference.
object() - Method in interface org.littleshoot.util.Some
Returns the object.
object() - Method in class org.littleshoot.util.SomeImpl
Returns the object.
ObjectRef - Interface in org.littleshoot.util
An object reference.
ObjectRefImpl - Class in org.littleshoot.util
An implementation of the ObjectRef interface.
ObjectRefImpl() - Constructor for class org.littleshoot.util.ObjectRefImpl
Constructs a new object reference.
onBytesRead(int) - Method in class org.littleshoot.util.NoOpWriteListener
 
onBytesRead(int) - Method in interface org.littleshoot.util.WriteListener
Called when new bytes are read.
onFileChange(FileChannel) - Method in class org.littleshoot.util.LockedFileWatcher
 
onRangeComplete(LongRange) - Method in interface org.littleshoot.util.LongRangeListener
Called when a specific range is complete.
onSocket(String, Socket) - Method in class org.littleshoot.util.RelayingSocketHandler
 
onSocket(String, Socket) - Method in interface org.littleshoot.util.SessionSocketListener
Notifies the listener of the socket along with the associated ID.
onSocket(Socket) - Method in interface org.littleshoot.util.SocketListener
Notifies the listener of the socket.
onString(String) - Method in interface org.littleshoot.util.StringListener
Called when a string is available.
openFolder(File) - Static method in class org.littleshoot.util.NativeUtils
 
openUri(String) - Static method in class org.littleshoot.util.NativeUtils
Opens the specified URI using the native file system.
Optional<T> - Interface in org.littleshoot.util
An optional object.
optionalOf(Object) - Method in interface org.littleshoot.util.OptionalUtils
Returns an Optional from a possible null object.
optionalOf(Object) - Method in class org.littleshoot.util.OptionalUtilsImpl
Returns an Optional from a possible null object.
OptionalUtils - Interface in org.littleshoot.util
Utilities for working with Optional objects.
OptionalUtilsImpl - Class in org.littleshoot.util
An implementation of the OptionalUtils interface.
OptionalUtilsImpl() - Constructor for class org.littleshoot.util.OptionalUtilsImpl
 
OptionalVisitor<ReturnT,T> - Interface in org.littleshoot.util
A visitor for an optional object.
org.littleshoot.util - package org.littleshoot.util
 
org.littleshoot.util.xml - package org.littleshoot.util.xml
 
OS - Static variable in class org.littleshoot.util.HttpParamKeys
 

P

Pair<T1,T2> - Interface in org.littleshoot.util
A pair of objects.
pair(String, String) - Static method in class org.littleshoot.util.UriUtils
Returns a pair of strings created from two strings.
pair(String, long) - Static method in class org.littleshoot.util.UriUtils
Returns a pair of strings created from a string name and a long value.
pair(String, boolean) - Static method in class org.littleshoot.util.UriUtils
Returns a pair of strings created from a string name and a boolean value.
pair(String, URI) - Static method in class org.littleshoot.util.UriUtils
Returns a pair of strings created from a string name and a URI value.
PairImpl<T1,T2> - Class in org.littleshoot.util
An implementation of the pair interface.
PairImpl(T1, T2) - Constructor for class org.littleshoot.util.PairImpl
Constructs a new pair.
parseHttpDate(String) - Static method in class org.littleshoot.util.DateUtils
Utility method for parsing an HTTP Date header.
populateBean(Object, Map<String, String>) - Static method in class org.littleshoot.util.BeanUtils
Populates the specified bean with data from the specified map.
post(String) - Method in interface org.littleshoot.util.DefaultHttpClient
 
post(String) - Method in class org.littleshoot.util.DefaultHttpClientImpl
 
Predicate<T> - Interface in org.littleshoot.util
A predicate.
prettyS3Date(String) - Static method in class org.littleshoot.util.DateUtils
 
printDoc(Document) - Static method in class org.littleshoot.util.xml.XmlUtils
Prints the XML Document to standard out with handy indentation.
printDoc(String) - Static method in class org.littleshoot.util.xml.XmlUtils
 
processFile() - Method in interface org.littleshoot.util.LockedFileProcessor
Tells to processor to start checking the file for changes and to start processing data.
processFile() - Method in class org.littleshoot.util.LockedFileProcessorImpl
 
PublicIp - Interface in org.littleshoot.util
Interface for classes determining our public IP address.
putUnsignedByte(ByteBuffer, int) - Static method in class org.littleshoot.util.Unsigned
 
putUnsignedByte(ByteBuffer, int, int) - Static method in class org.littleshoot.util.Unsigned
 
putUnsignedInt(ByteBuffer, long) - Static method in class org.littleshoot.util.Unsigned
 
putUnsignedInt(ByteBuffer, int, long) - Static method in class org.littleshoot.util.Unsigned
 
putUnsignedShort(ByteBuffer, int) - Static method in class org.littleshoot.util.Unsigned
 
putUnsignedShort(ByteBuffer, int, int) - Static method in class org.littleshoot.util.Unsigned
 

R

randomPort() - Static method in class org.littleshoot.util.CommonUtils
 
read() - Method in class org.littleshoot.util.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class org.littleshoot.util.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
read(byte[]) - Method in class org.littleshoot.util.DecryptingInputStream
 
read(byte[], int, int) - Method in class org.littleshoot.util.DecryptingInputStream
Read up to "len" bytes into this buffer, starting at "off".
read() - Method in class org.littleshoot.util.DecryptingInputStream
 
read(String, String) - Static method in class org.littleshoot.util.WindowsRegistry
Reads the value of a registry key.
readBuffer(ByteBuffer) - Method in interface org.littleshoot.util.BufferReader
 
readBytes16(ByteBuffer) - Static method in class org.littleshoot.util.ByteBufferUtils
 
readFile(FileChannel) - Method in interface org.littleshoot.util.LockedFileReader
 
reconnected() - Method in interface org.littleshoot.util.ConnectionMaintainerListener
Called on a successful reconnection.
reconnected() - Method in class org.littleshoot.util.RelayingSocketHandler
 
reconnected() - Method in interface org.littleshoot.util.SessionSocketListener
Called when we've lost the connection to the signaling server and have reconnected.
register(MBeanServer, Object) - Static method in class org.littleshoot.util.JmxUtils
Registers the specified object as an MBean with the specified server using standard conventions for the bean name.
RelayingSocketHandler - Class in org.littleshoot.util
Socket handler that simply relays data to a server socket.
RelayingSocketHandler(InetSocketAddress) - Constructor for class org.littleshoot.util.RelayingSocketHandler
Creates a new socket handler.
remaining(Collection<ByteBuffer>) - Static method in class org.littleshoot.util.ByteBufferUtils
 
removeFromMapValues(Map, Object) - Static method in class org.littleshoot.util.MapUtils
Removes the specified reader/writer from the values of the specified reader/writer map.
removeIllegalCharsFromFileName(String) - Static method in class org.littleshoot.util.FileUtils
Replaces OS specific illegal characters from any filename with '_', including ( / \n \r \t ) on all operating systems, ( ? * \ < > | " ) on Windows, ( ` ) on unix.
replaceNodeValue(Document, String, String) - Static method in class org.littleshoot.util.xml.XmlUtils
Replaces the text value of a node in a document with the specified value using XPath.
ResettingMultiThreadedHttpConnectionManager - Class in org.littleshoot.util
This is a connection manager that just resets HTTP and HTTPS protocol handling back to the default.
ResettingMultiThreadedHttpConnectionManager() - Constructor for class org.littleshoot.util.ResettingMultiThreadedHttpConnectionManager
 
ResourceTypeTranslator - Interface in org.littleshoot.util
Interface for classes that can determine resource types based on different criteria.
ResourceTypeTranslatorImpl - Class in org.littleshoot.util
Class for determining the type of resources.
ResourceTypeTranslatorImpl() - Constructor for class org.littleshoot.util.ResourceTypeTranslatorImpl
Creates a new translator for media types.
resumeEncoding() - Method in class org.littleshoot.util.Base64.OutputStream
Resumes encoding of the stream.
run(T) - Method in interface org.littleshoot.util.F1
Runs this function.
run(T0, T1) - Method in interface org.littleshoot.util.F2
Runs this function.
run() - Method in class org.littleshoot.util.LockedFileWatcher
 
runtime() - Method in class org.littleshoot.util.RuntimeExceptionPair
Returns the wrapping runtime exception.
RuntimeConnectException - Exception in org.littleshoot.util
A runtime wrapper around an ConnectException.
RuntimeConnectException(ConnectException) - Constructor for exception org.littleshoot.util.RuntimeConnectException
Constructs a new runtime wrapper for an ConnectException.
RuntimeExceptionPair - Class in org.littleshoot.util
A pairing of a checked exception and its runtime wrapper.
RuntimeExceptionPair(Exception, RuntimeException) - Constructor for class org.littleshoot.util.RuntimeExceptionPair
Constructs a new runtime exception pair.
RuntimeFileNotFoundException - Exception in org.littleshoot.util
A runtime wrapper around a FileNotFoundException.
RuntimeFileNotFoundException(FileNotFoundException) - Constructor for exception org.littleshoot.util.RuntimeFileNotFoundException
Constructs a new runtime wrapper for an FileNotFoundException.
RuntimeIoException - Exception in org.littleshoot.util
A runtime wrapper around an IOException.
RuntimeIoException(Exception) - Constructor for exception org.littleshoot.util.RuntimeIoException
Constructs a new runtime wrapper for an IOException.
RuntimeIoException(String, Exception) - Constructor for exception org.littleshoot.util.RuntimeIoException
Constructs a new runtime wrapper for an IOException.
RuntimeIoException(String) - Constructor for exception org.littleshoot.util.RuntimeIoException
Creates a new RuntimeIoException with the specified message and no cause.
RuntimeSocketException - Exception in org.littleshoot.util
A runtime wrapper around an SocketException.
RuntimeSocketException(SocketException) - Constructor for exception org.littleshoot.util.RuntimeSocketException
Constructs a new runtime wrapper for a SocketException.
RuntimeSocketException(String, SocketException) - Constructor for exception org.littleshoot.util.RuntimeSocketException
Constructs a new runtime wrapper for a SocketException.
RuntimeSocketException(String) - Constructor for exception org.littleshoot.util.RuntimeSocketException
Creates a new RuntimeSocketException with the specified message and no cause.
RuntimeSocketTimeoutException - Exception in org.littleshoot.util
A runtime wrapper around an SocketTimeoutException.
RuntimeSocketTimeoutException(SocketTimeoutException) - Constructor for exception org.littleshoot.util.RuntimeSocketTimeoutException
Constructs a new runtime wrapper for a SocketTimeoutException.
RuntimeSocketTimeoutException(String, SocketTimeoutException) - Constructor for exception org.littleshoot.util.RuntimeSocketTimeoutException
Constructs a new runtime wrapper for a SocketTimeoutException.
RuntimeSocketTimeoutException(String) - Constructor for exception org.littleshoot.util.RuntimeSocketTimeoutException
Creates a new RuntimeSocketTimeoutException with the specified message and no cause.
RuntimeUriSyntaxException - Exception in org.littleshoot.util
A runtime version of the URISyntaxException.
RuntimeUriSyntaxException(URISyntaxException) - Constructor for exception org.littleshoot.util.RuntimeUriSyntaxException
Constructs a new runtime URI syntax exception.

S

safeSleep(long) - Static method in class org.littleshoot.util.ThreadUtils
 
safeWait(Object) - Static method in class org.littleshoot.util.ThreadUtils
 
safeWait(Object, int) - Static method in class org.littleshoot.util.ThreadUtils
 
saveProps(Properties) - Static method in class org.littleshoot.util.CommonUtils
 
secondsToHoursMinutesSeconds(long) - Static method in class org.littleshoot.util.TimeUtils
Converts seconds into hours:minutes:seconds.
SECURE_SERVER_BASE - Static variable in class org.littleshoot.util.ShootConstants
 
SecurityUtils - Class in org.littleshoot.util
Utility methods for security.
SecurityUtils() - Constructor for class org.littleshoot.util.SecurityUtils
 
SEEDING_ENABLED_KEY - Static variable in class org.littleshoot.util.CommonUtils
 
select(Collection<? extends T>, Predicate<T>, Collection<T>) - Method in interface org.littleshoot.util.CollectionUtils
Adds all of the elements in a given collection that satisfy a given predicate to another given collection.
select(Collection<? extends T>, Predicate<T>) - Method in interface org.littleshoot.util.CollectionUtils
Returns a collection of all of the elements in a given collection that satisfy a given predicate.
select(Collection<? extends T>, Predicate<T>, Collection<T>) - Method in class org.littleshoot.util.CollectionUtilsImpl
Adds all of the elements in a given collection that satisfy a given predicate to another given collection.
select(Collection<? extends T>, Predicate<T>) - Method in class org.littleshoot.util.CollectionUtilsImpl
Returns a collection of all of the elements in a given collection that satisfy a given predicate.
selectFirst(Collection<? extends T>, Predicate<T>) - Method in interface org.littleshoot.util.CollectionUtils
Selects the first element matching the desired criteria, or null if no matching element exists.
selectFirst(Collection<? extends T>, Predicate<T>) - Method in class org.littleshoot.util.CollectionUtilsImpl
 
selectFirstSynchronized(Collection<? extends T>, Predicate<T>) - Method in interface org.littleshoot.util.CollectionUtils
Selects the first element matching the desired criteria, or null if no matching element exists.
selectFirstSynchronized(Collection<? extends T>, Predicate<T>) - Method in class org.littleshoot.util.CollectionUtilsImpl
 
sendUrgentData(int) - Method in class org.littleshoot.util.CipherSocket
 
SERVER_URL - Static variable in class org.littleshoot.util.ShootConstants
The URL of the server that manages the Little Shoot resource repository.
SessionSocketListener - Interface in org.littleshoot.util
General interface for classes that handle sockets with IDs.
setKeepAlive(boolean) - Method in class org.littleshoot.util.CipherSocket
 
setObject(Object) - Method in interface org.littleshoot.util.ObjectRef
Sets the object contained in this reference.
setObject(Object) - Method in class org.littleshoot.util.ObjectRefImpl
Sets the object contained in this reference.
setOOBInline(boolean) - Method in class org.littleshoot.util.CipherSocket
 
setPerformancePreferences(int, int, int) - Method in class org.littleshoot.util.CipherSocket
 
setProperty(String, String) - Static method in class org.littleshoot.util.CommonUtils
 
setReadKey(byte[]) - Method in interface org.littleshoot.util.KeyStorage
 
setReceiveBufferSize(int) - Method in class org.littleshoot.util.CipherSocket
 
setReuseAddress(boolean) - Method in class org.littleshoot.util.CipherSocket
 
setSendBufferSize(int) - Method in class org.littleshoot.util.CipherSocket
 
setSoLinger(boolean, int) - Method in class org.littleshoot.util.CipherSocket
 
setSoTimeout(int) - Method in class org.littleshoot.util.CipherSocket
 
setTcpNoDelay(boolean) - Method in class org.littleshoot.util.CipherSocket
 
setTrafficClass(int) - Method in class org.littleshoot.util.CipherSocket
 
Sha1 - Class in org.littleshoot.util
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).
Sha1() - Constructor for class org.littleshoot.util.Sha1
Creates a SHA1 object with default initial state.
Sha1Hasher - Class in org.littleshoot.util
Utility class for generating SHA-1 file hashes.
ShootConstants - Class in org.littleshoot.util
App-wide constants.
ShootConstants() - Constructor for class org.littleshoot.util.ShootConstants
 
shutdownInput() - Method in class org.littleshoot.util.CipherSocket
 
shutdownOutput() - Method in class org.littleshoot.util.CipherSocket
 
signAndEncode(String, String) - Static method in class org.littleshoot.util.SecurityUtils
Calculate the HMAC/SHA1 on a string.
SIGNATURE - Static variable in class org.littleshoot.util.HttpParamKeys
 
SocketExceptionWithCause - Exception in org.littleshoot.util
A SocketException that allows you to set the cause the constructor.
SocketExceptionWithCause(String, Throwable) - Constructor for exception org.littleshoot.util.SocketExceptionWithCause
Creates a new SocketException.
SocketListener - Interface in org.littleshoot.util
General interface for classes that handle sockets.
SocketTimeoutExceptionWithCause - Exception in org.littleshoot.util
A SocketTimeoutException that allows you to set the cause the constructor.
SocketTimeoutExceptionWithCause(String, Throwable) - Constructor for exception org.littleshoot.util.SocketTimeoutExceptionWithCause
Creates a new SocketTimeoutException.
Some<T> - Interface in org.littleshoot.util
An optional object representing some object, meaning not none.
SomeImpl<T> - Class in org.littleshoot.util
An implementation of the Some interface.
SomeImpl(T) - Constructor for class org.littleshoot.util.SomeImpl
Constructs a new optional object with some object value.
someObject(Optional<T>) - Method in interface org.littleshoot.util.OptionalUtils
Returns the object stored in an optional object if one exists.
someObject(Optional<T>) - Method in class org.littleshoot.util.OptionalUtilsImpl
Returns the object stored in an optional object if one exists.
split(ByteBuffer, int) - Static method in class org.littleshoot.util.ByteBufferUtils
Splits the specified ByteBuffer into smaller ByteBuffers of the specified size.
SrvCandidateProvider - Class in org.littleshoot.util
Generic class for accessing "candidate" URLs for a service to use that performs lookups using DNS SRV records.
SrvCandidateProvider(SrvUtil, String) - Constructor for class org.littleshoot.util.SrvCandidateProvider
Constructs a new registrar candidate provider.
SrvCandidateProvider(SrvUtil, String, InetSocketAddress) - Constructor for class org.littleshoot.util.SrvCandidateProvider
Constructs a new registrar candidate provider.
SrvUtil - Interface in org.littleshoot.util
 
SrvUtilImpl - Class in org.littleshoot.util
Utility method for accessing DNS SRV records.
SrvUtilImpl() - Constructor for class org.littleshoot.util.SrvUtilImpl
Creates a new SRV utility class.
start() - Method in interface org.littleshoot.util.ConnectionMaintainer
Starts this maintainer.
start() - Method in class org.littleshoot.util.ConnectionMaintainerImpl
 
START_PAGE - Static variable in class org.littleshoot.util.HttpParamKeys
 
startDeadlockMonitoring() - Static method in class org.littleshoot.util.DeadlockSupport
 
StringListener - Interface in org.littleshoot.util
Utility interface for string callbacks.
StringUtils - Class in org.littleshoot.util
String utility methods not supplied in other string utility library classes.
StringUtils() - Constructor for class org.littleshoot.util.StringUtils
 
stripHost(String) - Static method in class org.littleshoot.util.UriUtils
Strips the host from a URI string.
subarrayOf(String[], int, int) - Static method in class org.littleshoot.util.ArrayUtil
Returns a new array with the elements between [start, end).
sum(Collection<Long>) - Method in interface org.littleshoot.util.CollectionUtils
Returns the sum of a collection of long integers.
sum(Collection<Long>) - Method in class org.littleshoot.util.CollectionUtilsImpl
Returns the sum of a collection of long integers.
supportsTray() - Static method in class org.littleshoot.util.NativeUtils
Uses reflection to determine whether or not this operating system and java version supports the system tray.
suspendEncoding() - Method in class org.littleshoot.util.Base64.OutputStream
Suspends encoding of the stream.
synchronizedMatchesAny(Collection<? extends T>, Predicate<T>) - Method in interface org.littleshoot.util.CollectionUtils
Checks to see if any of the elements of the given Collection matches the predicate.
synchronizedMatchesAny(Collection<? extends T>, Predicate<T>) - Method in class org.littleshoot.util.CollectionUtilsImpl
 

T

threadedCopy(InputStream, OutputStream, String) - Static method in class org.littleshoot.util.CommonUtils
 
ThreadUtils - Class in org.littleshoot.util
An implementation of the thread utilities interface.
TIME_ZONE - Static variable in class org.littleshoot.util.HttpParamKeys
 
TimeUtils - Class in org.littleshoot.util
Utility methods for times.
toArray(byte[], int) - Static method in class org.littleshoot.util.ByteBufferUtils
Splits the specified byte array into an array of ByteBuffers, each with the specified maximum size.
toAsciiBytes(String) - Static method in class org.littleshoot.util.StringUtils
Convert specified String to a byte array.
toByteArray(int) - Static method in class org.littleshoot.util.BitUtils
Returns the bytes (big-endian) of an integer.
toByteArray(long) - Static method in class org.littleshoot.util.BitUtils
Converts the specified long to an array of bytes.
toByteArray(InputStream, int) - Static method in class org.littleshoot.util.IoUtils
 
toDoc(String) - Static method in class org.littleshoot.util.xml.XmlUtils
 
toDoc(InputStream) - Static method in class org.littleshoot.util.xml.XmlUtils
 
toDoc(InputStream, String) - Static method in class org.littleshoot.util.xml.XmlUtils
 
toHeaderMap(byte[]) - Static method in class org.littleshoot.util.HttpUtils
 
toHeaderMap(String) - Static method in class org.littleshoot.util.HttpUtils
 
toHex(byte[]) - Static method in class org.littleshoot.util.CommonUtils
 
toRawBytes(ByteBuffer) - Static method in class org.littleshoot.util.ByteBufferUtils
 
toString(ByteBuffer) - Static method in class org.littleshoot.util.ByteBufferUtils
Returns the buffer as a string while preserving the buffer position and limit.
toString() - Method in class org.littleshoot.util.CipherSocket
 
toString(byte[]) - Static method in class org.littleshoot.util.CommonUtils
 
toString() - Method in class org.littleshoot.util.DecryptingInputStream
 
toString() - Method in class org.littleshoot.util.FiveTuple
 
toString() - Method in class org.littleshoot.util.PairImpl
 
toString(Document) - Static method in class org.littleshoot.util.xml.XmlUtils
Returns the XML Document as a readable string.
transform(T1) - Method in interface org.littleshoot.util.Transformer
Transforms one object into another object.
Transformer<T1,T2> - Interface in org.littleshoot.util
An interface to an object that can transform one object into another.
transformSome(Optional<T1>, Transformer<T1, T2>) - Method in interface org.littleshoot.util.OptionalUtils
Returns an Optional object created by transforming the contents of another Optional object.
transformSome(Optional<T1>, Transformer<T1, T2>) - Method in class org.littleshoot.util.OptionalUtilsImpl
Returns an Optional object created by transforming the contents of another Optional object.

U

Unsigned - Class in org.littleshoot.util
Utility class to get and put unsigned values to a ByteBuffer object.
Unsigned() - Constructor for class org.littleshoot.util.Unsigned
 
unsignedShortToInt(byte[]) - Static method in class org.littleshoot.util.CommonUtils
Converts a two byte array to an integer
UPLOAD_SPEED_KEY - Static variable in class org.littleshoot.util.CommonUtils
 
UriUtils - Class in org.littleshoot.util
URI manipulation utilities and helpers class.
urlFormDecode(String) - Static method in class org.littleshoot.util.UriUtils
Returns a string that has been decoded.
urlFormEncode(String) - Static method in class org.littleshoot.util.UriUtils
Returns a string that has been encoded for use in a URL.
urlNonFormEncode(String) - Static method in class org.littleshoot.util.UriUtils
Returns a string that has been encoded for use in a URL.
USER_ID - Static variable in class org.littleshoot.util.HttpParamKeys
 

V

valueOf(String) - Static method in enum org.littleshoot.util.FiveTuple.Protocol
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.littleshoot.util.FiveTuple.Protocol
Returns an array containing the constants of this enum type, in the order they are declared.
VIDEO - Static variable in class org.littleshoot.util.HttpParamKeys
 
VIDEO_TYPE - Static variable in class org.littleshoot.util.ResourceTypeTranslatorImpl
 
visitNone(None<T>) - Method in interface org.littleshoot.util.OptionalVisitor
Visits the 'none' option.
visitSome(Some<T>) - Method in interface org.littleshoot.util.OptionalVisitor
Visits the 'some' option.

W

WINDOWS_APPLICATION_TYPE - Static variable in class org.littleshoot.util.ResourceTypeTranslatorImpl
 
WindowsRegistry - Class in org.littleshoot.util
Utility class for reading from the registry.
WindowsRegistry() - Constructor for class org.littleshoot.util.WindowsRegistry
 
WORLD_GROUP - Static variable in class org.littleshoot.util.ShootConstants
The name of the world group.
write(int) - Method in class org.littleshoot.util.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class org.littleshoot.util.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
write(byte[], int, int) - Method in class org.littleshoot.util.EncryptingOutputStream
Write the data out, NOW.
write(int) - Method in class org.littleshoot.util.EncryptingOutputStream
Write one byte now.
write(String, String, String) - Static method in class org.littleshoot.util.WindowsRegistry
Reads the value of a registry key.
WriteListener - Interface in org.littleshoot.util
Utility class for listening to write events.

X

XmlUtils - Class in org.littleshoot.util.xml
XML utilities class.
XmlUtils() - Constructor for class org.littleshoot.util.xml.XmlUtils
 
XPathUtils - Class in org.littleshoot.util.xml
Implementation of XPath utilities.

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

Copyright © 2011-2013 LittleShoot. All Rights Reserved.