|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.i18n.message.Messages
public final class Messages
Provides the messages that are set.
Nested Class Summary | |
---|---|
static class |
Messages.Builder The builder for message instances. |
Method Summary | |
---|---|
String |
getMessage(MessageType type) Returns the message of the given type. |
boolean |
hasMessage(MessageType type) Checks if there is a message for the given type. |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean hasMessage(MessageType type)
type
- the type of message being requested.
true
if there is a non-
null
message, provided,
false
otherwise.
public String getMessage(MessageType type)
type
- the type of message being requested.
null
.
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |