Package com.easydesk.localization
Class L10NMessage
java.lang.Object
com.easydesk.localization.L10NMessage
- All Implemented Interfaces:
LocalizableMessage,Serializable
DOCUMENT ME!
- Version:
- $id: L10NMessage.java $Revision$, 11-29-21 8:30:13 AM KST
- Author:
- YounghoCho
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionL10NMessage(LocalizableKey theKey) Constructor always needs the L10N key for creation.L10NMessage(LocalizableKey theKey, Object... theParameters) Constructor with parameters. theParameters is an array of objects and may contain Exceptions and L10NInstances. -
Method Summary
Modifier and TypeMethodDescriptionDOCUMENT ME!static final L10NMessagegetL10NMessage(LocalizableKey enuKey, Object... param) utility methodObject[]voidsetParameters(Object[] parameters) org.json.JSONObjectprint as json name1: value1, name2: value2, . . .toString()json representation string
-
Constructor Details
-
L10NMessage
Constructor always needs the L10N key for creation.- Parameters:
theKey-
-
L10NMessage
Constructor with parameters. theParameters is an array of objects and may contain Exceptions and L10NInstances.- Parameters:
theKey-theParameters-
-
-
Method Details
-
getL10NKey
DOCUMENT ME!- Specified by:
getL10NKeyin interfaceLocalizableMessage- Returns:
- DOCUMENT ME!
-
getParameters
- Specified by:
getParametersin interfaceLocalizableMessage- Returns:
- L10N Parameters
-
setParameters
- Parameters:
parameters- array
-
toString
json representation string -
toJSONObject
public org.json.JSONObject toJSONObject()print as json name1: value1, name2: value2, . . .- Specified by:
toJSONObjectin interfaceLocalizableMessage- Returns:
- json type property string
-
getL10NMessage
utility method- Parameters:
enuKey-param-- Returns:
-