av.msg
Class Message
java.lang.Object
av.msg.Message
public class Message
- extends Object
Message represents compiled message definitions, and are used to produce text
results according to particular argument values.
- Author:
- Compl
|
Constructor Summary |
Message(Meta textMeta)
Read a message definition from textMeta and compile it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Message
public Message(Meta textMeta)
- Read a message definition from
textMeta and compile it.
- Parameters:
textMeta - a meta containing a message definition
format
public String format(Locale l,
Object... args)
- Note: You must pass 'args' here in pairs!
- Parameters:
l - Used to determine currency, percent, date and time formats- See Also:
Messager.format(Locale, String, Object[])
getLocation
public String getLocation()
- Get the location from where the message definition was loaded.
- Returns:
- the message definition location
Copyright© 2006 Ableverse Platform. All rights reserved.