Formatter
Converter vs Formatter
public interface Printer<T> {
String print(T object, Locale locale);
}
public interface Parser<T> {
T parse(String text, Locale locale) throws ParseException;
}
public interface Formatter<T> extends Printer<T>, Parser<T> {
}Foramtter를 지원하는 ConversionService
FormattingConversionService
상속 관계
Formatter 적용
스프링이 제공하는 기본 Formatter


Last updated