public class URLToken extends ReplaceableToken
| Modifier and Type | Field and Description |
|---|---|
protected SanitizedURL |
sanitizedURL |
replaced, tokenReplacement| Constructor and Description |
|---|
URLToken(String token,
String delimiter,
int start,
int end) |
URLToken(Token token) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getExtractedURL() |
String |
getTokenReplacement() |
static SanitizedURL |
isURL(String url) |
createHref, createLink, getDelimiterprotected SanitizedURL sanitizedURL
public URLToken(Token token)
public String getTokenReplacement()
getTokenReplacement in class ReplaceableTokenpublic URL getExtractedURL() throws MalformedURLException
MalformedURLExceptionpublic static SanitizedURL isURL(String url)
Copyright © 2019. All Rights Reserved.