public class AnnotatedText extends Object
AnnotatedTextBuilder to create objects of this type.| Modifier and Type | Method and Description |
|---|---|
int |
getOriginalTextPositionFor(int plainTextPosition)
Internally used by LanguageTool to adjust error positions to point to the
original location with markup, even though markup was ignored during text checking.
|
String |
getPlainText() |
String |
toString() |
public String getPlainText()
public int getOriginalTextPositionFor(int plainTextPosition)
plainTextPosition - the position in the plain text (no markup) that was checked