Uses of Interface
org.springframework.format.Printer
Packages that use Printer
Package
Description
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.
-
Uses of Printer in org.springframework.format
Subinterfaces of Printer in org.springframework.formatMethods in org.springframework.format that return PrinterModifier and TypeMethodDescriptionPrinter<?>AnnotationFormatterFactory.getPrinter(A annotation, Class<?> fieldType) Get the Printer to print the value of a field offieldTypeannotated withannotation.Methods in org.springframework.format with parameters of type PrinterModifier and TypeMethodDescriptionvoidFormatterRegistry.addFormatterForFieldType(Class<?> fieldType, Printer<?> printer, Parser<?> parser) Adds a Printer/Parser pair to format fields of a specific type.voidFormatterRegistry.addPrinter(Printer<?> printer) Adds a Printer to print fields of a specific type. -
Uses of Printer in org.springframework.format.datetime
Classes in org.springframework.format.datetime that implement PrinterMethods in org.springframework.format.datetime that return PrinterModifier and TypeMethodDescriptionPrinter<?>DateTimeFormatAnnotationFormatterFactory.getPrinter(DateTimeFormat annotation, Class<?> fieldType) -
Uses of Printer in org.springframework.format.datetime.standard
Classes in org.springframework.format.datetime.standard that implement PrinterModifier and TypeClassDescriptionclassFormatterimplementation for a JSR-310Instant, following JSR-310's parsing rules for an Instant (that is, not using a configurableDateTimeFormatter): accepting the defaultISO_INSTANTformat as well asRFC_1123_DATE_TIME(which is commonly used for HTTP date header values), as of Spring 4.3.final classPrinterimplementation for a JSR-310TemporalAccessor, using aDateTimeFormatter) (the contextual one, if available).Methods in org.springframework.format.datetime.standard that return PrinterModifier and TypeMethodDescriptionPrinter<?>Jsr310DateTimeFormatAnnotationFormatterFactory.getPrinter(DateTimeFormat annotation, Class<?> fieldType) -
Uses of Printer in org.springframework.format.number
Classes in org.springframework.format.number that implement PrinterModifier and TypeClassDescriptionclassAbstract formatter for Numbers, providing aAbstractNumberFormatter.getNumberFormat(java.util.Locale)template method.classA BigDecimal formatter for number values in currency style.classA general-purpose number formatter using NumberFormat's number style.classA formatter for number values in percent style.Methods in org.springframework.format.number that return PrinterModifier and TypeMethodDescriptionNumberFormatAnnotationFormatterFactory.getPrinter(NumberFormat annotation, Class<?> fieldType) -
Uses of Printer in org.springframework.format.number.money
Classes in org.springframework.format.number.money that implement PrinterModifier and TypeClassDescriptionclassFormatter for JSR-354CurrencyUnitvalues, from and to currency code Strings.classFormatter for JSR-354MonetaryAmountvalues, delegating toMonetaryAmountFormat.format(javax.money.MonetaryAmount)andMonetaryAmountFormat.parse(java.lang.CharSequence).Methods in org.springframework.format.number.money that return PrinterModifier and TypeMethodDescriptionPrinter<javax.money.MonetaryAmount>Jsr354NumberFormatAnnotationFormatterFactory.getPrinter(NumberFormat annotation, Class<?> fieldType) -
Uses of Printer in org.springframework.format.support
Methods in org.springframework.format.support with parameters of type PrinterModifier and TypeMethodDescriptionvoidFormattingConversionService.addFormatterForFieldType(Class<?> fieldType, Printer<?> printer, Parser<?> parser) voidFormattingConversionService.addPrinter(Printer<?> printer)