public class MessageResourceFactory extends Object
Constructor and Description |
---|
MessageResourceFactory() |
Modifier and Type | Method and Description |
---|---|
MessageResource |
createMessageResource()
Create an
MessageResource based on the configuration on this factory |
File |
getCustomMessageDirectory()
The directory where custom message bundles can be located
|
List<String> |
getLanguages()
The languages for which messages are available
|
void |
setCustomMessageDirectory(File customMessageDirectory)
Set the directory where custom message bundles can be located
|
void |
setLanguages(List<String> languages)
Set the languages for which messages are available
|
public MessageResource createMessageResource()
MessageResource
based on the configuration on this factoryMessageResource
instancepublic List<String> getLanguages()
public void setLanguages(List<String> languages)
languages
- The list of available languagespublic File getCustomMessageDirectory()
File
denoting the directory with message bundlesCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.