vooga.replay.utilities
Class Constants

java.lang.Object
  extended by vooga.replay.utilities.Constants

public class Constants
extends java.lang.Object

Class used to access the contents of the resource bundle Constants.properties

Author:
Van Dang, Carrie Ho, Tom Donelly

Constructor Summary
Constants()
           
 
Method Summary
static int getInteger(java.lang.String integerName)
           
static java.lang.String getMessage(java.lang.String messageName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Constants

public Constants()
Method Detail

getMessage

public static java.lang.String getMessage(java.lang.String messageName)
Parameters:
messageName - the key in the resource bundle
Returns:
the key's value

getInteger

public static int getInteger(java.lang.String integerName)
Parameters:
integerName - the key in the resource bundle
Returns:
the key's value parsed as an integer