All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.lgeds.jdf.GeneralMessageStore

java.lang.Object
   |
   +----com.lgeds.jdf.GeneralMessageStore

public abstract class GeneralMessageStore
extends Object
implements Message
Author:
WonYoung Lee, wyounglee@lgeds.lg.co.kr.

Variable Index

 o messages

Constructor Index

 o GeneralMessageStore()
 o GeneralMessageStore(String)

Method Index

 o getCode()
Returns the messge key string.
 o initialize()
You have to implements this method in the subclass
 o setArg(String, String)
Set the key=value pairs.
 o setCode(String)
Set the message code key.
 o toString()
Returns the translated actual string.

Variables

 o messages
 protected static Properties messages

Constructors

 o GeneralMessageStore
 public GeneralMessageStore()
 o GeneralMessageStore
 public GeneralMessageStore(String code)
Parameters:
code - java.lang.String

Methods

 o getCode
 public String getCode()
Returns the messge key string.

Returns:
The messge key string.
 o initialize
 protected abstract void initialize()
You have to implements this method in the subclass

 o setArg
 public void setArg(String key,
                    String value)
Set the key=value pairs.

Parameters:
key - the string of key defined in the message definition file.
value - the actual string which you want to be replaced.
 o setCode
 public void setCode(String code)
Set the message code key.

Parameters:
code - the code string which defined in the message definition file.
 o toString
 public String toString()
Returns the translated actual string.

Returns:
a string representation of the receiver
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index