接口的使用
cn.taketoday.format.AnnotationFormatterFactory
程序包
说明
An API for defining Formatters to format field model values for display in a UI.
Formatters for
java.util.Date properties.Integration with the JSR-310
java.time package in JDK 8.Formatters for
java.lang.Number properties.Integration with the JSR-354
javax.money package.Support classes for the formatting package,
providing common implementations as well as adapters.
-
cn.taketoday.format中AnnotationFormatterFactory的使用
修饰符和类型方法说明voidFormatterRegistry.addFormatterForFieldAnnotation(AnnotationFormatterFactory<? extends Annotation> annotationFormatterFactory) Adds a Formatter to format fields annotated with a specific format annotation. -
cn.taketoday.format.datetime中AnnotationFormatterFactory的使用
修饰符和类型类说明classFormats fields annotated with theDateTimeFormatannotation using aDateFormatter. -
cn.taketoday.format.datetime.standard中AnnotationFormatterFactory的使用
修饰符和类型类说明classFormats fields annotated with theDateTimeFormatannotation using the JSR-310java.timepackage in JDK 8. -
cn.taketoday.format.number中AnnotationFormatterFactory的使用
-
cn.taketoday.format.number.money中AnnotationFormatterFactory的使用
修饰符和类型类说明classFormatsMonetaryAmountfields annotated with Framework's commonNumberFormatannotation. -
cn.taketoday.format.support中AnnotationFormatterFactory的使用
修饰符和类型方法说明voidApplicationConversionService.addFormatterForFieldAnnotation(AnnotationFormatterFactory<? extends Annotation> annotationFormatterFactory) voidFormattingConversionService.addFormatterForFieldAnnotation(AnnotationFormatterFactory<? extends Annotation> annotationFormatterFactory)