|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zphinx.spine.message.MessageConfig
public class MessageConfig
MessageConfig contains static messages used by spine for configuration purposes. It also serves as a static resource where different message properties files are referenced.
It is called at initialization to persist message properties files which it saves in an arraylist of StringAttributeBeans obtained from getResourcesList()
Copyright ©Zphinx Software Solutions
| Field Summary | |
|---|---|
static String |
PROVIDER
The prefix used to stamp any message resource file referenced by this object |
| Method Summary | |
|---|---|
static String |
getExceptionMessageFile()
Gets the exceptionMessageFile |
static String |
getMessageResourceFile()
Gets this object's associated resource file normally com.zphinx.spine.resources.ConfigurationResources |
static ArrayList<StringAttributeBean> |
getResourcesList()
Gets the arrayList of resource properties files in use by this framework. |
static String |
getSiteMessages()
Gets the default or the last saved message properties file used by this frameworkwhich is saved by setSiteMessages(String) |
static void |
setExceptionMessages(String exceptionMessageClass)
Sets the exception messages |
static void |
setMessageResourceFile(String messageResourceFile)
Sets this object's associated message resource file |
static void |
setResourcesList(ArrayList resourcesList)
Sets the resources list, an array of StringAttributeBeans |
static void |
setSiteMessages(String siteMessages)
Adds a message properties file to this object.The last saved message properties file can be retrieved by getSiteMessages() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROVIDER
| Method Detail |
|---|
public static String getSiteMessages()
setSiteMessages(String)
public static void setSiteMessages(String siteMessages)
getSiteMessages()
siteMessages - The siteMessages to set.public static ArrayList<StringAttributeBean> getResourcesList()
public static void setResourcesList(ArrayList resourcesList)
StringAttributeBeans
resourcesList - The resourcesList to set.public static String getMessageResourceFile()
com.zphinx.spine.resources.ConfigurationResources
public static void setMessageResourceFile(String messageResourceFile)
messageResourceFile - the messageResourceFile to setpublic static void setExceptionMessages(String exceptionMessageClass)
exceptionMessageClass - The String denoting the class of the ExceptionMessages to setpublic static String getExceptionMessageFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||