org.kemet.message
Class Messages

java.lang.Object
  extended by org.kemet.message.Messages

public class Messages
extends java.lang.Object

Since:
0.1
Author:
fabricemaupin

get message from resource.


Constructor Summary
Messages()
           instantiate the message manager.
 
Method Summary
static java.lang.String getString(java.lang.String key)
           get message from key
static void setRESOURCE_BUNDLE(java.util.Locale locale)
           fix resource bundle.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Messages

public Messages()

instantiate the message manager.

Since:
0.1
Method Detail

getString

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

get message from key

Parameters:
key - key in resource bundle
Returns:
message
Since:
0.1

setRESOURCE_BUNDLE

public static void setRESOURCE_BUNDLE(java.util.Locale locale)

fix resource bundle.

Parameters:
locale - locale to fix
Since:
0.6


Copyright © 2008 F. MAUPIN. All Rights Reserved.