|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openfuture.util.misc.Message
Counterpart to MessageFormat
.
Constructor Summary | |
Message(java.lang.String key)
Creates a new Message instance without arguments. |
|
Message(java.lang.String key,
java.lang.Object[] args)
Creates a new Message instance. |
Method Summary | |
java.lang.Object[] |
getArgs()
Get the value of args. |
java.lang.String |
getKey()
Get the value of key. |
void |
setArgs(java.lang.Object[] v)
Set the value of args. |
void |
setKey(java.lang.String v)
Set the value of key. |
java.lang.String |
toString()
Create String simple representation without informations from a resource bundle. |
java.lang.String |
toString(java.util.ResourceBundle bundle)
Create String representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Message(java.lang.String key, java.lang.Object[] args)
Message
instance.key
- Message key that should be extracted from
the ressource bundles.args
- Object
array holding the arguments.public Message(java.lang.String key)
Message
instance without arguments.key
- Message key that should be extracted from
the ressource bundles.Method Detail |
public java.lang.String getKey()
public void setKey(java.lang.String v)
v
- Value to assign to key.public java.lang.Object[] getArgs()
public void setArgs(java.lang.Object[] v)
v
- Value to assign to args.public java.lang.String toString(java.util.ResourceBundle bundle)
bundle
- ressource bundle to be usedpublic java.lang.String toString()
key
is
returned.toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |