public class LinkExtractor extends Object
Create and configure an extractor using builder(), then call extractLinks(java.lang.CharSequence).
| Modifier and Type | Class and Description |
|---|---|
static class |
LinkExtractor.Builder
Builder for configuring link extractor.
|
| Modifier and Type | Method and Description |
|---|---|
static LinkExtractor.Builder |
builder() |
Iterable<LinkSpan> |
extractLinks(CharSequence input)
Extract the links from the input text.
|
public static LinkExtractor.Builder builder()
public Iterable<LinkSpan> extractLinks(CharSequence input)
input - the input text, must not be nullnullCopyright © 2016. All rights reserved.