public class DelegatingMessageSource extends Object implements org.springframework.context.MessageSource
| 构造器和说明 |
|---|
DelegatingMessageSource(org.springframework.context.MessageSource primaryMessageSource) |
DelegatingMessageSource(org.springframework.context.MessageSource primaryMessageSource,
org.springframework.context.MessageSource secondaryMessageSource) |
public DelegatingMessageSource(org.springframework.context.MessageSource primaryMessageSource)
public DelegatingMessageSource(org.springframework.context.MessageSource primaryMessageSource,
@Nullable
org.springframework.context.MessageSource secondaryMessageSource)
@Nullable public String getMessage(String code, @Nullable Object[] args, @Nullable String defaultMessage, Locale locale)
getMessage 在接口中 org.springframework.context.MessageSourcepublic String getMessage(String code, @Nullable Object[] args, Locale locale) throws org.springframework.context.NoSuchMessageException
getMessage 在接口中 org.springframework.context.MessageSourceorg.springframework.context.NoSuchMessageExceptionCopyright © 2022. All rights reserved.