Package org.databene.commons

Provides (mostly JDK-related) utility classes.

See:
          Description

Interface Summary
Accessor<C,V> Models an object that queries an object of type C for an object aof type V.
CharacterIterator Abstraction of a class that iterates over characters.
Composite<E> Models an Object that is composed of other objects.
Condition<E> Evaluates an argument of type E if it matches some internal condition.
Context Abstraction of a context that provides named items which can be set and retrieved.
Converter<S,T> Base interface for all classes that convert a source object of type S to an object of type T.
DocumentWriter<E> Abstraction of a document writer.
Element<E> Models an Element as defined in the Visitor Design Patterns.
Encodings Provides names for frequently used encodings.
Escalator Escalation strategy interface.
Expression<E> Represents an Expression that evaluates some internal state and returns the result.
Filter<E> Models a generic Filter of similar logic as, yet abstracting, the java.io.FileFilter.
HeavyweightIterable<E> Iterable that creates HeavyweightIterators.
HeavyweightIterator<E> Models a heavyweight Iterator, that means an Iterator that needs to be closed, e.g. for freeing allocated resources.
HeavyweightTypedIterable<E> TypedIterable which is a Heavyweight.
Locales Provides Java constants for common Locales.
Mutator Models an object that mutates a target object of type C by specification of a value of type V.
Named Super interface for all classes that have a 'name' property.
Operation<I,O> Abstraction for operations on an arbitrary number of objects of type I which yield a result of type O.
Patterns Assembles default patterns for all databene formats and Converters.
Resettable Interface for all classes with a life cycle that can be reset.
ThreadAware Interface by which a class can declare its level of thread support.
TreeModel<E> Models a typed tree logic.
TypedIterable<E> Iterable that provides the type it returns.
TypedIterator<E> Adds type information to an Iterator.
Validator<E> A basic validator interface.
Visitor<E> Models a Visitor as defined in the Visitor Design Patterns.
 

Class Summary
ArrayBuilder<E> Helper class for building arrays.
ArrayFormat java.lang.text.Format implementation for formatting and parsing arrays.
ArrayUtil Provides array-related operations.
Assert An assertion utility.
Base64Codec Codes/Decodes Base64 strings.
BeanUtil Bundles reflection and introspection related operations.
CharSet Represents a Set of characters and provides locale-dependent character sets as well as set manipulation methods.
CollectionUtil Provides Collection-related utility methods.
ComparableComparator<E extends Comparable> Implementation of Comparator<Comparable>.
CompositeFormatter Formats a Composite as a String.
CustomCounter Counts with an arbitrary radix.
DatabeneTestUtil Provides test settings from a file ${user.home}/databene.test.properties.
ErrorHandler Provides for error handling by logging and eventually raising an exception.
Escalation Helper class for managing escalations.
ExceptionMapper Wraps checked exceptions as unchecked exceptions of type ConfigurationError.
ExceptionUtil Provides Exception related utilities.
FileUtil File Utility class.
IOUtil Provides stream operations.
LocaleUtil Provides locale operations like determining the parent of a locale, finding a locale by code, providing the characters of a locale and a so-called 'fallback locale'.
LogCategories Defines log categories common for all databene components.
LoggerEscalator Logs escalations to a logger.
MathUtil Provides mathematical utility methods.
NullSafeComparator<E> Comparator Decorator that adds support for null-Value comparison.
NumberUtil Provides convenience methods for the Java number types.
OrderedMap<K,V> Map implementation that tracks the order in which elements where added and returns them in that order by the values() method.
OrderedSet<E> Set implementation that tracks the order in which elements where added and returns them in that order by the iterator() method.
ParseUtil Provides methods for parsing PushbackReaders and Strings.
Period Defines duration constants on millisecond base.
ReaderLineIterator Iterator implementation that returns text lines provided by a reader.
RoundedNumberFormat Rounds large numbers to the four most significant digits.
ShellUtil Executes shell commands and shell files.
StringCharacterIterator Supports iterating the characters of a String.
StringUtil Provides String related utility operations.
SystemInfo Provides the user with the Java system properties related to the Runtime System.
SysUtil Provides system related utility methods.
ThreadUtil Provides utility methods for threading.
Timespan Represents a timespan between two dates.
TimeUtil Provides utility methods for creating and manipulating Dates and Calendars.
VMInfo Provides the Java system properties related to the virtual machine.
 

Enum Summary
Level Represents a log or failure level.
 

Exception Summary
ConfigurationError Unchecked exception that indicates failure that results from inappropriate configuration.
ConnectFailedException Indicates a failure in establishing a connection.
ConversionException Indicates failure of a conversion operation.
ImportFailedException Created: 06.01.2007 19:22:42
ObjectNotFoundException Signals that an object was not found.
ParseException Indicates a parsing error.
UpdateFailedException Indicates that the update of some data failed.
 

Package org.databene.commons Description

Provides (mostly JDK-related) utility classes.



Copyright © 2010. All Rights Reserved.