public class MessageProvider extends Object
Messages
object.Modifier | Constructor and Description |
---|---|
protected |
MessageProvider(String[] resourceNames,
Locale[] locales)
Create a
MessageProvider . |
Modifier and Type | Method and Description |
---|---|
static MessageProvider |
getInstance()
Return the single instance of the
MessageProvider . |
String |
getMessage(String messageId,
Object[] parameters)
Get the message corresponding to a given message ID.
|
public static MessageProvider getInstance()
MessageProvider
.
Intialilizes the MessageProvider
with the default message
locations: /resources/properties/spss_messages
.MessageProvider
.Copyright © 2016. All rights reserved.