public class PropertyFileConfigurator extends Object implements MessageConfigurator
| Constructor and Description |
|---|
PropertyFileConfigurator(String fileName)
Constructor
|
PropertyFileConfigurator(String fileName,
boolean isDefaultConfigurator)
Construct a new PropertyFileConfigurater.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(Message msg)
Fill in data for the given
Message. |
String |
getMessageFileName() |
String |
getMessagePartSep() |
void |
setMessageFileName(String messageFileName)
Set the name of the message file.
|
void |
setMessagePartSep(String messagePartSep)
Set the separator between parts of the message.
|
public PropertyFileConfigurator(String fileName)
fileName - Name of the message filepublic PropertyFileConfigurator(String fileName, boolean isDefaultConfigurator)
fileName - name of property fileisDefaultConfigurator - if true, this configurator will always allow other configurators to continue
configuring a message.public boolean configure(Message msg)
Message. If not found in the messages cache it is loaded from the
Property instance.configure in interface MessageConfiguratormsg - The message to configure.MessageConfigurator.configure(Message)public String getMessageFileName()
public void setMessageFileName(String messageFileName)
messageFileName - (missing javadoc)public String getMessagePartSep()
public void setMessagePartSep(String messagePartSep)
messagePartSep - (missing javadoc)Copyright © 2006–2018 Esito AS. All rights reserved.