Skip navigation links
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 - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
ACCEPT_CHARSET - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
ACCEPT_ENCODING - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
ACCEPT_LANGUAGE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
ACCEPT_RANGES - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
add(byte) - Method in class net.sf.kdgcommons.util.ByteArray
Adds a single byte to the end of this array.
add(byte[]) - Method in class net.sf.kdgcommons.util.ByteArray
Adds a byte[] to the end of this array.
add(byte[], int, int) - Method in class net.sf.kdgcommons.util.ByteArray
Adds a segment of a byte[] to the end of this array.
add(char) - Method in class net.sf.kdgcommons.util.ByteArray
Adds the low-order 8 bits of the passed character to this array.
add(String) - Method in class net.sf.kdgcommons.util.ByteArray
Adds a String to the end of this array, converting it with ISO-8859-1 encoding.
add(String, String) - Method in class net.sf.kdgcommons.util.ByteArray
Adds a String to the end of this array, using the specified encoding.
add(ByteArray) - Method in class net.sf.kdgcommons.util.ByteArray
Adds another ByteArray to the end of this array.
addAll(Collection<T>, T...) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Appends an arbitrary number of explicit elements to an existing collection.
addAll(Collection<T>, Iterator<T>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Appends the values returned by an iterator to the passed collection.
addAll(Collection<T>, Iterable<T>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Appends the contents of an iterable object to the passed collection.
addHandler(CommandLineProcessor.OptionHandler) - Method in class net.sf.kdgcommons.util.CommandLineProcessor
Deprecated.
Adds an option handler to the list.
addIf(Collection<T>, T, boolean) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Adds a value to the collection if the boolean expression is true.
addIfNotNull(Collection<T>, T) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Adds a value to the collection if it's not null.
addRow() - Method in class net.sf.kdgcommons.util.DataTable
Adds a new empty row to the end of the table.
addRow(Object[]) - Method in class net.sf.kdgcommons.util.DataTable
Adds a new row to the end of the table, with specified data.
AGE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
ALLOW - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
appendAttribute(StringBuilder, String, Object) - Static method in class net.sf.kdgcommons.html.HtmlUtil
Appends an escaped attribute (name='value') to the passed buffer, which is assumed to contain an in-process HTML element string.
appendHex(StringBuilder, int, int) - Static method in class net.sf.kdgcommons.lang.StringBuilderUtil
Converts the passed value into hexadecimal representation, and appends that representation to the buffer, left-zero-padded.
appendOptionalAttribute(StringBuilder, String, Object) - Static method in class net.sf.kdgcommons.html.HtmlUtil
Appends an escaped attribute (name='value') to the passed buffer, which is assumed to contain an in-process HTML element string, iff the attribute value is neither null nor an empty string.
appendOptionalParameter(String, String) - Method in class net.sf.kdgcommons.html.URLBuilder
Appends a query parameter, escaping as needed.
appendParameter(String, String) - Method in class net.sf.kdgcommons.html.URLBuilder
Appends a query parameter, escaping as needed.
appendPath(String) - Method in class net.sf.kdgcommons.html.URLBuilder
Appends an element to the path, escaping any reserved characters.
appendRepeat(StringBuilder, char, int) - Static method in class net.sf.kdgcommons.lang.StringBuilderUtil
Appends N copies of the same character to the end of a builder.
appendUnless(StringBuilder, String, String) - Static method in class net.sf.kdgcommons.lang.StringBuilderUtil
Appends the passed string to a StringBuilder, unless it ends with the test string.
ArrayAsserts - Class in net.sf.kdgcommons.test
Static methods for asserting array equality.
ArrayAsserts() - Constructor for class net.sf.kdgcommons.test.ArrayAsserts
 
asMap(Object...) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Returns a map (HashMap) built from the passed elements.
assertApproximate(int, int, int) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within the expected, plus/minus the specified percentage (useful for probabilistic testing).
assertApproximate(String, int, int, int) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within the expected, plus/minus the specified percentage (useful for probabilistic testing).
assertApproximate(long, long, int) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within the expected, plus/minus the specified percentage (useful for probabilistic testing).
assertApproximate(String, long, long, int) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within the expected, plus/minus the specified percentage (useful for probabilistic testing).
assertApproximate(double, double, double) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within the expected, plus/minus the specified percentage (useful for probabilistic testing).
assertApproximate(String, double, double, double) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within the expected, plus/minus the specified percentage (useful for probabilistic testing).
assertCall(int, String, Object...) - Method in class net.sf.kdgcommons.test.SimpleMock
Asserts the method name and parameter of a specific invocation.
assertCallCount(int) - Method in class net.sf.kdgcommons.test.SimpleMock
Asserts that we received the expected number of invocations.
assertContainsRegex(String, String) - Static method in class net.sf.kdgcommons.test.StringAsserts
Asserts that the passed string contains a specified regular expression, showing expected/actual on failure.
assertContainsRegex(String, String, String) - Static method in class net.sf.kdgcommons.test.StringAsserts
Asserts that the passed string contains a specified regular expression, showing caller-defined failure message on failure.
assertContainsThenRemove(String, String) - Static method in class net.sf.kdgcommons.test.StringAsserts
Asserts that a string is contained within another, and then removes it.
assertDoesntContainRegex(String, String) - Static method in class net.sf.kdgcommons.test.StringAsserts
Asserts that the passed string does not contain a specified regular expression, showing expected/actual on failure.
assertDoesntContainRegex(String, String, String) - Static method in class net.sf.kdgcommons.test.StringAsserts
Asserts that the passed string does not contain a specified regular expresion, showing caller-defined failure message on failure.
assertEquals(String, byte[], byte[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two byte arrays, with user-defined message prefix.
assertEquals(byte[], byte[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two byte arrays, with default message.
assertEquals(String, short[], short[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two short arrays, with user-defined message prefix.
assertEquals(short[], short[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two short arrays, with default message.
assertEquals(String, int[], int[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two int arrays, with user-defined message prefix.
assertEquals(int[], int[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two int arrays, with default message.
assertEquals(String, long[], long[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two long arrays, with user-defined message prefix.
assertEquals(long[], long[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two long arrays, with default message.
assertEquals(String, float[], float[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two float arrays, with user-defined message prefix.
assertEquals(float[], float[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two float arrays, with default message.
assertEquals(String, double[], double[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two double arrays, with user-defined message prefix.
assertEquals(double[], double[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two double arrays, with default message.
assertEquals(String, char[], char[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two char arrays, with user-defined message prefix.
assertEquals(char[], char[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two char arrays, with default message.
assertEquals(String, boolean[], boolean[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two boolean arrays, with user-defined message prefix.
assertEquals(boolean[], boolean[]) - Static method in class net.sf.kdgcommons.test.ArrayAsserts
Compares two boolean arrays, with default message.
assertInRange(int, int, int) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within an arbitrary range +/- the expected value.
assertInRange(String, int, int, int) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within an arbitrary range +/- the expected value.
assertInRange(long, long, long) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within an arbitrary range +/- the expected value.
assertInRange(String, long, long, long) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within an arbitrary range +/- the expected value.
assertInRange(double, double, double) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within an arbitrary range +/- the expected value.
assertInRange(String, double, double, double) - Static method in class net.sf.kdgcommons.test.NumericAsserts
Asserts that the actual value is within an arbitrary range +/- the expected value.
assertNotEmpty(String) - Static method in class net.sf.kdgcommons.test.StringAsserts
Asserts that the passed string is not empty or null.
assertNotEmpty(String, String) - Static method in class net.sf.kdgcommons.test.StringAsserts
Asserts that the passed string is not empty or null.
assertRegex(String, String) - Static method in class net.sf.kdgcommons.test.StringAsserts
Asserts that the passed string exactly matches a regular expression, showing expected/actual on failure.
assertRegex(String, String, String) - Static method in class net.sf.kdgcommons.test.StringAsserts
Asserts that the passed string exactly matches a regular expression, showing caller-defined failure message on failure.
assertSubstringCount(String, String, int) - Static method in class net.sf.kdgcommons.test.StringAsserts
Asserts that a given string contains N instances of a substring.
assertSubstringCount(String, String, String, int) - Static method in class net.sf.kdgcommons.test.StringAsserts
Asserts that a given string contains N instances of a substring, and outputs a specified message if the assertion fails.
asSet(T...) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Returns a set (HashSet) containing the passed elements.
AUTHORIZATION - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
available() - Method in class net.sf.kdgcommons.buffer.ByteBufferInputStream
 
available() - Method in class net.sf.kdgcommons.io.BOMExclusionInputStream
Returns the number of bytes available in the stream, including the BOM.
available() - Method in class net.sf.kdgcommons.io.ChannelInputStream
Deprecated.
available() - Method in class net.sf.kdgcommons.io.CloseBlockingInputStream
 
available() - Method in class net.sf.kdgcommons.io.CombiningInputStream
Returns the number of bytes available without blocking, from the current stream.
available() - Method in class net.sf.kdgcommons.io.GeneratedInputStream
Returns the number of bytes available in the current buffer — assumes that a call to GeneratedInputStream.nextBuffer() will block.
available() - Method in class net.sf.kdgcommons.io.MonitoredInputStream
Returns the number of bytes available from the underlying stream.
available() - Method in class net.sf.kdgcommons.io.TeeInputStream
Returns the number of bytes available from the base stream.

B

Base64Codec - Class in net.sf.kdgcommons.codec
Converts binary data to/from a string consisting of base-64 characters.
Base64Codec() - Constructor for class net.sf.kdgcommons.codec.Base64Codec
Default constructor; equivalent to using #Option.UNBROKEN.
Base64Codec(Base64Codec.Option) - Constructor for class net.sf.kdgcommons.codec.Base64Codec
Constructs an instance using standard parameters.
Base64Codec(int, String) - Constructor for class net.sf.kdgcommons.codec.Base64Codec
Creates an instance with custom line length and separator, where the separator is specified as a string (and converted via UTF-8).
Base64Codec(int, byte[]) - Constructor for class net.sf.kdgcommons.codec.Base64Codec
Creates an instance that uses standard encoding, but custom line length and separator.
Base64Codec.Option - Enum in net.sf.kdgcommons.codec
Different standard construction options: each value specifies a combination of maximum line length and separator characters.
Base64Converter - Class in net.sf.kdgcommons.util
Deprecated.
Replaced by Base64Codec
Base64Converter() - Constructor for class net.sf.kdgcommons.util.Base64Converter
Deprecated.
 
BINARY - Static variable in class net.sf.kdgcommons.net.MimeTypes
 
BinarySearch - Class in net.sf.kdgcommons.collections
A collection of static methods for searching array-like data structures: those that can be accessed using an integer index.
BinarySearch() - Constructor for class net.sf.kdgcommons.collections.BinarySearch
 
BinarySearch.Accessor<T> - Interface in net.sf.kdgcommons.collections
Implement this interface if you're searching an already-sorted array-like structure.
BinarySearch.IndexedComparator<T> - Interface in net.sf.kdgcommons.collections
Implement this interface if you have an int[] that contains sorted indexes into the array-like structure.
BOMExclusionInputStream - Class in net.sf.kdgcommons.io
This class is used to wrap a UTF8-encoded stream that includes an encoded Byte Order Mark (BOM, 0xFEFF encoded as 0xEF 0xBB 0xBF) as its first bytes.
BOMExclusionInputStream(InputStream) - Constructor for class net.sf.kdgcommons.io.BOMExclusionInputStream
 
buffer(long) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
 
BufferFacade - Interface in net.sf.kdgcommons.buffer
This interface defines a methods for absolute access to a byte-oriented buffer.
BufferFacadeFactory - Class in net.sf.kdgcommons.buffer
Creates BufferFacade instances to wrap variety of buffer-like objects.
BufferFacadeFactory() - Constructor for class net.sf.kdgcommons.buffer.BufferFacadeFactory
 
BufferFacadeFactory.ByteBufferFacade - Class in net.sf.kdgcommons.buffer
A facade for a standard Java ByteBuffer.
BufferFacadeFactory.ByteBufferTLFacade - Class in net.sf.kdgcommons.buffer
A facade for a standard Java ByteBuffer that uses a thread-local to allow concurrent access.
BufferFacadeFactory.MappedFileBufferTLFacade - Class in net.sf.kdgcommons.buffer
A facade for a MappedFileBuffer that uses a thread-local to allow concurrent access.
BufferUtil - Class in net.sf.kdgcommons.buffer
Contains static utility methods for working with NIO buffers.
BufferUtil() - Constructor for class net.sf.kdgcommons.buffer.BufferUtil
 
buildQueryString(Map<?, ?>, boolean) - Static method in class net.sf.kdgcommons.html.HtmlUtil
Constructs a query string out of a parameter map, URL-encoding values.
ByteArray - Class in net.sf.kdgcommons.util
This class manages a variable-length array of bytes.
ByteArray(int, int) - Constructor for class net.sf.kdgcommons.util.ByteArray
Constructs a new ByteArray, with specified initial capacity and expansion factor.
ByteArray(byte[]) - Constructor for class net.sf.kdgcommons.util.ByteArray
Constructs a new ByteArray from a byte[].
ByteArray(String) - Constructor for class net.sf.kdgcommons.util.ByteArray
Constructs a new ByteArray from a String, using ISO-8859-1 encoding.
ByteArray(String, String) - Constructor for class net.sf.kdgcommons.util.ByteArray
Constructs a new ByteArray from a String, using the specified encoding.
ByteArray() - Constructor for class net.sf.kdgcommons.util.ByteArray
Creates a new, empty ByteArray, using a default capacity and expansion factor.
ByteBufferFacade(ByteBuffer) - Constructor for class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
ByteBufferFacade(ByteBuffer, int) - Constructor for class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
ByteBufferInputStream - Class in net.sf.kdgcommons.buffer
An InputStream that reads from an existing ByteBuffer.
ByteBufferInputStream(ByteBuffer) - Constructor for class net.sf.kdgcommons.buffer.ByteBufferInputStream
Creates an instance that positions the stream at the start of the buffer.
ByteBufferInputStream(ByteBuffer, int) - Constructor for class net.sf.kdgcommons.buffer.ByteBufferInputStream
Creates an instance that positions the stream at the specified offset.
ByteBufferOutputStream - Class in net.sf.kdgcommons.buffer
An OutputStream that writes to an existing ByteBuffer.
ByteBufferOutputStream(ByteBuffer) - Constructor for class net.sf.kdgcommons.buffer.ByteBufferOutputStream
Creates an instance that repositions the passed buffer to its start.
ByteBufferOutputStream(ByteBuffer, int) - Constructor for class net.sf.kdgcommons.buffer.ByteBufferOutputStream
Creates an instance that repositions the passed buffer to the specified index.
ByteBufferThreadLocal - Class in net.sf.kdgcommons.buffer
Holds a source ByteBuffer and makes thread-local copies of it.
ByteBufferThreadLocal(ByteBuffer) - Constructor for class net.sf.kdgcommons.buffer.ByteBufferThreadLocal
 
ByteBufferTLFacade(ByteBuffer) - Constructor for class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
ByteBufferTLFacade(ByteBuffer, int) - Constructor for class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 

C

CACHE_CONTROL - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
capacity() - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Returns the capacity of the wrapped buffer.
capacity() - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
capacity() - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
capacity() - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
capacity() - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Returns the buffer's capacity -- the size of the mapped file.
cast(List<?>, Class<T>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Verifies that the passed list contains only elements of the given type, and returns it as a parameterized list (does not create a new list).
cast(Set<?>, Class<T>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Verifies that the passed set contains only elements of the given type, and returns it as a parameterized set (does not create a new set).
cast(Map<?, ?>, Class<K>, Class<V>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Verifies that the passed set contains only keys and values of the given types, and returns it as a parameterized map (does not create a new map).
ChannelInputStream - Class in net.sf.kdgcommons.io
A decorator that provides InputStream operations backed by a java.nio.Channel.
ChannelInputStream(ReadableByteChannel) - Constructor for class net.sf.kdgcommons.io.ChannelInputStream
 
CharSequenceUtil - Class in net.sf.kdgcommons.lang
Static utility methods for working with arbitrary character sequences.
CharSequenceUtil() - Constructor for class net.sf.kdgcommons.lang.CharSequenceUtil
 
ClassTable<T> - Class in net.sf.kdgcommons.lang
A threadsafe Map<Class,T>, in which ClassTable.get(java.lang.Class<?>) will walk the class hiearchy of its argument looking for a mapping (and will cache that mapping for subsequent use).
ClassTable() - Constructor for class net.sf.kdgcommons.lang.ClassTable
 
ClassUtil - Class in net.sf.kdgcommons.lang
Static utility methods for working with class instances.
ClassUtil() - Constructor for class net.sf.kdgcommons.lang.ClassUtil
 
clear() - Method in class net.sf.kdgcommons.collections.DefaultMap
clear() - Method in class net.sf.kdgcommons.collections.HashMultimap
Removes all entries from the map.
clear() - Method in class net.sf.kdgcommons.util.Counters
 
clear() - Method in class net.sf.kdgcommons.util.ReadThroughCache
Removes all cached values.
clone() - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Creates a new buffer referencing the same file, but with a copy of the original underlying mappings.
close() - Method in class net.sf.kdgcommons.buffer.ByteBufferInputStream
 
close() - Method in class net.sf.kdgcommons.buffer.ByteBufferOutputStream
 
close() - Method in class net.sf.kdgcommons.io.BOMExclusionInputStream
 
close() - Method in class net.sf.kdgcommons.io.ChannelInputStream
Deprecated.
close() - Method in class net.sf.kdgcommons.io.CloseBlockingInputStream
 
close() - Method in class net.sf.kdgcommons.io.CloseBlockingOutputStream
 
close() - Method in class net.sf.kdgcommons.io.CombiningInputStream
Attempts to close all constituent streams.
close() - Method in class net.sf.kdgcommons.io.GeneratedInputStream
By default, closing the stream simply sets a flag such that all subsequent reads will throw.
close() - Method in class net.sf.kdgcommons.io.HexDumpOutputStream
Closes the underlying Writer.
close() - Method in class net.sf.kdgcommons.io.MonitoredInputStream
Closes the underlying stream.
close() - Method in class net.sf.kdgcommons.io.MonitoredOutputStream
 
close() - Method in class net.sf.kdgcommons.io.TeeInputStream
Closes the base stream, but not the tee.
close() - Method in class net.sf.kdgcommons.io.TeeOutputStream
Closes the base stream, but not the tee.
CloseBlockingInputStream - Class in net.sf.kdgcommons.io
An InputStream decorator that silently ignores the CloseBlockingInputStream.close() operation, but passes all other operations to its delegate.
CloseBlockingInputStream(InputStream) - Constructor for class net.sf.kdgcommons.io.CloseBlockingInputStream
 
CloseBlockingOutputStream - Class in net.sf.kdgcommons.io
An OutputStream decorator that silently ignores the CloseBlockingOutputStream.close() operation, but passes all other operations to its delegate.
CloseBlockingOutputStream(OutputStream) - Constructor for class net.sf.kdgcommons.io.CloseBlockingOutputStream
 
closeQuietly(Closeable) - Static method in class net.sf.kdgcommons.io.IOUtil
Closes any Closeable object, swallowing any exception that it might throw.
closeQuietly(Connection) - Static method in class net.sf.kdgcommons.sql.JDBCUtil
Closes the passed Connection ignoring exceptions.
closeQuietly(Statement) - Static method in class net.sf.kdgcommons.sql.JDBCUtil
Closes the passed ResultSet ignoring exceptions.
closeQuietly(ResultSet) - Static method in class net.sf.kdgcommons.sql.JDBCUtil
Closes the passed ResultSet ignoring exceptions.
Codec - Class in net.sf.kdgcommons.codec
Implementations translate an input stream to an output stream according to specific rules.
Codec() - Constructor for class net.sf.kdgcommons.codec.Codec
 
CodecException - Exception in net.sf.kdgcommons.codec
General runtime exception thrown during codec operation.
CodecException(String) - Constructor for exception net.sf.kdgcommons.codec.CodecException
 
CodecException(String, Throwable) - Constructor for exception net.sf.kdgcommons.codec.CodecException
 
CollectionUtil - Class in net.sf.kdgcommons.collections
Static utility methods for working with collections -- particularly parameterized collections.
CollectionUtil() - Constructor for class net.sf.kdgcommons.collections.CollectionUtil
 
CollectionUtil.FilterException - Exception in net.sf.kdgcommons.collections
CollectionUtil.IndexValueMapFunctor<V,R> - Interface in net.sf.kdgcommons.collections
CollectionUtil.IndexValueReduceFunctor<V,R> - Interface in net.sf.kdgcommons.collections
CollectionUtil.MapException - Exception in net.sf.kdgcommons.collections
CollectionUtil.Predicate<V> - Interface in net.sf.kdgcommons.collections
Implement this for the CollectionUtil.filter(java.util.Collection<V>, net.sf.kdgcommons.collections.CollectionUtil.Predicate<V>) operation: return true to include an element in the result, false to skip it.
CollectionUtil.ReduceException - Exception in net.sf.kdgcommons.collections
combine(List<T>, Collection<T>...) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Adds all elements of the src collections to dest, returning dest.
combine(Set<T>, Collection<T>...) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Adds all elements of the src collections to dest, returning dest.
combine(Map<K, V>, Map<K, V>...) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Adds all elements of the src collections to dest, returning dest.
CombiningInputStream - Class in net.sf.kdgcommons.io
This class combines multiple source streams into a single stream.
CombiningInputStream(InputStream...) - Constructor for class net.sf.kdgcommons.io.CombiningInputStream
Combines one or more constituent streams.
CombiningIterable<T> - Class in net.sf.kdgcommons.collections
Produces an iterator that will iterate over an array of Iterables.
CombiningIterable(Iterable<T>...) - Constructor for class net.sf.kdgcommons.collections.CombiningIterable
 
CombiningIterable.CombiningIterator<E> - Class in net.sf.kdgcommons.collections
Combines a list of iterators into a single iterator.
CombiningIterator(Iterator<E>...) - Constructor for class net.sf.kdgcommons.collections.CombiningIterable.CombiningIterator
 
CombiningIterator(LinkedList<Iterator<E>>) - Constructor for class net.sf.kdgcommons.collections.CombiningIterable.CombiningIterator
 
CommandLineProcessor - Class in net.sf.kdgcommons.util
Deprecated.
SimpleCLIParser is my current preferred implementation. It's a lot simpler: there's no need for handler objects, and the options are processed by the constructor. However, I still have code that depends on this class, so it will stick around until the (never expected) 2.0 release.
CommandLineProcessor() - Constructor for class net.sf.kdgcommons.util.CommandLineProcessor
Deprecated.
 
CommandLineProcessor.OptionHandler - Interface in net.sf.kdgcommons.util
Deprecated.
Subclass-defined argument handlers must implement this interface.
ComparableTuple2<A extends Comparable<A>,B extends Comparable<B>> - Class in net.sf.kdgcommons.tuple
An immutable parameterized container for two comparable values, which is itself comparable.
ComparableTuple2(A, B) - Constructor for class net.sf.kdgcommons.tuple.ComparableTuple2
 
compare(T, int) - Method in interface net.sf.kdgcommons.collections.BinarySearch.Accessor
Compares an explicit value against the value at a given location in the array-like structure.
compare(T, int) - Method in interface net.sf.kdgcommons.collections.BinarySearch.IndexedComparator
Compares an explicit value against the value at a given location in the array-like structure.
compare(Collection<? extends Comparable>, Collection<? extends Comparable>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Compares two collections of Comparable elements.
compare(int, int) - Method in interface net.sf.kdgcommons.collections.InplaceSort.Accessor
Compares the values at two positions within the array-like structure.
compare(int, int) - Method in interface net.sf.kdgcommons.collections.InplaceSort.IntComparator
 
compare(Comparable, Comparable) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Null-safe comparison of two arbitrary comparables.
compare(Comparable, Comparable, boolean) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Null-safe comparison of two arbitrary comparables.
compareTo(Tuple2<A, B>) - Method in class net.sf.kdgcommons.tuple.ComparableTuple2
 
compareTo(NameValue<T>) - Method in class net.sf.kdgcommons.util.NameValue
Compares two NameValue instances.
CompoundKey - Class in net.sf.kdgcommons.collections
An N-tuple that provides equals() and hashCode(), used to hold a multi-element key for HashMaps.
CompoundKey(Object...) - Constructor for class net.sf.kdgcommons.collections.CompoundKey
 
CONNECTION - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
contains(String, String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Determines whether the first string contains the second.
containsAt(CharSequence, CharSequence, int) - Static method in class net.sf.kdgcommons.lang.CharSequenceUtil
Returns true of the passed source sequence contains the specified search sequence starting at the given location.
containsIgnoreCase(String, String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Determines whether the first string contains the second, ignoring case of individual letters.
containsKey(Object) - Method in class net.sf.kdgcommons.collections.DefaultMap
containsKey(K) - Method in class net.sf.kdgcommons.collections.HashMultimap
Determines whether this object contains a mapping for the given key, regardless of value.
containsKey(Object) - Method in class net.sf.kdgcommons.util.Counters
Returns true if the underlying map contains the specified key.
containsMapping(K, V) - Method in class net.sf.kdgcommons.collections.HashMultimap
Determines whether this object contains a the given key-value pair.
containsValue(Object) - Method in class net.sf.kdgcommons.collections.DefaultMap
containsValue(Object) - Method in class net.sf.kdgcommons.util.Counters
Returns true if the underlying map contains the specified value.
CONTENT_ENCODING - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
CONTENT_LANGUAGE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
CONTENT_LENGTH - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
CONTENT_LOCATION - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
CONTENT_MD5 - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
CONTENT_RANGE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
CONTENT_TYPE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
copy(InputStream, OutputStream) - Static method in class net.sf.kdgcommons.io.IOUtil
Copies the input stream to the output stream, leaving both open.
Counters<K> - Class in net.sf.kdgcommons.util
A Map of thread-safe counters, identified by a user-defined key.
Counters() - Constructor for class net.sf.kdgcommons.util.Counters
 
create(ByteBuffer) - Static method in class net.sf.kdgcommons.buffer.BufferFacadeFactory
Creates an instance that accesses a standard ByteBuffer.
create(ByteBuffer, long) - Static method in class net.sf.kdgcommons.buffer.BufferFacadeFactory
Creates an instance that accesses a standard ByteBuffer, with offsets relative to the specified base value.
create(MappedFileBuffer) - Static method in class net.sf.kdgcommons.buffer.BufferFacadeFactory
Creates an instance that accesses a MappedFileBuffer.
create(MappedFileBuffer, long) - Static method in class net.sf.kdgcommons.buffer.BufferFacadeFactory
Creates an instance that accesses a MappedFileBuffer, with with offsets relative to the specified base value.
createTempFile(String, long) - Static method in class net.sf.kdgcommons.io.IOUtil
Creates a temporary file in the default temporary-file directory.
createTempFile(InputStream, String) - Static method in class net.sf.kdgcommons.io.IOUtil
Creates a temporary file via IOUtil.createTempFile(java.lang.String, long), then copies the contents of the passed stream to it.
createThreadsafe(ByteBuffer) - Static method in class net.sf.kdgcommons.buffer.BufferFacadeFactory
Creates a thread-safe instance that accesses a standardByteBuffer.
createThreadsafe(ByteBuffer, long) - Static method in class net.sf.kdgcommons.buffer.BufferFacadeFactory
Creates a thread-safe instance that accesses a standard ByteBuffer, with offsets relative to the specified base value.
createThreadsafe(MappedFileBuffer) - Static method in class net.sf.kdgcommons.buffer.BufferFacadeFactory
Creates a thread-safe instance that accesses a MappedFileBuffer.
createThreadsafe(MappedFileBuffer, long) - Static method in class net.sf.kdgcommons.buffer.BufferFacadeFactory
Creates a thread-safe instance that accesses a MappedFileBuffer, with offsets relative to the specified base value.

D

DataTable - Class in net.sf.kdgcommons.util
This class maintains data in a tabular form: rows and columns, with a name for each column.
DataTable(String[], Class<?>[], Object[][]) - Constructor for class net.sf.kdgcommons.util.DataTable
Base constructor.
DataTable(String[]) - Constructor for class net.sf.kdgcommons.util.DataTable
Convenience constructor that just takes column names, creates an empty table that doesn't check data class.
DATE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
decode(InputStream, OutputStream) - Method in class net.sf.kdgcommons.codec.Base64Codec
 
decode(InputStream, OutputStream) - Method in class net.sf.kdgcommons.codec.Codec
Decodes a stream according to the rules of the codec.
decode(byte[]) - Method in class net.sf.kdgcommons.codec.Codec
Convenience method that decodes the passed array.
decode(byte[], int, int) - Method in class net.sf.kdgcommons.codec.Codec
Convenience method that decodes a section of the passed array.
decode(InputStream, OutputStream) - Method in class net.sf.kdgcommons.codec.HexCodec
 
decode(byte[], int, int, byte[], int) - Static method in class net.sf.kdgcommons.util.Base64Converter
Deprecated.
Decodes the specified segment of a source byte[] as Base64 characters, inserting the decoded bytes at the specified offset of a destination array.
decode(byte[]) - Static method in class net.sf.kdgcommons.util.Base64Converter
Deprecated.
Convenience method to decode an entire array of Base64 characters into its corresponding byte[].
decode(String) - Static method in class net.sf.kdgcommons.util.Base64Converter
Deprecated.
Convenience method to decode a string of Base64 characters into its corresponding byte[], ignoring any illegal characters.
decrement(K) - Method in class net.sf.kdgcommons.util.Counters
Decrements the specified counter, creating it if necessary.
defaultIfEmpty(Collection<T>, Collection<T>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Returns the default collection if the regular object is null or empty.
defaultIfNull(Iterable<T>, Iterable<T>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Returns the second iterable if the first is null.
DefaultMap<K,V> - Class in net.sf.kdgcommons.collections
A Map decorator that will return a default value from DefaultMap.get(java.lang.Object) if there is no mapping for the key.
DefaultMap(Map<K, V>, ObjectFactory<V>, boolean) - Constructor for class net.sf.kdgcommons.collections.DefaultMap
Base constructor, allowing full configuration.
DefaultMap(Map<K, V>, V) - Constructor for class net.sf.kdgcommons.collections.DefaultMap
Constructs an instance that returns a static value and does not update the underlying map.
DefaultMap(Map<K, V>, ObjectFactory<V>) - Constructor for class net.sf.kdgcommons.collections.DefaultMap
Constructs an instance that returns a dynamic value and will update the underlying map.
DefaultMap.StaticValueFactory<T> - Class in net.sf.kdgcommons.collections
An implementation of the DefaultMap.ValueFactory interface for static values.
DefaultMap.ValueFactory<T> - Interface in net.sf.kdgcommons.collections
This interface defines a factory for default values.
defaultValue(T, T) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Returns the passed value, unless it's null, in which case the defaultValue is returned.
defaultValue(T, ObjectFactory<T>) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Returns the passed value, unless it's null, in which case the objectFactory is queried for a value.
DEPRECATED_XML - Static variable in class net.sf.kdgcommons.net.MimeTypes
 
dynamicCast(Object, Class<T>) - Static method in class net.sf.kdgcommons.lang.NumberUtil
Attempts to convert the first argument (which must be a subclass of Number) into an instance of the second (which must be a primitive wrapper type).

E

EMPTY_ARRAY - Static variable in class net.sf.kdgcommons.codec.Codec
 
encode(InputStream, OutputStream) - Method in class net.sf.kdgcommons.codec.Base64Codec
 
encode(InputStream, OutputStream) - Method in class net.sf.kdgcommons.codec.Codec
Encodes a stream according to the rules of the codec.
encode(byte[]) - Method in class net.sf.kdgcommons.codec.Codec
Convenience method that encodes the passed array.
encode(byte[], int, int) - Method in class net.sf.kdgcommons.codec.Codec
Convenience method that encodes a section of the passed array.
encode(InputStream, OutputStream) - Method in class net.sf.kdgcommons.codec.HexCodec
 
encode(byte[], int, int, byte[], int) - Static method in class net.sf.kdgcommons.util.Base64Converter
Deprecated.
Encodes the specified segment of a source byte[] as Base64 characters at the specified offset of a destination array.
encode(byte[]) - Static method in class net.sf.kdgcommons.util.Base64Converter
Deprecated.
Convenience method that creates a correctly-sized output array, and Base64 encodes the source array into it.
end() - Method in interface net.sf.kdgcommons.collections.BinarySearch.Accessor
The maximum bound of the search (exclusive).
end() - Method in interface net.sf.kdgcommons.collections.InplaceSort.Accessor
The maximum bound of the search (exclusive).
endsWith(CharSequence, CharSequence) - Static method in class net.sf.kdgcommons.lang.CharSequenceUtil
Returns true if the source sequence ends with the search sequence.
entries() - Method in class net.sf.kdgcommons.collections.HashMultimap
Returns the current entries in this map.
entryIterator() - Method in class net.sf.kdgcommons.collections.HashMultimap
Iterates all entries in the map.
entrySet() - Method in class net.sf.kdgcommons.collections.DefaultMap
entrySet() - Method in class net.sf.kdgcommons.util.Counters
Returns the current mappings.
EnumerationIterable<T> - Class in net.sf.kdgcommons.collections
Wrapper for an Enumeration that allows it to be used in for-each loops.
EnumerationIterable(Enumeration<T>) - Constructor for class net.sf.kdgcommons.collections.EnumerationIterable
 
equalOrEmpty(String, String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Tests for equality, where null is equivalent to an empty string.
equals(Object) - Method in class net.sf.kdgcommons.collections.CompoundKey
 
equals(Object) - Method in class net.sf.kdgcommons.collections.DefaultMap
Two instances are equal if their delegate maps and value factories are equal.
equals(Object) - Method in class net.sf.kdgcommons.collections.DefaultMap.StaticValueFactory
 
equals(Object) - Method in class net.sf.kdgcommons.collections.HashMultimap
 
equals(Object) - Method in class net.sf.kdgcommons.collections.IdentityKey
 
equals(Object, Object) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Tests two objects for equality.
equals(int, Integer) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Tests for equality between an int and an Integer.
equals(Integer, int) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Tests for equality between an Integer and an int.
equals(int, int) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Tests for equality between two int values.
equals(long, Long) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Tests for equality between a long and a Long.
equals(Long, long) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Tests for equality between a Long and a long.
equals(long, long) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Tests for equality between two long values.
equals(Object) - Method in class net.sf.kdgcommons.tuple.Tuple2
Two NameValue instances are considered equal if both name and value components are equal.
equals(Object) - Method in class net.sf.kdgcommons.util.NameValue
Two NameValue instances are considered equal if both name and value components are equal.
escape(String) - Static method in class net.sf.kdgcommons.html.HtmlUtil
Replaces characters in the passed string with entities: < replaced with &lt; > replaced with &gt; & replaced with &amp; " replaced with &quot; ' replaced with &#39; (this allows single quotes to be used in attribute values that are delimited by single quotes) any non-ASCII character (ie, those with codepoints > 127) with a hexadecimal Unicode escape If passed null, returns an empty string.
ETAG - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
ExceptionMock - Class in net.sf.kdgcommons.test
Instances of this class act as factories for stub objects that always throw.
ExceptionMock(Throwable) - Constructor for class net.sf.kdgcommons.test.ExceptionMock
Creates a factory for stub objects that will always throw a specific exception.
ExceptionMock(Class<? extends Throwable>) - Constructor for class net.sf.kdgcommons.test.ExceptionMock
Creates a factory for stub objects that will throw new instances of the specified exception class.
executeQuery(Connection, String, Object...) - Static method in class net.sf.kdgcommons.sql.JDBCUtil
Executes a query and returns the results, ensuring that the created statement and resultset are closed.
executeUpdate(Connection, String, Object...) - Static method in class net.sf.kdgcommons.sql.JDBCUtil
Executes an update and returns the results, ensuring that the created statement is closed.
EXPECT - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
EXPIRES - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
extractLeft(String, String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Returns a substring of the source string, from its start up to but not including the first occurrence of the target string.
extractLeftOfLast(String, String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Returns a substring of the source string, from its start up to but not including the last occurrence of the target string.
extractRight(String, String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Returns a substring of the source string, from immediately after the first occurrence of the target string, to the end of the source.
extractRightOfLast(String, String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Returns a substring of the source string, from immediately after the last occurrence of the target string, to the end of the source.

F

file() - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Returns the file that is mapped by this buffer.
filter(Collection<V>, CollectionUtil.Predicate<V>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Applies the specified predicate functor to every element of a collection, in its natural iteration order, and returns a list containing only those elements for which the predicate returned true.
filter(List<T>, String, boolean) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Applies the given regex to the string value of every item in the passed list, building a new list from those value that either match or do not match.
FilterException(Throwable, int, Object, List<?>) - Constructor for exception net.sf.kdgcommons.collections.CollectionUtil.FilterException
 
first(List<T>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Returns the first element of the passed list, null if the list is empty or null.
flush() - Method in class net.sf.kdgcommons.buffer.ByteBufferOutputStream
 
flush() - Method in class net.sf.kdgcommons.io.CloseBlockingOutputStream
 
flush() - Method in class net.sf.kdgcommons.io.MonitoredOutputStream
 
flush() - Method in class net.sf.kdgcommons.io.TeeOutputStream
Flushes all characters currently buffered in the stream.
force() - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Iterates through the underlying buffers, calling force() on each; this will cause the buffers' contents to be written to disk.
formatDate(Date, String) - Static method in class net.sf.kdgcommons.util.FormatUtil
Formats a date using a SimpleDateFormat instance with the current locale's timezone.
formatDate(Date, String, String) - Static method in class net.sf.kdgcommons.util.FormatUtil
Formats a date using a SimpleDateFormat instance with the specified timezone.
formatDate(Calendar, String) - Static method in class net.sf.kdgcommons.util.FormatUtil
Formats the date held in a Calendar using the current locale's timezone (not the calendar's own timezone).
formatDate(Calendar, String, String) - Static method in class net.sf.kdgcommons.util.FormatUtil
Formats the date held in a Calendar using the specified timezone (not the calendar's own timezone).
formatDate(long, String) - Static method in class net.sf.kdgcommons.util.FormatUtil
Formats a Java timestamp (millis since epoch) using the current locale's timezone.
formatDate(long, String, String) - Static method in class net.sf.kdgcommons.util.FormatUtil
Formats a Java timestamp (millis since epoch) using the specified timezone (not the calendar's own timezone).
formatNumber(Number, String) - Static method in class net.sf.kdgcommons.util.FormatUtil
Formats an arbitrary numeric object according to the current locale.
FormatUtil - Class in net.sf.kdgcommons.util
Contains static utility methods that invoke the various java.text formatters, using a pool of thread-local instances.
FormatUtil() - Constructor for class net.sf.kdgcommons.util.FormatUtil
 
FROM - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
fromUTF8(byte[]) - Static method in class net.sf.kdgcommons.lang.StringUtil
Converts the passed byte array to a string, using UTF-8 encoding, and turning the checked exception (which should never happen) into a runtime exception.

G

GeneratedInputStream - Class in net.sf.kdgcommons.io
An InputStream that calls a method to generate blocks of data.
GeneratedInputStream() - Constructor for class net.sf.kdgcommons.io.GeneratedInputStream
 
get(long) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Returns the single byte at the specified index (relative to the relocation base).
get(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
get(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
get(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
get(long) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Retrieves a single byte from the specified index.
get(Object) - Method in class net.sf.kdgcommons.collections.DefaultMap
Retrieves an existing mapping, or returns the default value if no such mapping exists.
get(K) - Method in class net.sf.kdgcommons.collections.HashMultimap
Retrieves a single value from the map.
get(Class<?>) - Method in class net.sf.kdgcommons.lang.ClassTable
Returns the mapping corresponding to the passed class, traversing its concrete inheritance hierarchy until a match is found.
get(int) - Method in class net.sf.kdgcommons.util.ByteArray
Returns a single byte from the array.
get(Object) - Method in class net.sf.kdgcommons.util.Counters
Returns the value associated with the specified key, null if there is not a mapping for the key.
get0() - Method in class net.sf.kdgcommons.tuple.Tuple2
 
get1() - Method in class net.sf.kdgcommons.tuple.Tuple2
 
getAll(K) - Method in class net.sf.kdgcommons.collections.HashMultimap
Retrieves all values associated with the specified key.
getAllDefinitions() - Method in class net.sf.kdgcommons.util.SimpleCLIParser
Returns the complete list of option definitions.
getAllMethods(Class<?>) - Static method in class net.sf.kdgcommons.lang.ClassUtil
Deprecated.
- In retrospect, there are few if any good reasons for calling this method. ClassUtil.getVisibleMethods(java.lang.Class<?>) is the better choice.
getAnnotatedMethods(Class<?>, Class<? extends Annotation>) - Static method in class net.sf.kdgcommons.lang.ClassUtil
Returns the visible methods defined by the class and its superclasses that have the specified annotation.
getArgumentDescription() - Method in interface net.sf.kdgcommons.util.CommandLineProcessor.OptionHandler
Deprecated.
Returns text describing the option's arguments, for inclusion in the usage output.
getArray() - Method in class net.sf.kdgcommons.util.ByteArray
Returns the underlying array.
getBestMethod(Class<?>, String, Object...) - Static method in class net.sf.kdgcommons.lang.ClassUtil
Returns the most appropriate method to invoke for the specified parameter values.
getByObject(Object) - Method in class net.sf.kdgcommons.lang.ClassTable
Returns the mapping corresponding to the passed object's class.
getByteOrder() - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Returns the byte-order of this buffer (actually, the order of the first child buffer; they should all be the same).
getBytes(long, int) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Returns an array containing the len bytes starting at the specified index (relative to the relocation base).
getBytes(long, int) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
getBytes(long, int) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
getBytes(long, int) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
getBytes(long, int) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Retrieves len bytes starting at the specified index, storing them in a newly created byte[].
getBytes(long, byte[], int, int) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Retrieves len bytes starting at the specified index, storing them in an existing byte[] at the specified offset.
getBytes(int, int) - Method in class net.sf.kdgcommons.util.ByteArray
Returns a specified sub-section of the array.
getBytes(int) - Method in class net.sf.kdgcommons.util.ByteArray
Returns a byte[] containing the bytes from a specified offset to the end of the array.
getBytes() - Method in class net.sf.kdgcommons.util.ByteArray
Returns a byte[] containing all bytes in this array.
getChar(long) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Returns the 2-byte char value at the specified index (relative to the relocation base).
getChar(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
getChar(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
getChar(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
getChar(long) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Retrieves a two-byte character starting at the specified index (note that a Unicode code point may require calling this method twice).
getChars(ByteBuffer, int, int) - Static method in class net.sf.kdgcommons.buffer.BufferUtil
Returns a character array from the buffer.
getColumnClass(int) - Method in class net.sf.kdgcommons.util.DataTable
Returns the class of a column, null if the column can hold values of any class.
getColumnCount() - Method in class net.sf.kdgcommons.util.DataTable
Returns the number of columns in this table.
getColumnName(int) - Method in class net.sf.kdgcommons.util.DataTable
Returns the name of a column.
getDeclaredMethodsByAccess(Class<?>, boolean, boolean, boolean, boolean) - Static method in class net.sf.kdgcommons.lang.ClassUtil
Returns the declared methods of the specified class that have the desired access modifiers.
getDefinition(Object) - Method in class net.sf.kdgcommons.util.SimpleCLIParser
Returns a single option definition, by key, null if there's no such definition.
getDescription() - Method in class net.sf.kdgcommons.util.SimpleCLIParser.OptionDefinition
 
getDisableVal() - Method in class net.sf.kdgcommons.util.SimpleCLIParser.OptionDefinition
 
getDouble(long) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Returns the 8-byte double value at the specified index (relative to the relocation base).
getDouble(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
getDouble(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
getDouble(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
getDouble(long) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Retrieves an eight-byte floating-point number starting at the specified index.
getEnableVal() - Method in class net.sf.kdgcommons.util.SimpleCLIParser.OptionDefinition
 
getFieldValue(Object, String, Class<T>) - Static method in class net.sf.kdgcommons.lang.ClassUtil
Looks for the specified field in the class or its superclasses, returning its value if it exists.
getFloat(long) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Returns the 4-byte float value at the specified index (relative to the relocation base).
getFloat(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
getFloat(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
getFloat(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
getFloat(long) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Retrieves a four-byte floating-point number starting at the specified index.
getHelp() - Method in class net.sf.kdgcommons.util.SimpleCLIParser
Returns a help message that describes the various options.
getIndex() - Method in exception net.sf.kdgcommons.collections.CollectionUtil.FilterException
Returns the position (0-based) in the original collection's iteration where the wrapped exception was thrown.
getIndex() - Method in exception net.sf.kdgcommons.collections.CollectionUtil.MapException
Returns the position (0-based) in the original collection's iteration where the wrapped exception was thrown.
getIndex() - Method in exception net.sf.kdgcommons.collections.CollectionUtil.ReduceException
Returns the position (0-based) in the original collection's iteration where the wrapped exception was thrown.
getInstance(Class<T>) - Method in class net.sf.kdgcommons.test.ExceptionMock
 
getInstance() - Method in class net.sf.kdgcommons.test.SelfMock
Returns a proxy instance that passes invocations to this mock.
getInstance(Class<T>) - Method in class net.sf.kdgcommons.test.SimpleMock
 
getInt(long) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Returns the 4-byte int value at the specified index (relative to the relocation base).
getInt(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
getInt(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
getInt(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
getInt(long) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Retrieves a four-byte integer starting at the specified index.
getInt(K) - Method in class net.sf.kdgcommons.util.Counters
Retrieves the value of the specified key as a primitive int.
getInvalidByte() - Method in exception net.sf.kdgcommons.codec.InvalidSourceByteException
Returns the invalid byte.
getInvocationArg(String, int, int, Class<T>) - Method in class net.sf.kdgcommons.test.SelfMock
Returns a specific invocation argument, cast to a particular type.
getInvocationArgs(String, int) - Method in class net.sf.kdgcommons.test.SelfMock
Returns the arguments passed to a particular invocation of the named method (using zero-based counting).
getInvocationCount(String) - Method in class net.sf.kdgcommons.test.SelfMock
Returns the number of times the named function was invoked.
getIterable(K) - Method in class net.sf.kdgcommons.collections.HashMultimap
Returns an Iterable that simply calls HashMultimap.getIterator(K).
getIterator(K) - Method in class net.sf.kdgcommons.collections.HashMultimap
Retrieves an iterator over the values for a given key.
getKey() - Method in class net.sf.kdgcommons.util.SimpleCLIParser.OptionDefinition
 
getLong(long) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Returns the 8-byte long value at the specified index (relative to the relocation base).
getLong(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
getLong(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
getLong(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
getLong(long) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Retrieves an eight-byte integer starting at the specified index.
getLong(K) - Method in class net.sf.kdgcommons.util.Counters
Retrieves the value of the specified key as a primitive long.
getMostRecentInvocationArg(String, int, Class<T>) - Method in class net.sf.kdgcommons.test.SelfMock
The a specific argument from the most recent invocation, cast to a particular type.
getMostRecentInvocationArgs(String) - Method in class net.sf.kdgcommons.test.SelfMock
Returns the arguments passed to the most recent invocation of the named method.This is primarily useful when dealing with overloaded methods, where you might not know what types the arguments are.
getName() - Method in class net.sf.kdgcommons.util.NameValue
 
getNumParams() - Method in class net.sf.kdgcommons.util.SimpleCLIParser.OptionDefinition
 
getOptionDescription() - Method in interface net.sf.kdgcommons.util.CommandLineProcessor.OptionHandler
Deprecated.
Returns a description of this option, for inclusion in the usage output.
getOptionName() - Method in interface net.sf.kdgcommons.util.CommandLineProcessor.OptionHandler
Deprecated.
Returns the name of the option.
getOptions() - Method in class net.sf.kdgcommons.util.SimpleCLIParser
Returns the keys for all specified options, in the order that they appear on the command line.
getOptionValues(Object) - Method in class net.sf.kdgcommons.util.SimpleCLIParser
For options that take parameters, returns the parameters.
getParameters() - Method in class net.sf.kdgcommons.util.SimpleCLIParser
Returns the complete list of non-option parameters.
getPartialResults() - Method in exception net.sf.kdgcommons.collections.CollectionUtil.FilterException
Returns any partial results from the map operation.
getPartialResults() - Method in exception net.sf.kdgcommons.collections.CollectionUtil.MapException
Returns any partial results from the map operation.
getPartialResults() - Method in exception net.sf.kdgcommons.collections.CollectionUtil.ReduceException
Returns any partial results.
getPrimitiveType(Object) - Static method in class net.sf.kdgcommons.lang.ClassUtil
Extracts the TYPE field value from a primitive wrapper type.
getShort(long) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Returns the 2-byte short value at the specified index (relative to the relocation base).
getShort(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
getShort(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
getShort(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
getShort(long) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Retrieves a four-byte integer starting at the specified index.
getTableSize() - Method in class net.sf.kdgcommons.collections.HashMultimap
 
getter(String) - Method in class net.sf.kdgcommons.bean.Introspection
Returns the getter method for the named property, null no method is known (all properties returned by Introspection.propertyNames() must have getters, but may not have setters).
getType() - Method in class net.sf.kdgcommons.util.SimpleCLIParser.OptionDefinition
 
getUTF8String(ByteBuffer, int, int) - Static method in class net.sf.kdgcommons.buffer.BufferUtil
Extracts a specified sequence of bytes from a buffer and converts it to a Java String using UTF-8 encoding.
getValue() - Method in exception net.sf.kdgcommons.collections.CollectionUtil.FilterException
Returns the value that caused the exception.
getValue() - Method in exception net.sf.kdgcommons.collections.CollectionUtil.MapException
Returns the value that caused the exception.
getValue() - Method in exception net.sf.kdgcommons.collections.CollectionUtil.ReduceException
Returns the value that caused the exception.
getValue(int, int) - Method in class net.sf.kdgcommons.util.DataTable
Returns the value at an existing row/column location.
getValue() - Method in class net.sf.kdgcommons.util.NameValue
 
getVia(Object, Object...) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Retrieves a value from a nested collection hierarchy by following a sequence of keys.
getVisibleMethodMap(Class<?>) - Static method in class net.sf.kdgcommons.lang.ClassUtil
Returns a multi-map of the methods visible to the given class.
getVisibleMethods(Class<?>) - Static method in class net.sf.kdgcommons.lang.ClassUtil
Returns all methods visible to the specified class.

H

handleUnprocessedArguments(List<String>) - Method in class net.sf.kdgcommons.util.CommandLineProcessor
Deprecated.
This method is called after all options have been handled.
hashCode() - Method in class net.sf.kdgcommons.collections.CompoundKey
 
hashCode() - Method in class net.sf.kdgcommons.collections.DefaultMap
Returns the hashcode of the delegate map.
hashCode() - Method in class net.sf.kdgcommons.collections.DefaultMap.StaticValueFactory
 
hashCode() - Method in class net.sf.kdgcommons.collections.HashMultimap
 
hashCode() - Method in class net.sf.kdgcommons.collections.IdentityKey
 
hashCode(Object) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Returns the hashcode of the passed object, 0 if passed null .
hashCode() - Method in class net.sf.kdgcommons.tuple.Tuple2
 
hashCode() - Method in class net.sf.kdgcommons.util.NameValue
 
HashMultimap<K,V> - Class in net.sf.kdgcommons.collections
A map that can have multiple values, and which uses hashed lookups for its keys.
HashMultimap(HashMultimap.Behavior, int, double) - Constructor for class net.sf.kdgcommons.collections.HashMultimap
Base constructor, lets you control everything.
HashMultimap(HashMultimap.Behavior) - Constructor for class net.sf.kdgcommons.collections.HashMultimap
Convenience constructor: creates a stable with small initial capacity and the specified multi-value behavior.
HashMultimap() - Constructor for class net.sf.kdgcommons.collections.HashMultimap
Default constructor: instance will have Set behavior and a small initial capacity.
HashMultimap.Behavior - Enum in net.sf.kdgcommons.collections
Controls the handling of equal key-value pairs.
hasNext() - Method in class net.sf.kdgcommons.collections.CombiningIterable.CombiningIterator
 
HexCodec - Class in net.sf.kdgcommons.codec
Converts binary data to/from a string of hexadecimal digits (eg, an array containing the bytes [0x01, 0x23, 0xEF] is encoded as the string "0123EF").
HexCodec() - Constructor for class net.sf.kdgcommons.codec.HexCodec
Creates an instance that produces unbroken strings of hex digits.
HexCodec(int, String) - Constructor for class net.sf.kdgcommons.codec.HexCodec
Creates an instance that produces strings with separators inserted every lineLength characters, and ignores the specified separator when reading strings.
HexDump - Class in net.sf.kdgcommons.util
Utility class to produce formatted hex output from arrays of bytes.
HexDump(int, boolean, int, int, boolean, int, boolean, char) - Constructor for class net.sf.kdgcommons.util.HexDump
Base constructor, with all sorts of options.
HexDump() - Constructor for class net.sf.kdgcommons.util.HexDump
Convenience constructor, which emits 78-character-wide lines with the following characteristics: Shows offset, using 8-char wide counter followed by 2 chars 16 bytes per line Shows characters, limited to ASCII, with replacement by spaces, preceeded by 4 spaces
HexDumpOutputStream - Class in net.sf.kdgcommons.io
An OutputStream that logs all writes to a specified Writer, in a hexdump format.
HexDumpOutputStream(PrintWriter, char) - Constructor for class net.sf.kdgcommons.io.HexDumpOutputStream
The base constructor.
HexDumpOutputStream(PrintWriter) - Constructor for class net.sf.kdgcommons.io.HexDumpOutputStream
Convenience constructor, which shows offset and character output, with non-printing and non-ASCII characters replaced by spaces.
HOST - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
HTML - Static variable in class net.sf.kdgcommons.net.MimeTypes
 
HTML_POST - Static variable in class net.sf.kdgcommons.net.MimeTypes
 
htmlToText(String) - Static method in class net.sf.kdgcommons.html.HtmlUtil
Converts HTML to plain text, according to the following rules: Replaces any newlines or carriage returns in the source text with single spaces.
HtmlUtil - Class in net.sf.kdgcommons.html
Static methods for working with HTML content, typically in a string.
HtmlUtil() - Constructor for class net.sf.kdgcommons.html.HtmlUtil
 
HttpHeaders - Class in net.sf.kdgcommons.net
Static defines for standard HTTP headers, to prevent typos.
HttpHeaders() - Constructor for class net.sf.kdgcommons.net.HttpHeaders
 
HttpRequestMethod - Enum in net.sf.kdgcommons.net
All valid HTTP methods.

I

IdentityKey - Class in net.sf.kdgcommons.collections
A wrapper for a hashed key that uses identity semantics, because sometimes you want to use a Set.
IdentityKey(Object) - Constructor for class net.sf.kdgcommons.collections.IdentityKey
 
IdentityKey - Class in net.sf.kdgcommons.util
Deprecated.
Moved to net.sf.kdgcommons.collections.
IdentityKey(Object) - Constructor for class net.sf.kdgcommons.util.IdentityKey
Deprecated.
 
identityToString(Object) - Static method in class net.sf.kdgcommons.lang.ObjectUtil
Returns a string value of an object similar to that returned by Object.toString().
IF_MATCH - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
IF_MODIFIED_SINCE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
IF_NONE_MATCH - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
IF_RANGE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
IF_UNMODIFIED_SINCE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
increment(K) - Method in class net.sf.kdgcommons.util.Counters
Increments the specified counter, creating it if necessary.
initialValue() - Method in class net.sf.kdgcommons.buffer.ByteBufferThreadLocal
 
initialValue() - Method in class net.sf.kdgcommons.buffer.MappedFileBufferThreadLocal
 
InplaceSort - Class in net.sf.kdgcommons.collections
A collection of static sort routines for random-access data structures that provide the following characteristics: O(NlogN) performance In-place operation; unlike the JDK's list/array sort, does not consume additional heap memory Allows a comparator for sorting primitive ints Supports sorting of arbitrary data structures (eg, records stored in an of-heap buffer) May not be stable (the current implementation is heapsort, which is not stable)
InplaceSort() - Constructor for class net.sf.kdgcommons.collections.InplaceSort
 
InplaceSort.Accessor - Interface in net.sf.kdgcommons.collections
The sort uses an implementation of this interface to access an array-like structure.
InplaceSort.IntComparator - Interface in net.sf.kdgcommons.collections
Implementations of this class compare two primitive ints, returning the same values as java.util.Comparator.
insert(int, ByteArray) - Method in class net.sf.kdgcommons.util.ByteArray
Inserts the passed array at an arbitrary point in this array.
insert(int, ByteArray, int, int) - Method in class net.sf.kdgcommons.util.ByteArray
Inserts a portion of the passed array at an arbitrary point in this array.
insert(int, byte[]) - Method in class net.sf.kdgcommons.util.ByteArray
Inserts the passed array at an arbitrary point in this array.
insert(int, byte[], int, int) - Method in class net.sf.kdgcommons.util.ByteArray
Inserts the passed array of bytes into the middle of this array.
intern(String) - Method in class net.sf.kdgcommons.lang.StringCanon
Interns the string, returning the canonical version.
intern(String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Interns a string using a static instance of StringCanon.
internalNameToExternal(String) - Static method in class net.sf.kdgcommons.lang.ClassUtil
Converts the "internal" name of a class (eg: "[Ljava/lang/String;") to its "external" representation (eg: "java.lang.String[]").
Introspection - Class in net.sf.kdgcommons.bean
A replacement for java.beans.Introspector that is tailored to conversion of bean data into other forms.
Introspection(Class<?>) - Constructor for class net.sf.kdgcommons.bean.Introspection
Introspects the specified class, per the rules above.
Introspection(Class<?>, boolean) - Constructor for class net.sf.kdgcommons.bean.Introspection
Introspects the specified class, per the rules above.
IntrospectionCache - Class in net.sf.kdgcommons.bean
A thread-safe cache of Introspection objects.
IntrospectionCache() - Constructor for class net.sf.kdgcommons.bean.IntrospectionCache
Creates an instance that uses a local cache.
IntrospectionCache(boolean) - Constructor for class net.sf.kdgcommons.bean.IntrospectionCache
Creates an instance that will either use a local or shared (static) cache.
IntrospectionException - Exception in net.sf.kdgcommons.bean
This exception is thrown by methods in Introspection and IntrospectionCache.
IntrospectionException(String, Throwable) - Constructor for exception net.sf.kdgcommons.bean.IntrospectionException
 
InvalidSourceByteException - Exception in net.sf.kdgcommons.codec
This exception is thrown during decoding, when an invalid character is found in the source stream.
InvalidSourceByteException(int) - Constructor for exception net.sf.kdgcommons.codec.InvalidSourceByteException
 
invoke(int, V) - Method in interface net.sf.kdgcommons.collections.CollectionUtil.IndexValueMapFunctor
 
invoke(int, V, R) - Method in interface net.sf.kdgcommons.collections.CollectionUtil.IndexValueReduceFunctor
 
invoke(int, V) - Method in interface net.sf.kdgcommons.collections.CollectionUtil.Predicate
 
invoke(Object, Method, Object[]) - Method in class net.sf.kdgcommons.test.ExceptionMock
 
invoke(Object, Method, Object[]) - Method in class net.sf.kdgcommons.test.SelfMock
 
invoke(Object, Method, Object[]) - Method in class net.sf.kdgcommons.test.SimpleMock
 
IOUtil - Class in net.sf.kdgcommons.io
Static utility methods for working with classes in the java.io and java.nio packages.
IOUtil() - Constructor for class net.sf.kdgcommons.io.IOUtil
 
isBase64Char(char) - Static method in class net.sf.kdgcommons.util.Base64Converter
Deprecated.
Determines whether the passed character is a valid Base64 encoding character.
isBlank(String) - Static method in class net.sf.kdgcommons.lang.StringUtil
A null-safe check for strings that contain only whitespace (if anything).
isEmpty(Collection<?>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Returns true if the passed collection is either null or has size 0.
isEmpty(Map<?, ?>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Returns true if the passed map is either null or has size 0.
isEmpty() - Method in class net.sf.kdgcommons.collections.DefaultMap
isEmpty() - Method in class net.sf.kdgcommons.collections.HashMultimap
Convenience method to determine whether the map is empty (size is 0).
isEmpty(String) - Static method in class net.sf.kdgcommons.lang.StringUtil
A null-safe check for empty strings, where null is considered an empty string.
isEmpty() - Method in class net.sf.kdgcommons.util.Counters
Returns true if the underlying map is empty.
isEnableByDefault() - Method in class net.sf.kdgcommons.util.SimpleCLIParser.OptionDefinition
 
isIn(String, String...) - Static method in class net.sf.kdgcommons.lang.StringUtil
Returns true if the passed string is equal to one of the target strings, false otherwise.
isNotEmpty(Collection<?>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Returns true if the passed collection is not null and has size > 0.
isNotEmpty(Map<?, ?>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Returns true if the passed map is not null and has size > 0.
isOptionEnabled(Object) - Method in class net.sf.kdgcommons.util.SimpleCLIParser
Indicates whether the option identified by the passed key is enabled or not.
isOverridden(Method, Method[]) - Static method in class net.sf.kdgcommons.lang.ClassUtil
Determines whether a given method is overridden by methods in the passed array.
isWritable() - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Indicates whether this buffer is read-write or read-only.
iterator() - Method in class net.sf.kdgcommons.collections.CombiningIterable
 
iterator() - Method in class net.sf.kdgcommons.collections.CompoundKey
Returns an iterator over the components of this key.
iterator() - Method in class net.sf.kdgcommons.collections.EnumerationIterable
 
iterator() - Method in class net.sf.kdgcommons.collections.IteratorIterable
 
iterator() - Method in class net.sf.kdgcommons.collections.OneElementIterable
 
iterator() - Method in class net.sf.kdgcommons.util.Counters
Returns an iterator for the entries in the map.
iterator(byte[]) - Method in class net.sf.kdgcommons.util.HexDump
Creates an iterator over the entire passed buffer, where each call to next returns a line of output.
iterator(byte[], int, int) - Method in class net.sf.kdgcommons.util.HexDump
Creates an iterator over a portion of the passed buffer, where each call to next returns a line of output.
IteratorIterable<T> - Class in net.sf.kdgcommons.collections
Wrapper for an Iterator that allows it to be used in for-each loops.
IteratorIterable(Iterator<T>) - Constructor for class net.sf.kdgcommons.collections.IteratorIterable
 

J

JAVASCRIPT - Static variable in class net.sf.kdgcommons.net.MimeTypes
 
JDBCUtil - Class in net.sf.kdgcommons.sql
A collection of utility methods for working at the JDBC level.
JDBCUtil() - Constructor for class net.sf.kdgcommons.sql.JDBCUtil
 
join(Iterable<T>, String) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Iterates the passed collection, converts its elements to strings, then concatenates those strings with the specified delimiter between them.
JSON - Static variable in class net.sf.kdgcommons.net.MimeTypes
 

K

keySet() - Method in class net.sf.kdgcommons.collections.DefaultMap
keySet() - Method in class net.sf.kdgcommons.collections.HashMultimap
Returns a set containing the keys from this map.
keySet() - Method in class net.sf.kdgcommons.util.Counters
Returns the current keys in the map.

L

last(List<T>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Returns the last element of the passed list, null if the list is empty or null.
LAST_MODIFIED - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
lastChar(StringBuilder) - Static method in class net.sf.kdgcommons.lang.StringBuilderUtil
Returns the last character in the passed StringBuilder, '\0' if passed null or the builder's length is 0.
lastChar(String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Returns the last character in the passed string, '\0' if passed null or an empty string.
length(String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Returns the length of the passed string, 0 if the string is null.
limit() - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Returns the limit of the buffer: the highest legal index + 1.
limit() - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
limit() - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
limit() - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
limit() - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Returns the buffer's limit -- the maximum index in the buffer + 1.
LOCATION - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
lookup(Class<?>) - Method in class net.sf.kdgcommons.bean.IntrospectionCache
Returns an Introspection of the passed class.
lookup(Class<?>, boolean) - Method in class net.sf.kdgcommons.bean.IntrospectionCache
Returns an Introspection of the passed class, optionally calling setAccessible(true) on all accessor methods.

M

map(File, long, long, FileChannel.MapMode) - Static method in class net.sf.kdgcommons.buffer.BufferUtil
Memory maps a segment of a file.
map(Collection<V>, CollectionUtil.IndexValueMapFunctor<V, R>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Applies the specified functor to every element of the given collection, in its natural iteration order, and returns a list of the results.
map(ExecutorService, Collection<V>, CollectionUtil.IndexValueMapFunctor<V, R>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Performs a parallel map operation.
MapBuilder<K,V> - Class in net.sf.kdgcommons.collections
A simple utility class that allows maps to be created and populated with a single expression.
MapBuilder(Map<K, V>) - Constructor for class net.sf.kdgcommons.collections.MapBuilder
 
MapException(Throwable, int, Object, List<?>) - Constructor for exception net.sf.kdgcommons.collections.CollectionUtil.MapException
 
MappedFileBuffer - Class in net.sf.kdgcommons.buffer
A wrapper for memory-mapped files that generally preserves the semantics of ByteBuffer, while supporing files larger than 2 GB.
MappedFileBuffer(File) - Constructor for class net.sf.kdgcommons.buffer.MappedFileBuffer
Opens and memory-maps the specified file for read-only access, using the maximum segment size.
MappedFileBuffer(File, boolean) - Constructor for class net.sf.kdgcommons.buffer.MappedFileBuffer
Opens and memory-maps the specified file for read-only or read-write access, using the maximum segment size.
MappedFileBuffer(File, int, boolean) - Constructor for class net.sf.kdgcommons.buffer.MappedFileBuffer
Opens and memory-maps the specified file, for read-only or read-write access, with a specified segment size.
MappedFileBufferThreadLocal - Class in net.sf.kdgcommons.buffer
Holds a source MappedFileBuffer and makes thread-local copies of it.
MappedFileBufferThreadLocal(MappedFileBuffer) - Constructor for class net.sf.kdgcommons.buffer.MappedFileBufferThreadLocal
 
MappedFileBufferTLFacade(MappedFileBuffer) - Constructor for class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
MappedFileBufferTLFacade(MappedFileBuffer, long) - Constructor for class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
mark(int) - Method in class net.sf.kdgcommons.buffer.ByteBufferInputStream
 
mark(int) - Method in class net.sf.kdgcommons.io.BOMExclusionInputStream
 
mark(int) - Method in class net.sf.kdgcommons.io.CloseBlockingInputStream
 
mark(int) - Method in class net.sf.kdgcommons.io.CombiningInputStream
Sets a mark on the current stream.
mark(int) - Method in class net.sf.kdgcommons.io.GeneratedInputStream
By default, this method does nothing.
mark(int) - Method in class net.sf.kdgcommons.io.MonitoredInputStream
Sets a mark on the underlying stream.
mark(int) - Method in class net.sf.kdgcommons.io.TeeInputStream
Sets a mark on the base stream.
markSupported() - Method in class net.sf.kdgcommons.buffer.ByteBufferInputStream
 
markSupported() - Method in class net.sf.kdgcommons.io.BOMExclusionInputStream
 
markSupported() - Method in class net.sf.kdgcommons.io.ChannelInputStream
Always returns false.
markSupported() - Method in class net.sf.kdgcommons.io.CloseBlockingInputStream
 
markSupported() - Method in class net.sf.kdgcommons.io.CombiningInputStream
Determines whether a mark can be placed at this point in the stream.
markSupported() - Method in class net.sf.kdgcommons.io.GeneratedInputStream
By default this method returns false.
markSupported() - Method in class net.sf.kdgcommons.io.MonitoredInputStream
Returns whether the underlying stream supports MonitoredInputStream.mark(int).
markSupported() - Method in class net.sf.kdgcommons.io.TeeInputStream
Returns whether the base stream supports TeeInputStream.mark(int).
MAX_FORWARDS - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
MimeTypes - Class in net.sf.kdgcommons.net
An ever-growing list of MIME types that my applications might use, to avoid typos.
MimeTypes() - Constructor for class net.sf.kdgcommons.net.MimeTypes
 
MonitoredInputStream - Class in net.sf.kdgcommons.io
A decorator InputStream that invokes a MonitoredInputStream.progress(long, long) method after each read, reporting the number of bytes processed.
MonitoredInputStream(InputStream) - Constructor for class net.sf.kdgcommons.io.MonitoredInputStream
 
MonitoredOutputStream - Class in net.sf.kdgcommons.io
A decorator OutputStream that invokes a MonitoredOutputStream.progress(long, long) method after each write, reporting the number of bytes processed.
MonitoredOutputStream(OutputStream) - Constructor for class net.sf.kdgcommons.io.MonitoredOutputStream
 

N

NamedThreadFactory - Class in net.sf.kdgcommons.lang
A ThreadFactory implementation that allows the user to specify a prefix name for each thread.
NamedThreadFactory(String) - Constructor for class net.sf.kdgcommons.lang.NamedThreadFactory
A factory that creates daemon threads with NORMAL priority, belonging to the thread group of the thread that created the factory.
NamedThreadFactory(String, ThreadGroup, int, boolean) - Constructor for class net.sf.kdgcommons.lang.NamedThreadFactory
A factory that allows complete control over the threads created.
NameValue<T> - Class in net.sf.kdgcommons.util
An immutable 2-tuple that associates a name with a value.
NameValue(String, T) - Constructor for class net.sf.kdgcommons.util.NameValue
 
net.sf.kdgcommons.bean - package net.sf.kdgcommons.bean
 
net.sf.kdgcommons.buffer - package net.sf.kdgcommons.buffer
Classes for working with java.nio.ByteBuffers and their close kin.
net.sf.kdgcommons.codec - package net.sf.kdgcommons.codec
 
net.sf.kdgcommons.collections - package net.sf.kdgcommons.collections
Utilities for working with arrays and the JDK collections framework.
net.sf.kdgcommons.html - package net.sf.kdgcommons.html
Utility classes for generating HTML content.
net.sf.kdgcommons.io - package net.sf.kdgcommons.io
Various input and output streams, along with utilities for working with the java.io and java.nio packages.
net.sf.kdgcommons.lang - package net.sf.kdgcommons.lang
Utilities for working with the core JDK classes.
net.sf.kdgcommons.net - package net.sf.kdgcommons.net
Utility classes for working with network protocols.
net.sf.kdgcommons.sql - package net.sf.kdgcommons.sql
Utilities to support code that uses JDBC.
net.sf.kdgcommons.test - package net.sf.kdgcommons.test
Classes for working with JUnit tests.
net.sf.kdgcommons.tuple - package net.sf.kdgcommons.tuple
This package contains a variety of tuple implementations: paramterized, immutable containers for small numbers of values.
net.sf.kdgcommons.util - package net.sf.kdgcommons.util
Everything that didn't fit someplace better.
newInstance() - Method in class net.sf.kdgcommons.collections.DefaultMap.StaticValueFactory
 
newInstance() - Method in interface net.sf.kdgcommons.collections.DefaultMap.ValueFactory
 
newInstance() - Method in interface net.sf.kdgcommons.lang.ObjectFactory
Returns an instance of the object.
newThread(Runnable) - Method in class net.sf.kdgcommons.lang.NamedThreadFactory
 
next() - Method in class net.sf.kdgcommons.collections.CombiningIterable.CombiningIterator
 
nextBuffer() - Method in class net.sf.kdgcommons.io.GeneratedInputStream
Returns the next buffer of generated data, null when there's no more data.
nextNonWhitespace(InputStream) - Static method in class net.sf.kdgcommons.codec.Codec
Returns the next non-whitespace character from the input stream, -1 if at EOF.
NumberUtil - Class in net.sf.kdgcommons.lang
A collection of static methods for working with subclasses of Number.
NumberUtil() - Constructor for class net.sf.kdgcommons.lang.NumberUtil
 
NumericAsserts - Class in net.sf.kdgcommons.test
Static assertion methods for numeric values (any data type).
NumericAsserts() - Constructor for class net.sf.kdgcommons.test.NumericAsserts
 

O

ObjectFactory<T> - Interface in net.sf.kdgcommons.lang
An object whose role is producing other objects.
ObjectUtil - Class in net.sf.kdgcommons.lang
Static utility methods for working with objects.
ObjectUtil() - Constructor for class net.sf.kdgcommons.lang.ObjectUtil
 
OneElementIterable<T> - Class in net.sf.kdgcommons.collections
Produces an Iterator for a single value.
OneElementIterable(T) - Constructor for class net.sf.kdgcommons.collections.OneElementIterable
 
openFile(File) - Static method in class net.sf.kdgcommons.io.IOUtil
Opens a file.
openFile(String) - Static method in class net.sf.kdgcommons.io.IOUtil
Opens a file.
OptionDefinition(Object, String, String, boolean, String) - Constructor for class net.sf.kdgcommons.util.SimpleCLIParser.OptionDefinition
Constructor for an option that has separate "enable" and "disable" strings.
OptionDefinition(Object, String, int, String) - Constructor for class net.sf.kdgcommons.util.SimpleCLIParser.OptionDefinition
Constructor for an option that takes zero or more parameters.

P

padLeft(String, int, char) - Static method in class net.sf.kdgcommons.lang.StringUtil
Pads a string that is < N characters by adding the specified character on the left side.
padRight(String, int, char) - Static method in class net.sf.kdgcommons.lang.StringUtil
Pads a string that is < N characters by adding the specified character on the right side.
parse(String, Class<? extends Number>) - Static method in class net.sf.kdgcommons.lang.NumberUtil
Parses the passed string into an instance of the specified class.
parseDigit(char, int) - Static method in class net.sf.kdgcommons.lang.StringUtil
Parses the passed character as a digit in the specified base, returning its value.
parseQueryString(String, boolean) - Static method in class net.sf.kdgcommons.html.HtmlUtil
Parses a query string into a parameter map, decoding values as needed.
partition(Iterable<T>, int) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Partitions the passed iterable into N sublists, each of which has at most maxSize elements.
PRAGMA - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
prepare(Connection, String, Object...) - Static method in class net.sf.kdgcommons.sql.JDBCUtil
Creates a PreparedStatement from the provided connection.
process(ListIterator<String>) - Method in interface net.sf.kdgcommons.util.CommandLineProcessor.OptionHandler
Deprecated.
Processes the option.
process(String[]) - Method in class net.sf.kdgcommons.util.CommandLineProcessor
Deprecated.
Processes the command-line options.
progress(long, long) - Method in class net.sf.kdgcommons.io.MonitoredInputStream
Called after each operation that reads bytes, to report the number of bytes read.
progress(long, long) - Method in class net.sf.kdgcommons.io.MonitoredOutputStream
Called after each operation that writes bytes, to report the number of bytes written.
propertyNames() - Method in class net.sf.kdgcommons.bean.Introspection
Returns the property names for the specified class.
PROXY_AUTHENTICATE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
PROXY_AUTHORIZATION - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
put(long, byte) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Updates the single byte at the specified index (relative to the relocation base).
put(long, byte) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
put(long, byte) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
put(long, byte) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
put(long, byte) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Stores a single byte at the specified index.
put(K, V) - Method in class net.sf.kdgcommons.collections.DefaultMap
Stores a new value in the map, replacing any existing value.
put(K, V) - Method in class net.sf.kdgcommons.collections.HashMultimap
Adds a key-value pair to the map.
put(K, V) - Method in class net.sf.kdgcommons.collections.MapBuilder
 
put(Class<?>, T) - Method in class net.sf.kdgcommons.lang.ClassTable
Adds a mapping to the table, replacing any previous exact mapping for that class.
put(K, Long) - Method in class net.sf.kdgcommons.util.Counters
Stores a new mapping, returning the previous mapping.
putAll(Map<? extends K, ? extends V>) - Method in class net.sf.kdgcommons.collections.DefaultMap
putAll(Map<? extends K, ? extends Long>) - Method in class net.sf.kdgcommons.util.Counters
Initializes this object from the passed map.
putBytes(long, byte[]) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Inserts the specified array into the buffer, starting at the given index (relative to the relocation base).
putBytes(long, byte[]) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
putBytes(long, byte[]) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
putBytes(long, byte[]) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
putBytes(long, byte[]) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Stores the contents of the passed byte array, starting at the given index.
putBytes(long, byte[], int, int) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Stores a section of the passed byte array, defined by off and len, starting at the given index.
putChar(long, char) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Sets the 2-byte char value at the specified index (relative to the relocation base).
putChar(long, char) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
putChar(long, char) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
putChar(long, char) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
putChar(long, char) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Stores a two-byte character starting at the specified index.
putDouble(long, double) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Sets the 8-byte double value at the specified index (relative to the relocation base).
putDouble(long, double) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
putDouble(long, double) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
putDouble(long, double) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
putDouble(long, double) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Stores an eight-byte floating-point number starting at the specified index.
putFloat(long, float) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Sets the 4-byte float value at the specified index (relative to the relocation base).
putFloat(long, float) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
putFloat(long, float) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
putFloat(long, float) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
putFloat(long, float) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Stores a four-byte floating-point number starting at the specified index.
putIf(Map<K, V>, K, V, boolean) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Stores an entry in a map if the boolean expression is true.
putIfAbsent(Map<K, V>, K, V) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Adds the specified item to a map if it does not already exist.
putIfAbsent(Map<K, V>, Map<K, V>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Adds entries from add to base where there is not already a mapping with the same key.
putIfAbsent(K, Long) - Method in class net.sf.kdgcommons.util.Counters
Adds a mapping for the value, if one does not already exist.
putIfNotNull(Map<K, V>, K, V) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Stores an entry in a map if the value is not null.
putInt(long, int) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Sets the 4-byte int value at the specified index (relative to the relocation base).
putInt(long, int) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
putInt(long, int) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
putInt(long, int) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
putInt(long, int) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Stores a four-byte integer starting at the specified index.
putLong(long, long) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Sets the 8-byte long value at the specified index (relative to the relocation base).
putLong(long, long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
putLong(long, long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
putLong(long, long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
putLong(long, long) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Stores an eight-byte integer starting at the specified index.
putLong(K, long) - Method in class net.sf.kdgcommons.util.Counters
Sets the mapping to the specified value.
putShort(long, short) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Sets the 2-byte short value at the specified index (relative to the relocation base).
putShort(long, short) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
putShort(long, short) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
putShort(long, short) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
putShort(long, short) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Stores a four-byte integer starting at the specified index.

R

randomAlphaString(int, int) - Static method in class net.sf.kdgcommons.lang.StringUtil
Generates a string containing (non-cryptographicaly-) random ASCII alphabetic characters (A-Za-z).
randomString(String, int, int) - Static method in class net.sf.kdgcommons.lang.StringUtil
Generates a (non-cryptographicaly-) random string consisting of characters from the passed string.
RANGE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
read() - Method in class net.sf.kdgcommons.buffer.ByteBufferInputStream
 
read(byte[], int, int) - Method in class net.sf.kdgcommons.buffer.ByteBufferInputStream
 
read(byte[]) - Method in class net.sf.kdgcommons.buffer.ByteBufferInputStream
 
read() - Method in class net.sf.kdgcommons.io.BOMExclusionInputStream
 
read(byte[], int, int) - Method in class net.sf.kdgcommons.io.BOMExclusionInputStream
 
read(byte[]) - Method in class net.sf.kdgcommons.io.BOMExclusionInputStream
 
read() - Method in class net.sf.kdgcommons.io.ChannelInputStream
Reads a single byte from the channel.
read(byte[]) - Method in class net.sf.kdgcommons.io.ChannelInputStream
Attempts to fill the passed array from the channel, returning the number of bytes read (which may be 0), or -1 to indicate end-of-file.
read(byte[], int, int) - Method in class net.sf.kdgcommons.io.ChannelInputStream
Attempts to fill a section of the passed array from the channel, returning the number of bytes read (which may be 0), or -1 to indicate end-of-file.
read() - Method in class net.sf.kdgcommons.io.CloseBlockingInputStream
 
read(byte[]) - Method in class net.sf.kdgcommons.io.CloseBlockingInputStream
 
read(byte[], int, int) - Method in class net.sf.kdgcommons.io.CloseBlockingInputStream
 
read() - Method in class net.sf.kdgcommons.io.CombiningInputStream
Reads a single byte of data, transparently switching between input streams as necessary.
read(byte[], int, int) - Method in class net.sf.kdgcommons.io.CombiningInputStream
Reads up to len bytes, transparently swtching between input streams as necessary.
read(byte[]) - Method in class net.sf.kdgcommons.io.CombiningInputStream
 
read() - Method in class net.sf.kdgcommons.io.GeneratedInputStream
 
read(byte[], int, int) - Method in class net.sf.kdgcommons.io.GeneratedInputStream
 
read(byte[]) - Method in class net.sf.kdgcommons.io.GeneratedInputStream
Attempts to completely fill the passed buffer, calling GeneratedInputStream.nextBuffer() until it is either full or EOF is reached.
read() - Method in class net.sf.kdgcommons.io.MonitoredInputStream
Reads a single byte from the underlying stream, blocking if necessary.
read(byte[]) - Method in class net.sf.kdgcommons.io.MonitoredInputStream
Reads up bytes from the underlying stream into the passed buffer, blocking if necessary.
read(byte[], int, int) - Method in class net.sf.kdgcommons.io.MonitoredInputStream
Reads up to the specified number of bytes from the underlying stream, blocking if necessary.
read() - Method in class net.sf.kdgcommons.io.TeeInputStream
Reads a single byte from the base, writing it to the tee.
read(byte[], int, int) - Method in class net.sf.kdgcommons.io.TeeInputStream
Reads multiple bytes from the base, into an arbitrary position in the specified buffer, and writes the same bytes to the tee.
read(byte[]) - Method in class net.sf.kdgcommons.io.TeeInputStream
Reads as many bytes as possible from the base, up to the size of the passed buffer, and writes them to the tee.
read() - Method in class net.sf.kdgcommons.io.TranslatingInputStream
 
readFully(InputStream, byte[]) - Static method in class net.sf.kdgcommons.io.IOUtil
Repeatedly reads the passed stream, until either the buffer is full or EOF is reached.
ReadThroughCache<K,V> - Class in net.sf.kdgcommons.util
A size-limited LRU cache that uses a retriever function to load values.
ReadThroughCache(int, ReadThroughCache.Retriever<K, V>, ReadThroughCache.Synchronization) - Constructor for class net.sf.kdgcommons.util.ReadThroughCache
Base constructor.
ReadThroughCache(int, ReadThroughCache.Retriever<K, V>) - Constructor for class net.sf.kdgcommons.util.ReadThroughCache
Convenience constructor: creates an instance with specified size and retriever, using per-key synchronization.
ReadThroughCache.Retriever<KK,VV> - Interface in net.sf.kdgcommons.util
This interface defines the retrieval operation: given a key, it will return a value.
ReadThroughCache.Synchronization - Enum in net.sf.kdgcommons.util
Options for controlling concurrent retrieval.
reduce(Collection<V>, CollectionUtil.IndexValueReduceFunctor<V, R>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Applies the specified functor to every element in the given collection, with the expectation that it will return a single value based on the item and any previous value.
ReduceException(Throwable, int, Object, Object) - Constructor for exception net.sf.kdgcommons.collections.CollectionUtil.ReduceException
 
REFERER - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
remove() - Method in class net.sf.kdgcommons.collections.CombiningIterable.CombiningIterator
 
remove(Object) - Method in class net.sf.kdgcommons.collections.DefaultMap
Removes an existing mapping, if there was one, and returns the value of that mapping.
remove(K) - Method in class net.sf.kdgcommons.collections.HashMultimap
Removes the first entry with the given key.
remove(K, V) - Method in class net.sf.kdgcommons.collections.HashMultimap
Removes the first entry with the given key and value.
remove(int) - Method in class net.sf.kdgcommons.util.ByteArray
Removes a specified byte from this array, shifting subsequent bytes down and reducing the size of the array.
remove(int, int) - Method in class net.sf.kdgcommons.util.ByteArray
Removes a subset of the bytes in this array, shifting subsequent bytes down and reducing the size of the array.
remove(Object) - Method in class net.sf.kdgcommons.util.Counters
Removes a mapping and returns it.
removeAll(K) - Method in class net.sf.kdgcommons.collections.HashMultimap
Removes all key-value pairs with the given key.
removeAll(K, V) - Method in class net.sf.kdgcommons.collections.HashMultimap
Removes all entries with the given key and value
removeLast() - Method in class net.sf.kdgcommons.util.ByteArray
Removes the last byte in the array.
repeat(char, int) - Static method in class net.sf.kdgcommons.lang.StringUtil
Creates a string that consists of a single character, repeated N times.
replace(Class<?>, T) - Method in class net.sf.kdgcommons.lang.ClassTable
Replaces the mapping for the passed class and all known subclasses.
reset() - Method in class net.sf.kdgcommons.buffer.ByteBufferInputStream
 
reset() - Method in class net.sf.kdgcommons.io.BOMExclusionInputStream
 
reset() - Method in class net.sf.kdgcommons.io.CloseBlockingInputStream
 
reset() - Method in class net.sf.kdgcommons.io.CombiningInputStream
 
reset() - Method in class net.sf.kdgcommons.io.GeneratedInputStream
By default this method throws IOException.
reset() - Method in class net.sf.kdgcommons.io.MonitoredInputStream
Resets the underlying stream to a previous mark.
reset() - Method in class net.sf.kdgcommons.io.TeeInputStream
Resets the base stream to a preset mark.
resize(List<T>, int, T) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Resizes the passed list to N entries.
resize(List<T>, int) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Resizes the passed list to N entries.
retrieve(ResultSet) - Static method in class net.sf.kdgcommons.sql.JDBCUtil
Iterates through the passed ResultSet, converting each row into a Map, where keys are the column names as retrieved from metadata, and values are the result of calling getObject().
retrieve(K) - Method in class net.sf.kdgcommons.util.ReadThroughCache
 
retrieve(KK) - Method in interface net.sf.kdgcommons.util.ReadThroughCache.Retriever
Retrieves the value corresponding to the passed key.
RETRY_AFTER - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 

S

search(BinarySearch.Accessor<T>, T) - Static method in class net.sf.kdgcommons.collections.BinarySearch
Searches a sorted array-like structure using the provided Accessor.
search(int[], T, BinarySearch.IndexedComparator<T>) - Static method in class net.sf.kdgcommons.collections.BinarySearch
Searches sorted array of indexes into some other array-like object (which does not need to be sorted).
SelfMock<MockedType> - Class in net.sf.kdgcommons.test
A reflection-based proxy that invokes requests on itself.
SelfMock(Class<MockedType>) - Constructor for class net.sf.kdgcommons.test.SelfMock
 
SERVER - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
setByteOrder(ByteOrder) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Sets the order of this buffer (propagated to all child buffers).
setOffset(int) - Method in class net.sf.kdgcommons.util.HexDump
Resets the offset counter to a specified value.
setSize(int) - Method in class net.sf.kdgcommons.util.ByteArray
Resizes the array.
setter(String) - Method in class net.sf.kdgcommons.bean.Introspection
Returns the setter method for the named property, null if unable to find a method.
setValue(int, int, Object) - Method in class net.sf.kdgcommons.util.DataTable
Sets the value at an existing row/column location.
shift() - Method in class net.sf.kdgcommons.util.SimpleCLIParser
Returns the next non-option parameter, null if there are none remaining.
SimpleCLIParser - Class in net.sf.kdgcommons.util
A simplified command-line processor.
SimpleCLIParser(String[], SimpleCLIParser.OptionDefinition...) - Constructor for class net.sf.kdgcommons.util.SimpleCLIParser
Processes the supplied list of arguments into options, option params, and non-options.
SimpleCLIParser.OptionDefinition - Class in net.sf.kdgcommons.util
This class defines a single command-line option.
SimpleCLIParser.OptionDefinition.Type - Enum in net.sf.kdgcommons.util
 
SimpleMock - Class in net.sf.kdgcommons.test
A simple mock object using a reflection proxy: you tell it the type of interface that you want to mock, and it records invocations on that interface.
SimpleMock() - Constructor for class net.sf.kdgcommons.test.SimpleMock
 
size() - Method in class net.sf.kdgcommons.collections.DefaultMap
size() - Method in class net.sf.kdgcommons.collections.HashMultimap
Returns the current number of key-value pairs in the map.
size() - Method in class net.sf.kdgcommons.lang.ClassTable
Returns the number of mappings in this object.
size() - Method in class net.sf.kdgcommons.lang.StringCanon
Returns the size of the canonicalized string cache.
size() - Method in class net.sf.kdgcommons.util.ByteArray
Returns the current size of this array.
size() - Method in class net.sf.kdgcommons.util.Counters
Returns the number of mappings (distinct keys) in this object.
size() - Method in class net.sf.kdgcommons.util.DataTable
Returns the number of rows in this table.
size() - Method in class net.sf.kdgcommons.util.ReadThroughCache
Returns the count of mappings currently in the cache.
skip(long) - Method in class net.sf.kdgcommons.buffer.ByteBufferInputStream
 
skip(long) - Method in class net.sf.kdgcommons.io.BOMExclusionInputStream
 
skip(long) - Method in class net.sf.kdgcommons.io.ChannelInputStream
Deprecated.
skip(long) - Method in class net.sf.kdgcommons.io.CloseBlockingInputStream
 
skip(long) - Method in class net.sf.kdgcommons.io.CombiningInputStream
Attempts to skip up to N bytes, transparently switching streams as needed.
skip(long) - Method in class net.sf.kdgcommons.io.GeneratedInputStream
This method calls GeneratedInputStream.read() until either the requisite number of bytes have been read, or EOF is reached.
skip(long) - Method in class net.sf.kdgcommons.io.MonitoredInputStream
Skips up to a specified number of bytes in the underlying stream.
skip(long) - Method in class net.sf.kdgcommons.io.TeeInputStream
Skips a specified number of bytes in the input stream.
skipFully(InputStream, long) - Static method in class net.sf.kdgcommons.io.IOUtil
Repeatedly calls skip() on the underlying stream, until either the desired number of bytes have been read or EOF is reached.
skipIfSeparator(InputStream, byte[]) - Static method in class net.sf.kdgcommons.codec.Codec
Checks the content of the stream against the separator, and skips the separator if they match.
sleepQuietly(long) - Static method in class net.sf.kdgcommons.lang.ThreadUtil
Sleeps for the specified number of milliseconds, catching and ignoring any InterruptedException.
slice(long) - Method in interface net.sf.kdgcommons.buffer.BufferFacade
Returns a ByteBuffer that represents a slice of the underlying buffer (ie, shares the same backing store), starting at the given index (relative to the relocation base) and extending to the end of the underlying buffer.
slice(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferFacade
 
slice(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.ByteBufferTLFacade
 
slice(long) - Method in class net.sf.kdgcommons.buffer.BufferFacadeFactory.MappedFileBufferTLFacade
 
slice(long) - Method in class net.sf.kdgcommons.buffer.MappedFileBuffer
Creates a new buffer, whose size will be >= segment size, starting at the specified offset.
sort(int[], InplaceSort.IntComparator) - Static method in class net.sf.kdgcommons.collections.InplaceSort
Sorts a primitive integer array using an external comparator.
sort(int[], int, int, InplaceSort.IntComparator) - Static method in class net.sf.kdgcommons.collections.InplaceSort
Sorts a portion of a primitive integer array using an external comparator.
sort(T[]) - Static method in class net.sf.kdgcommons.collections.InplaceSort
Sorts an object array using natural ordering.
sort(T[], int, int) - Static method in class net.sf.kdgcommons.collections.InplaceSort
Sorts a portion of an object array using natural ordering.
sort(T[], Comparator<T>) - Static method in class net.sf.kdgcommons.collections.InplaceSort
Sorts an object array using the provided comparator.
sort(T[], int, int, Comparator<T>) - Static method in class net.sf.kdgcommons.collections.InplaceSort
Sorts a portion of an object array using the provided comparator.
sort(List<T>) - Static method in class net.sf.kdgcommons.collections.InplaceSort
Sorts a list using natural ordering.
sort(List<T>, int, int) - Static method in class net.sf.kdgcommons.collections.InplaceSort
Sorts a portion of a list using natural ordering.
sort(List<T>, Comparator<T>) - Static method in class net.sf.kdgcommons.collections.InplaceSort
Sorts a list using the provided comparator.
sort(List<T>, int, int, Comparator<T>) - Static method in class net.sf.kdgcommons.collections.InplaceSort
Sorts a portion of a list using natural ordering.
sort(InplaceSort.Accessor) - Static method in class net.sf.kdgcommons.collections.InplaceSort
Sorts a collection encapsulated by the provided InplaceSort.Accessor.
start() - Method in interface net.sf.kdgcommons.collections.BinarySearch.Accessor
The minimum bound of the search (inclusive).
start() - Method in interface net.sf.kdgcommons.collections.InplaceSort.Accessor
The minimum bound of the search (inclusive).
startsWith(CharSequence, CharSequence) - Static method in class net.sf.kdgcommons.lang.CharSequenceUtil
Returns true if the source sequence starts with the search sequence.
StaticValueFactory(T) - Constructor for class net.sf.kdgcommons.collections.DefaultMap.StaticValueFactory
 
StringAsserts - Class in net.sf.kdgcommons.test
A collection of static methods for making JUnit assertions about strings.
StringAsserts() - Constructor for class net.sf.kdgcommons.test.StringAsserts
 
StringBuilderUtil - Class in net.sf.kdgcommons.lang
A collection of static methods for manipulating StringBuilders.
StringBuilderUtil() - Constructor for class net.sf.kdgcommons.lang.StringBuilderUtil
 
StringCanon - Class in net.sf.kdgcommons.lang
Maintains a canonical list of strings, similar to String.intern() but without the impact on permgen space.
StringCanon() - Constructor for class net.sf.kdgcommons.lang.StringCanon
 
StringUtil - Class in net.sf.kdgcommons.lang
A collection of static utility methods for working with Strings.
StringUtil() - Constructor for class net.sf.kdgcommons.lang.StringUtil
 
stringValue(byte[]) - Method in class net.sf.kdgcommons.util.HexDump
Returns a string containing the a dump of the entire passed buffer, with newlines separating each line of output.
stringValue(byte[], int, int) - Method in class net.sf.kdgcommons.util.HexDump
Returns a string containing the a dump of the specified portion of a passed buffer, with newlines separating each line of output.
submap(Map<K, V>, Collection<K>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Returns a map that contains all keys in the specified collection.
submap(Map<K, V>, Collection<K>, Map<K, V>) - Static method in class net.sf.kdgcommons.collections.CollectionUtil
Extracts all mappings from the source map that correspond to the passed keys, and stores them in the destination map.
substr(String, int, int) - Static method in class net.sf.kdgcommons.lang.StringUtil
A flexible substring that can return left or right substrings, and returns a "best effort" result if offset or length are outside the bounds of the string.
swap(int, int) - Method in interface net.sf.kdgcommons.collections.InplaceSort.Accessor
Swaps the values at two positions within the array-like structure.

T

TE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
TeeInputStream - Class in net.sf.kdgcommons.io
A decorator InputStream that writes all bytes read to a specified OutputStream.
TeeInputStream(InputStream, OutputStream) - Constructor for class net.sf.kdgcommons.io.TeeInputStream
 
TeeOutputStream - Class in net.sf.kdgcommons.io
A decorator OutputStream that writes all bytes to two OutputStreams: a base and a tee.
TeeOutputStream(OutputStream, OutputStream) - Constructor for class net.sf.kdgcommons.io.TeeOutputStream
Basic constructor.
TeeOutputStream(OutputStream, OutputStream, boolean) - Constructor for class net.sf.kdgcommons.io.TeeOutputStream
Constructs a stream that optionally flushes the tee after every write.
TEXT - Static variable in class net.sf.kdgcommons.net.MimeTypes
 
ThreadUtil - Class in net.sf.kdgcommons.lang
Static utility methods for working with threads.
ThreadUtil() - Constructor for class net.sf.kdgcommons.lang.ThreadUtil
 
toArray(ByteBuffer) - Static method in class net.sf.kdgcommons.buffer.BufferUtil
Creates and fills a byte array that consists of all bytes from 0 to the buffer's limit.
toBytes(String) - Method in class net.sf.kdgcommons.codec.Base64Codec
Decodes the passed string and returns it as a byte array.
toBytes(String) - Method in class net.sf.kdgcommons.codec.HexCodec
Decodes the passed string and returns it as a byte array.
toHexString(long, int) - Static method in class net.sf.kdgcommons.lang.NumberUtil
Returns a hexadecimal string representing the passed value, padded as necessary to the specified number of digits.
toMap() - Method in class net.sf.kdgcommons.collections.MapBuilder
 
toString(byte[]) - Method in class net.sf.kdgcommons.codec.Base64Codec
Encodes the passed array and returns it as a string.
toString(byte[]) - Method in class net.sf.kdgcommons.codec.HexCodec
Encodes the passed array and returns it as a string.
toString() - Method in class net.sf.kdgcommons.collections.CompoundKey
Produces a string of the form "[COMP0,COMP1,...]" where COMP0 et al come from calling String.valueOf() on the component.
toString() - Method in class net.sf.kdgcommons.html.URLBuilder
Returns the string value of this URL.
toString() - Method in class net.sf.kdgcommons.tuple.Tuple2
Returns the string representation of this object, in the form (A, B).
toString() - Method in class net.sf.kdgcommons.util.Counters
Outputs all counters in the format "[ NAME: VALUE, ...]".
toString() - Method in class net.sf.kdgcommons.util.NameValue
Returns the string representation of this object, in the form [NAME=VALUE].
toUTF8(String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Converts the string to a UTF-8 byte array, turning the checked exception (which should never happen) into a runtime exception.
TRAILER - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
TRANSFER_ENCODING - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
TranslatingInputStream - Class in net.sf.kdgcommons.io
A decorator stream that translates bytes from one character-set encoding to another.
TranslatingInputStream(InputStream, Charset, Charset) - Constructor for class net.sf.kdgcommons.io.TranslatingInputStream
Creates an instance that reads bytes from delegate that represent characters in the "from" character set, and returning them to the caller as characters in the "to" character set.
TranslatingInputStream(InputStream, Charset, Charset, char) - Constructor for class net.sf.kdgcommons.io.TranslatingInputStream
Creates an instance that reads bytes from delegate that represent characters in the "from" character set, and returning them to the caller as characters in the "to" character set.
trim(String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Removes all whitespace characters (per Character.isWhitespace() ) from either side of a string.
trimToNull(String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Invokes StringUtil.trim(java.lang.String), and returns null if the result is an empty string.
Tuple2<A,B> - Class in net.sf.kdgcommons.tuple
An immutable parameterized container for two values.
Tuple2(A, B) - Constructor for class net.sf.kdgcommons.tuple.Tuple2
 
type(String) - Method in class net.sf.kdgcommons.bean.Introspection
Returns the type of the named property, taken from the return type of the property's getter.

U

unescape(String) - Static method in class net.sf.kdgcommons.html.HtmlUtil
Replaces entity references in the passed string with their character values.
unescape(String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Un-escapes the passed string, replacing the standard slash escapes with their corresponding unicode character value.
unicodeEscape(String) - Static method in class net.sf.kdgcommons.lang.StringUtil
Escapes the passed string, replacing all characters outside the range 32..126, as well as quotes and backslashes, with unicode escapes.
UnreachableCodeException - Exception in net.sf.kdgcommons.lang
Use this exception as a trap for code paths that you never expect to be executed (eg, the default clause in an enum-based switch).
UnreachableCodeException(String) - Constructor for exception net.sf.kdgcommons.lang.UnreachableCodeException
 
UPGRADE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
URLBuilder - Class in net.sf.kdgcommons.html
A utility class for building HTML URLs that allows progressive build-out of the URL and deals with encoding and formatting.
URLBuilder() - Constructor for class net.sf.kdgcommons.html.URLBuilder
Creates a builder where the path is "/".
URLBuilder(String) - Constructor for class net.sf.kdgcommons.html.URLBuilder
Creates a builder that specifies an explicit path (which may or may not contain hostname and protocol components).
URLBuilder(String, String, String) - Constructor for class net.sf.kdgcommons.html.URLBuilder
Creates a builder from basic components.
urlDecode(String) - Static method in class net.sf.kdgcommons.html.HtmlUtil
A wrapper around URLDecoder that always decodes as UTF-8, and replaces its checked exception with a RuntimeException (that should never be thrown).
urlEncode(String) - Static method in class net.sf.kdgcommons.html.HtmlUtil
A wrapper around URLEncoder that always encodes to UTF-8, replaces its checked exception with a RuntimeException (that should never be thrown), and encodes spaces as "%20" rather than "+".
USER_AGENT - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 

V

valueOf(String) - Static method in enum net.sf.kdgcommons.codec.Base64Codec.Option
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.kdgcommons.collections.HashMultimap.Behavior
Returns the enum constant of this type with the specified name.
valueOf(Object) - Static method in class net.sf.kdgcommons.lang.StringUtil
A replacement for String.valueOf() that returns an empty string for null.
valueOf(String) - Static method in enum net.sf.kdgcommons.net.HttpRequestMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.kdgcommons.util.ReadThroughCache.Synchronization
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sf.kdgcommons.util.SimpleCLIParser.OptionDefinition.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sf.kdgcommons.codec.Base64Codec.Option
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class net.sf.kdgcommons.collections.DefaultMap
values() - Static method in enum net.sf.kdgcommons.collections.HashMultimap.Behavior
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.kdgcommons.net.HttpRequestMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class net.sf.kdgcommons.util.Counters
Returns the current values in the map.
values() - Static method in enum net.sf.kdgcommons.util.ReadThroughCache.Synchronization
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sf.kdgcommons.util.SimpleCLIParser.OptionDefinition.Type
Returns an array containing the constants of this enum type, in the order they are declared.
VARY - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
VIA - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 

W

WARNING - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 
wrapIfNeeded(InputStream, byte[]) - Static method in class net.sf.kdgcommons.codec.Codec
Optionally wraps the passed input stream to allow backtracking with the passed separator.
write(byte[], int, int) - Method in class net.sf.kdgcommons.buffer.ByteBufferOutputStream
 
write(byte[]) - Method in class net.sf.kdgcommons.buffer.ByteBufferOutputStream
 
write(int) - Method in class net.sf.kdgcommons.buffer.ByteBufferOutputStream
 
write(int) - Method in class net.sf.kdgcommons.io.CloseBlockingOutputStream
 
write(byte[]) - Method in class net.sf.kdgcommons.io.CloseBlockingOutputStream
 
write(byte[], int, int) - Method in class net.sf.kdgcommons.io.CloseBlockingOutputStream
 
write(byte[], int, int) - Method in class net.sf.kdgcommons.io.HexDumpOutputStream
 
write(byte[]) - Method in class net.sf.kdgcommons.io.HexDumpOutputStream
 
write(int) - Method in class net.sf.kdgcommons.io.HexDumpOutputStream
 
write(int) - Method in class net.sf.kdgcommons.io.MonitoredOutputStream
 
write(byte[]) - Method in class net.sf.kdgcommons.io.MonitoredOutputStream
 
write(byte[], int, int) - Method in class net.sf.kdgcommons.io.MonitoredOutputStream
 
write(byte[], int, int) - Method in class net.sf.kdgcommons.io.TeeOutputStream
 
write(byte[]) - Method in class net.sf.kdgcommons.io.TeeOutputStream
 
write(int) - Method in class net.sf.kdgcommons.io.TeeOutputStream
Writes a single byte to both the base and tee.
write(PrintWriter, byte[]) - Method in class net.sf.kdgcommons.util.HexDump
Writes an entire buffer to the specified PrintWriter, as separate lines of output.
write(PrintWriter, byte[], int, int) - Method in class net.sf.kdgcommons.util.HexDump
Writes a portion of the passed buffer to the specified PrintWriter, as separate lines of output.
WWW_AUTHENTICATE - Static variable in class net.sf.kdgcommons.net.HttpHeaders
 

X

XML - Static variable in class net.sf.kdgcommons.net.MimeTypes
 

_

_data - Variable in class net.sf.kdgcommons.util.ByteArray
 
_expandBy - Variable in class net.sf.kdgcommons.util.ByteArray
 
_size - Variable in class net.sf.kdgcommons.util.ByteArray
 
A B C D E F G H I J K L M N O P R S T U V W X _