java.lang.Object
io.github.mmm.base.text.TextFormatMessage
- All Implemented Interfaces:
TextPosition
A message that occurred whilst reading (parsing) or writing (formatting) textual data.
-
Constructor Summary
ConstructorsConstructorDescriptionTextFormatMessage(int line, int column, String text, TextFormatMessageType type) The constructor. -
Method Summary
-
Constructor Details
-
Method Details
-
getLine
public int getLine()- Specified by:
getLinein interfaceTextPosition- Returns:
- the line number starting from
1for the first line.
-
getColumn
public int getColumn()- Specified by:
getColumnin interfaceTextPosition- Returns:
- the column number starting from
1for the first character in theline.
-
getType
- Returns:
- the
TextFormatMessageType.
-
getText
- Returns:
- the message text.
-
toString
-