Package org.zkoss.mesg
Class MessageConst.Aide
java.lang.Object
org.zkoss.mesg.MessageConst.Aide
- Enclosing interface:
- MessageConst
Used to handle the mapping of a message code to a filename.
FUTURE: we might consider to use hashCode or other to represents the identifier such that the client will have the same code as the server.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Aide
public Aide()
-
-
Method Details
-
register
Registers a message filename, and returns an identifier to represent it.The path is assumed to be /metainfo/mesg.
- Parameters:
filename- the filename without path and extension, e.g, "msgacc"- Returns:
- an identifier to represent this message file.
-