public class Template<T> extends Object
| 构造器和说明 |
|---|
Template(org.springframework.context.MessageSource messageSource,
Function<List<org.springframework.validation.FieldError>,T> convert) |
Template(org.springframework.context.MessageSource messageSource,
Locale currentLocale,
Function<List<org.springframework.validation.FieldError>,T> convert) |
| 限定符和类型 | 方法和说明 |
|---|---|
Function<List<org.springframework.validation.FieldError>,T> |
getConvert() |
Locale |
getCurrentLocale() |
org.springframework.context.MessageSource |
getMessageSource() |
void |
setConvert(Function<List<org.springframework.validation.FieldError>,T> convert) |
void |
setCurrentLocale(Locale currentLocale) |
void |
setMessageSource(org.springframework.context.MessageSource messageSource) |
public Template(org.springframework.context.MessageSource messageSource,
Locale currentLocale,
Function<List<org.springframework.validation.FieldError>,T> convert)
public org.springframework.context.MessageSource getMessageSource()
public void setMessageSource(org.springframework.context.MessageSource messageSource)
public Locale getCurrentLocale()
public void setCurrentLocale(Locale currentLocale)
Copyright © 2018. All rights reserved.