|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
MessageSource | Interface for one message source |
Class Summary | |
---|---|
MapMessageSource | A Map -based message source |
MapMessageSource.Builder | Builder class for a MapMessageSource |
PropertiesMessageSource | A message source built from a properties files |
Message sources
Message sources are the most low level component of the API. They are, in essence, maps with key/value pairs of strings.
Implementations of MessageSource
should return null
if no message is found for a given key.
Two implementations are provided: one using a simple Map
as a backend, and another one for reading property files, either from the
classpath or from files on the filesystem.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |