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.
-
messages
-
-
GeneralMessageStore()
-
-
GeneralMessageStore(String)
-
-
getCode()
- Returns the messge key string.
-
initialize()
- You have to implements this method in the subclass
-
setArg(String, String)
- Set the key=value pairs.
-
setCode(String)
- Set the message code key.
-
toString()
- Returns the translated actual string.
messages
protected static Properties messages
GeneralMessageStore
public GeneralMessageStore()
GeneralMessageStore
public GeneralMessageStore(String code)
- Parameters:
- code - java.lang.String
getCode
public String getCode()
- Returns the messge key string.
- Returns:
- The messge key string.
initialize
protected abstract void initialize()
- You have to implements this method in the subclass
setArg
public void setArg(String key,
String value)
- Set the key=value pairs.
- key : message key string defined in the message definition file.
- value : the actual string that you want to be replaced.
- Parameters:
- key - the string of key defined in the message definition file.
- value - the actual string which you want to be replaced.
setCode
public void setCode(String code)
- Set the message code key.
- Parameters:
- code - the code string which defined in the message definition file.
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