public class HashTagToken extends ReplaceableToken
Modifier and Type | Field and Description |
---|---|
protected SanitizedHashTag |
sanitizedHashTag |
replaced, tokenReplacement
Constructor and Description |
---|
HashTagToken(String token,
String delimiter,
int start,
int end) |
HashTagToken(Token token) |
Modifier and Type | Method and Description |
---|---|
String |
getHashTag() |
String |
getTokenReplacement() |
static SanitizedHashTag |
isHashTag(String hastag) |
createHref, createLink, getDelimiter
protected SanitizedHashTag sanitizedHashTag
public HashTagToken(Token token)
public String getTokenReplacement()
getTokenReplacement
in class ReplaceableToken
public static SanitizedHashTag isHashTag(String hastag)
Copyright © 2019. All Rights Reserved.