org.sf.charttaglibs.utils
Class Message

java.lang.Object
  extended byorg.sf.charttaglibs.utils.Message

public class Message
extends java.lang.Object

Class that manage all messages TODO make the internationalization

Version:
1.0
Author:
mmohamed |at| dcc |dot| uchile |dot| cl

Field Summary
private static java.util.Map message
           
 
Constructor Summary
Message()
           
 
Method Summary
 java.lang.String getMessage(java.lang.String key)
          Return the formatted message for the key
 java.lang.String getMessage(java.lang.String key, java.lang.Object args0)
          Return the formatted message for the key and arg
 java.lang.String getMessage(java.lang.String key, java.lang.Object args0, java.lang.Object args1)
          Return the formatted message for the key and args
 java.lang.String getMessage(java.lang.String key, java.lang.Object args0, java.lang.Object args1, java.lang.Object args2)
          Return the formatted message for the key and args
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

private static final java.util.Map message
Constructor Detail

Message

public Message()
Method Detail

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.Object args0,
                                   java.lang.Object args1,
                                   java.lang.Object args2)
Return the formatted message for the key and args

Parameters:
key - of the message map
args0 - first argument
args1 - segund argument
args2 - third argument
Returns:
The formatted message

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.Object args0,
                                   java.lang.Object args1)
Return the formatted message for the key and args

Parameters:
key - of the message map
args0 - first argument
args1 - segund argument
Returns:
The formatted message

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.Object args0)
Return the formatted message for the key and arg

Parameters:
key - of the message map
args0 - the argument
Returns:
The formatted message

getMessage

public java.lang.String getMessage(java.lang.String key)
Return the formatted message for the key

Parameters:
key - of the message map
Returns:
The formatted message