java.lang.Object
java.text.Format
org.jhotdraw8.base.converter.FormatConverterAdapter
- All Implemented Interfaces:
Serializable,Cloneable
Allows to use a
Converter with the java.text.Format API.- Author:
- Werner Randelshofer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.text.Format
Format.Field -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat(Object obj, @NonNull StringBuffer toAppendTo, @NonNull FieldPosition pos) parseObject(@NonNull String source, @NonNull ParsePosition pos) Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
-
Constructor Details
-
FormatConverterAdapter
-
-
Method Details
-
format
public @NonNull StringBuffer format(Object obj, @NonNull StringBuffer toAppendTo, @NonNull FieldPosition pos) -
parseObject
- Specified by:
parseObjectin classFormat
-