Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scopemvc.util
Class UIStrings  view UIStrings download UIStrings.java

java.lang.Object
  extended byorg.scopemvc.util.UIStrings

public final class UIStrings
extends java.lang.Object

Uses a ResourceBundle as a dictionary mapping IDs against user-readable Strings that can be presented on the UI. A custom resource bundle should be provided, with a call to setPropertiesName during application initialisation.

Version:
$Revision: 1.4 $ $Date: 2002/01/26 09:46:20 $

Field Summary
private static org.apache.commons.logging.Log LOG
           
private static java.util.ResourceBundle properties
           
private static java.lang.String propertiesName
           
 
Constructor Summary
private UIStrings()
           
 
Method Summary
static java.lang.String get(java.lang.String inKey)
           
private static java.util.ResourceBundle getProperties()
           
static void setPropertiesName(java.lang.String inName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.commons.logging.Log LOG

properties

private static java.util.ResourceBundle properties

propertiesName

private static java.lang.String propertiesName
Constructor Detail

UIStrings

private UIStrings()
Method Detail

setPropertiesName

public static void setPropertiesName(java.lang.String inName)

getProperties

private static java.util.ResourceBundle getProperties()

get

public static java.lang.String get(java.lang.String inKey)