| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<TagTokenizer> |
CREATOR |
| Constructor and Description |
|---|
TagTokenizer(java.util.List<java.lang.Character> tagPrefixes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsTokenTerminator(java.lang.CharSequence charSequence)
Return true if there is a character in the charSequence that should trigger token detection
|
int |
describeContents() |
java.util.List<com.tokenautocomplete.Range> |
findTokenRanges(java.lang.CharSequence charSequence,
int start,
int end)
Find all ranges that can be tokenized.
|
protected boolean |
isTokenTerminator(char character) |
java.lang.CharSequence |
wrapTokenValue(java.lang.CharSequence text)
Return a complete string representation of the token.
|
void |
writeToParcel(android.os.Parcel parcel,
int i) |
public static final android.os.Parcelable.Creator<TagTokenizer> CREATOR
public TagTokenizer(java.util.List<java.lang.Character> tagPrefixes)
protected boolean isTokenTerminator(char character)
public boolean containsTokenTerminator(java.lang.CharSequence charSequence)
TokenizercontainsTokenTerminator in interface TokenizercharSequence - source text to look at@NonNull
public java.util.List<com.tokenautocomplete.Range> findTokenRanges(java.lang.CharSequence charSequence,
int start,
int end)
TokenizerfindTokenRanges in interface TokenizercharSequence - the string to search instart - where the tokenizer should start looking for tokensend - where the tokenizer should stop looking for tokens@NonNull public java.lang.CharSequence wrapTokenValue(java.lang.CharSequence text)
TokenizerwrapTokenValue in interface Tokenizertext - the value to wrappublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel parcel,
int i)
writeToParcel in interface android.os.Parcelable