public class HighlightsExtractor
extends java.lang.Object
Constructor and Description |
---|
HighlightsExtractor(java.util.Map<java.lang.String,TextAttributesKey> tags) |
HighlightsExtractor(java.util.Map<java.lang.String,TextAttributesKey> tags,
java.util.Map<java.lang.String,TextAttributesKey> inlineElements,
java.util.Map<java.lang.String,ColorKey> additionalColorKeyMap) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
extractHighlights(java.lang.String text,
java.util.List<? super HighlightData> highlights) |
public HighlightsExtractor(java.util.Map<java.lang.String,TextAttributesKey> tags)
public HighlightsExtractor(java.util.Map<java.lang.String,TextAttributesKey> tags, java.util.Map<java.lang.String,TextAttributesKey> inlineElements, java.util.Map<java.lang.String,ColorKey> additionalColorKeyMap)
public java.lang.String extractHighlights(java.lang.String text, java.util.List<? super HighlightData> highlights)