Package com.taco.text

Provides converters to and from text, and other text processing and formatting capabilities.

See:
          Description

Interface Summary
CompositeConverter.ICompositeUpdater A marker interface for a listener that updates a composite when the value corresponding to an argument map key changes.
CompositeConverter.IMapConsistencyListener A marker interface for listeners that update the argument map when a composite's property changes.
CompositeConverter.ISetPropertyAction An interface that specifies the action taken in order to set a property value of a composite object.
IClientListener A marker interface for a listener for some attribute of a composite.
ICommonRegexConstants Common regex strings and patterns used for string parsing.
IFileSizeDisplayConstants Constants associated with formating a number representing a file size.
IInterpolatingConverter An interface specifies a converter from both strings and resource bundles.
IInterpolatingStringToObjectConverter An interface that specifies conversion from a string, which may make references to data in a resource bundle or an argument map, to objects.
IObjectToStringConverter An interface for converting objects to strings.
IStringToObjectConverter An interface for converting strings to objects.
 

Class Summary
AbstractInterpolatingStringToObjectConverter An abstract implementation of IInterpolatingStringToObjectConverter which provides a way for interpolating string to object converters to act like ordinary string to object converters by specifying a resource bundle and an argument map to use in the constructor.
AbstractObjectToStringConverter An abstract implementation of IStringToObjectConverter that also implements IObjectMapper by calling the toString() method.
AbstractStringToObjectConverter An abstract base class for implementations of IStringToObjectConverter which also implements IObjectMapper.
AtomConverter An interpolating string and resource bundle converter of atomic data.
BracedPropertyCompositeConverter A subclass of CompositeConverter that matches C-style punctuation in property values.
ChainedInterpolatingConverter A converter based on another converter, which has its value converted by an implementation of IObjectMapper.
ClassToStringConverter An implementation of IObjectToStringConverter that returns the class name of the object to be converted.
CollectionConverter An interpolating converter from resource bundles and strings to collections.
CollectionToStringConverter A converter from collections to strings that uses StringListUtilities.createCollectionString() to do the conversion.
CompositeConverter An interpolating converter that creates objects that have many properties.
CompositeConverter.AbstractCompositeUpdater A useful base class for a listener that updates a composite when the value corresponding to an argument map key changes.
CompositeConverter.AbstractMapConsistencyListener A useful base class for observable map updaters.
CompositeConverter.CompositeUpdater A property change listener that updates a composite using the set property action used to configure it originally.
CompositeConverter.DefaultMapConsistencyListener A property change listener for beans which updates the observable map when a property of the bean changes.
CompositeConverter.DelayedConvertedResult A delayed result that evaluates another delayed result and converts it.
CompositeConverter.NotUpdaterListenerFilter A filter that rejects instances of ICompositeUpdater that update a specific property of a composite object, so that when a map consistency listener puts a value in the map, an updater doesn't set the property again.
CompositeConverter.ReflectionSetPropertyAction An implementation of ISetPropertyAction which uses reflection to set the property.
CPunctuationState An object that represents the state within a string that uses C-style punctuation (braces, brackets, parentheses, escape characters, quotations).
DefaultObjectToStringConverter A class that implements IObjectToStringConverter just by calling the toString() method of the object to convert.
DefaultStringToObjectConverter An implementation of IStringToObjectConverter that simply maps a String to the same value.
DispatchingConverter A string and resource bundle to object converter that uses the first word of a string or the key appended with ".dispatchType" in the resource bundle to dispatch to another converter.
GlobalUtilities A static utility class used to retrieve and set global variables in an argument map during an interpolating conversion process.
ImmutableCompositeConverter An abstract subclass of BracedPropertyCompositeConverter which creates an object whose properties cannot be changed.
InstanceConverter A converter to instances via class names or scripts.
IntArrayConverter A converter to int arrays.
IntArrayToStringConverter A converter from int arrays to comma-separated strings.
InterpolatedValueMatchResult A data structure used to hold the information about an interpolated value found in a CharSequence.
InterpolatingConverter An implementation of IInterpolatingConverter which has commonly used behavior.
KeyLookupRecord A data structure used to maintain mappings between argument key names and names of properties which depend on the looking up the key name in an argument map.
KeyLookupRecord.KeyDescriptor A data structure that holds information on how to associate a key in an argument with a property value of a composite object.
MapConverter An interpolating converter to maps.
MappedStringToObjectConverter A simple implementation of IStringToObjectConverter that looks up strings to be converted in a map, and returns the mapped value.
MatchResult A data structure that contains the result of matching string operations.
MessageFormatConverter A converter to instances of MessageFormat.
PatternToStringConverter An implemenation of IObjectToStringConverter the converts a Pattern into a string which is the double quote-escaped version of its regex string.
PunctuationStrippingConverter A converter that strips leading and trailing punctuation from a string before delegating to another converter.
QuotedStringConverter A converter from both resource bundles and strings to strings.
RangeConverter A converter to a 2-element int array representing a range.
ReversedCharSequence A CharSequence that represents the reversed version of another CharSequence, but avoids copying whenever possible.
StringConverter A converter from both resource bundles and strings to strings.
StringConverterUtilities Utility functions for converting interpolated strings.
StringListUtilities A utility class for converting strings to and from lists of objects.
StringPadder A utility class for padding strings to fit a certain field width.
StringToBeanShellInstanceConverter A converter from a string that specifies an instance of an object to an object.
StringToBooleanConverter A converter from strings to instances of Boolean.
StringToCharacterConverter A string to object converter that converts strings into instances of Character.
StringToClassConverter An implementation of IStringToObjectConverter that converts a string, interpreted as a fully qualified class name, into a class object.
StringToDoubleConverter A string to object converter that converts number strings into instances of Double.
StringToFloatConverter A string to object converter that converts number strings into instances of Float.
StringToInstanceConverter An implementation of IStringToObjectConverter that converts a string, interpreted as a fully qualified class name, into a new instance of the class denoted by s by interpreting the string as a Java literal or using reflection to create an instance of an object.
StringToIntegerConverter A string to object converter that converts number strings into instances of Integer.
StringToLocaleConverter A converter from strings to instances of Locale.
StringToLongConverter A string to object converter that converts number strings into instances of Long.
StringToPatternConverter An implementation of IStringToObjectConverter that converts a double-quoted regex string into an instance of Pattern.
StringUtilities Miscellaneous utilities functions for strings.
 

Package com.taco.text Description

Provides converters to and from text, and other text processing and formatting capabilities.