public interface ServiceMessageParserCallback
| Modifier and Type | Method and Description |
|---|---|
void |
parseException(@NotNull java.text.ParseException parseException,
@NotNull java.lang.String text)
Called when text looked like service message but parser failed to create service message object from it for some reason.
|
void |
regularText(@NotNull java.lang.String text)
Called for the regular text, i.e.
|
void |
serviceMessage(@NotNull ServiceMessage message)
Called for each parsed service message
|
void regularText(@NotNull
@NotNull java.lang.String text)
text - test that does not contain service messages in itvoid serviceMessage(@NotNull
@NotNull ServiceMessage message)
message - parsed service messagevoid parseException(@NotNull
@NotNull java.text.ParseException parseException,
@NotNull
@NotNull java.lang.String text)
parseException - exceptiontext - text that parser failed to parse