Return the cleaned document text as a String corresponding to the annotation. (Delete leading and trailing whitespace; normalize internal whitespace to single spaces.) @param doc the document from which to extract the document text @param ann the annotation for which to return the text. @return a St
(Document doc, SimpleAnnotation ann)
| 168 | * @return a String representing the text content spanned by the annotation. |
| 169 | */ |
| 170 | public static String cleanStringFor(Document doc, SimpleAnnotation ann) { |
| 171 | return cleanString(stringFor(doc, ann)); |
| 172 | } |
| 173 | |
| 174 | /** |
| 175 | * Returns the document text between the provided offsets. |
nothing calls this directly
no test coverage detected