javoids
Class Messages

java.lang.Object
  extended by javoids.Messages

public class Messages
extends java.lang.Object

A class to hold the system messages from messages.properties.

Author:
mallette

Field Summary
private static java.lang.String BUNDLE_NAME
          the file name that contains all of the resource names and their mapped string values
private static java.util.ResourceBundle RESOURCE_BUNDLE
          the resource bundle containing the messages
 
Constructor Summary
private Messages()
          Constructor (default)
 
Method Summary
static java.lang.String getString(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUNDLE_NAME

private static final java.lang.String BUNDLE_NAME
the file name that contains all of the resource names and their mapped string values

See Also:
Constant Field Values

RESOURCE_BUNDLE

private static final java.util.ResourceBundle RESOURCE_BUNDLE
the resource bundle containing the messages

Constructor Detail

Messages

private Messages()
Constructor (default)

Method Detail

getString

public static java.lang.String getString(java.lang.String key)
Parameters:
key - the key to look-up
Returns:
the message associated with that key