| java.lang.Object net.sf.clirr.core.Message
Message | final public class Message (Code) | | Class which manages API Difference messages, including expanding message
codes into strings and descriptions.
|
Constructor Summary | |
public | Message(int id) This constructor is equivalent to new Message(id, true). | public | Message(int id, boolean register) Create an instance of this object with the specified message id
Parameters: id - is an integer which is used to look up the appropriatetext string for this message from a resource file. |
Message | public Message(int id)(Code) | | This constructor is equivalent to new Message(id, true).
|
Message | public Message(int id, boolean register)(Code) | | Create an instance of this object with the specified message id
Parameters: id - is an integer which is used to look up the appropriatetext string for this message from a resource file. The id of amessage should be unique. Parameters: register - determines whether the new Message object should beregistered with the central MessageManager object. This is normallydesirable, as this allows the unit tests associated with clirr toverify that message ids are unique and that translations exist forall registered messages. However false can be useful in somecircumstances, eg when creating Message objects for the purposesof unit tests. |
|
|