|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.fge.msgsimple.provider.StaticMessageSourceProvider.Builder
@NotThreadSafe public static final class StaticMessageSourceProvider.Builder
Builder for a StaticMessageSourceProvider
| Method Summary | |
|---|---|
StaticMessageSourceProvider.Builder |
addSource(Locale locale,
MessageSource source)
Add a message source for a given locale |
MessageSourceProvider |
build()
Build the message source provider |
StaticMessageSourceProvider.Builder |
setDefaultSource(MessageSource source)
Set a default message source |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public StaticMessageSourceProvider.Builder addSource(Locale locale,
MessageSource source)
locale - the localesource - the message source
NullPointerException - either the locale or the source is nullpublic StaticMessageSourceProvider.Builder setDefaultSource(MessageSource source)
source - the message source
NullPointerException - source is nullpublic MessageSourceProvider build()
StaticMessageSourceProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||