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, getDelimiter
protected SanitizedURL sanitizedURL
public URLToken(Token token)
public String getTokenReplacement()
getTokenReplacement
in class ReplaceableToken
public URL getExtractedURL() throws MalformedURLException
MalformedURLException
public static SanitizedURL isURL(String url)
Copyright © 2019. All Rights Reserved.