org.kemet.lf.tools
Class Messages

java.lang.Object
  extended by org.kemet.lf.tools.Messages

public class Messages
extends java.lang.Object

Since:
0.4
Author:
fabricemaupin

Messages manager : get message from resource bundle.


Constructor Summary
Messages()
           
 
Method Summary
static java.lang.String getMyMessage(java.lang.String key)
           return message from key.
static java.lang.String getNameOfMyMessagesFile()
           
static java.lang.String getString(java.lang.String key)
           return message from key.
static void setNameOfMyMessagesFile(java.lang.String nameOfMyMessagesFile)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Messages

public Messages()
Method Detail

getString

public static java.lang.String getString(java.lang.String key)

return message from key.

Parameters:
key - key used to get message from resource bundle of library
Returns:
message
Since:
0.4

getMyMessage

public static java.lang.String getMyMessage(java.lang.String key)

return message from key.

Parameters:
key - key used to get message from custom resource bundle
Returns:
message
Since:
0.4

getNameOfMyMessagesFile

public static java.lang.String getNameOfMyMessagesFile()
Returns:
the nameOfMyMessagesFile

setNameOfMyMessagesFile

public static void setNameOfMyMessagesFile(java.lang.String nameOfMyMessagesFile)
Parameters:
nameOfMyMessagesFile - the nameOfMyMessagesFile to set


Copyright © 2008 F. MAUPIN. All Rights Reserved.