QJCC homepage

biz.chitec.quarterback.gjsa
Class ServerMessages

java.lang.Object
  extended bybiz.chitec.quarterback.gjsa.ServerMessages

public class ServerMessages
extends java.lang.Object

Helper class to produce localized server messages on the client side. The server transmits a symbolic message which is translated into the appropriate locale with the help of this object.

Conceptually unfinished but somehow functional.

Version:
$Id: 3075b65aff7ed543f3e8011af3a6ce84034d5701 $
Author:
Dirk Hillbrecht 1997-1999, chitec/Dirk Hillbrecht 2000,2001,2002, cantamen/Dirk Hillbrecht 2005. Distributed under the terms of the GNU LGPL.

Field Summary
(package private) static HierarchicalResourceBundle rb
           
(package private) static java.lang.String rbclassname
           
 
Constructor Summary
private ServerMessages()
           
 
Method Summary
static void addBundle(java.util.ResourceBundle rbx)
           
static java.lang.String generateMessage(java.lang.Object result)
           
static java.lang.String generateMessageByString(java.lang.String result)
           
static java.lang.String generateMessageByStringWE(java.lang.String result)
           
static java.util.List generateMessageTemplate(java.lang.String tmpl, java.lang.Object[] oo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rb

static HierarchicalResourceBundle rb

rbclassname

static java.lang.String rbclassname
Constructor Detail

ServerMessages

private ServerMessages()
Method Detail

addBundle

public static void addBundle(java.util.ResourceBundle rbx)

generateMessageByStringWE

public static java.lang.String generateMessageByStringWE(java.lang.String result)
                                                  throws java.util.MissingResourceException
Throws:
java.util.MissingResourceException

generateMessageByString

public static java.lang.String generateMessageByString(java.lang.String result)

generateMessage

public static java.lang.String generateMessage(java.lang.Object result)

generateMessageTemplate

public static java.util.List generateMessageTemplate(java.lang.String tmpl,
                                                     java.lang.Object[] oo)

QJCC homepage