public interface Tokenizer
extends android.os.Parcelable
| 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
|
java.util.List<com.tokenautocomplete.Range> |
findTokenRanges(java.lang.CharSequence charSequence,
int start,
int end)
Find all ranges that can be tokenized.
|
java.lang.CharSequence |
wrapTokenValue(java.lang.CharSequence unwrappedTokenValue)
Return a complete string representation of the token.
|
@NonNull
java.util.List<com.tokenautocomplete.Range> findTokenRanges(java.lang.CharSequence charSequence,
int start,
int end)
charSequence - the string to search instart - where the tokenizer should start looking for tokensend - where the tokenizer should stop looking for tokens@NonNull java.lang.CharSequence wrapTokenValue(java.lang.CharSequence unwrappedTokenValue)
unwrappedTokenValue - the value to wrapboolean containsTokenTerminator(java.lang.CharSequence charSequence)
charSequence - source text to look at