net.sf.statcvs
Class Messages
This class manages the externalization of strings that will
possiby be presented to the user
$Id: Messages.java,v 1.11 2008/04/02 11:22:16 benoitx Exp $static String | NL - Newline constant
|
static String | WS - Whitespace constant
|
static String | getString(String key) - Returns the value for the specified key.
|
static void | setPrimaryResource(String primaryResourceName) - This method enables a user, typically of another project, to set
a primary resource bundle.
|
NL
public static final String NL
Newline constant
WS
public static final String WS
Whitespace constant
getString
public static String getString(String key)
Returns the value for the specified key. Key-value pairs are specified
in the resourcebundle properties file, either the primary one or,
it falls back on the original one.
key
- key of the requested string
setPrimaryResource
public static void setPrimaryResource(String primaryResourceName)
This method enables a user, typically of another project, to set
a primary resource bundle. If no value or null, it will revert to
the original bundle.