Package net.sf.basedb.util.formatter
-
Interface Summary Interface Description Formatter<T> AFormatter
formats an object to a string suitable for output in a client application. -
Class Summary Class Description AdaptiveNumberFormatter Formats a number for output on a web page adapting thwe number of decimals depending on the order of magnitude of the value.BooleanFormatter Formats a boolean value.CollectionFormatter<I> Formatter implementation that formats a collection of values to a string by concatenating the values with a given separator.DateFormatter Format a date for output in a client application.EnumFormatter<T extends Enum<T>> Formatter implementation that converts an enum constant into it's name() as the formatted value.FilePathFormatter Formatter implementation that formatFile
items to their complete paths.IdentifiableFormatter Formatter to handleIdentifiable
items.IntegerFormatter Formats a number as an integer.ItemTypeFormatter Formatter implementation that converts an integer into it's Item representation and the uses name() as the formatted value.LookupFormatter<T> A formatter implementation that uses a map to lookup values from a set of keys.MultiFormatter A generic formatter that can be used to format objects of mixed classes.NameableFormatter Formatter to handleNameable
items.NumberFormatFormatter Formatter implementation for numeric values that simply wrap a NumberFormat instance.NumberFormatter Formats a number for output on a web page.PrefixSuffixFormatter<T> Formats a value with optional prefix and suffix.PropertyFilterFormatter Formatter for PropertyFilter items.ToStringFormatter<T> A generic formatter that simply formats objects by calling the toString() method.ValueTypeFormatter Formatter implementation that converts an integer into it's Type representation and the uses name() as the formatted value.WellCoordinateFormatter Formats an internal well coordinate to an external coordinate. -
Enum Summary Enum Description BooleanFormatter.Type Enum for holding the various types of boolean output.