public abstract class InputParserAbstractMsg extends java.lang.Object implements InputParserMsg
Constructor and Description |
---|
InputParserAbstractMsg(java.lang.String message)
Creates a new InputParserAbstractMsg instance which contains a string
representing a message
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtendedMsg()
Gets the extension of the message
|
MsgInterval |
getInterval()
Gets the message interval
|
java.lang.String |
getMessage()
Gets the contained message
|
boolean |
hasExtendedMsg()
Gets a boolean which represents if the message has an extended info which complements it
|
boolean |
hasInterval()
Returns a boolean which represents if the message has a specific interval, it is, a defined piece of code which the messages refers to
|
java.lang.String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType, getVerbosityLevel
public InputParserAbstractMsg(java.lang.String message)
message
- the message to containpublic java.lang.String getMessage()
InputParserMsg
getMessage
in interface InputParserMsg
InputParserMsg.getMessage()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String getExtendedMsg()
InputParserMsg
getExtendedMsg
in interface InputParserMsg
InputParserMsg.getExtendedMsg()
public MsgInterval getInterval()
InputParserMsg
getInterval
in interface InputParserMsg
InputParserMsg.getInterval()
public boolean hasExtendedMsg()
InputParserMsg
hasExtendedMsg
in interface InputParserMsg
InputParserMsg.hasExtendedMsg()
public boolean hasInterval()
InputParserMsg
hasInterval
in interface InputParserMsg
InputParserMsg.hasInterval()