org.kemet.lf.tools
Class Messages
java.lang.Object
org.kemet.lf.tools.Messages
public class Messages
- extends java.lang.Object
- Since:
- 0.4
- Author:
- fabricemaupin
Messages manager : get message from resource bundle.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Messages
public Messages()
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.