org.ceryle.util
Class Messages

java.lang.Object
  extended by java.util.ResourceBundle
      extended by java.util.ListResourceBundle
          extended by org.ceryle.util.Msg
              extended by org.ceryle.util.Messages
Direct Known Subclasses:
Messages_de

public class Messages
extends Msg

A ListResourceBundle containing messages used in exceptions; localization = en_US. This extends the core Msg message set, and is used for message strings that aren't considered part of the basic messaging, XML, and other lower-level application services.

When this class is first accessed (using getContents()), it performs a merge of its and its superclass' contents. On a 2.2GHz linux box this one-time delay takes about 50-60ms.

When modifying this file, or creating alternate localizations from it, pay attention to extra spaces used when there are String concatentations spanning multiple lines, or you may end up with words getting jammed together. Generally, the extra space is added to the end of a String rather than the beginning.

Note that percent signs are avoided in messages in order to facilitate their use as message field delimiters (e.g., "%1", "%2", etc.).

Since:
JDK1.3
Version:
$Id: Messages.java,v 3.84 2007-06-20 01:28:31 altheim Exp $
Author:
Murray Altheim

Field Summary
protected  Object[][] contents2
           
static String WARNING_COLOR
          The hex specification for the warning colour, using in dialog boxes.
 
Fields inherited from class org.ceryle.util.Msg
contents, NL
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
Messages()
           
 
Method Summary
protected  Object[][] getContents()
          Overrides the superclass' method to merge upon initialization this class' contents with that of the superclass.
 
Methods inherited from class java.util.ListResourceBundle
getKeys, handleGetObject
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WARNING_COLOR

public static String WARNING_COLOR
The hex specification for the warning colour, using in dialog boxes. The default value is "#d80000".


contents2

protected Object[][] contents2
Constructor Detail

Messages

public Messages()
Method Detail

getContents

protected Object[][] getContents()
Overrides the superclass' method to merge upon initialization this class' contents with that of the superclass.

Overrides:
getContents in class Msg


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.