# Print output for @column tags ?> MultiAutoCompleteTextView.Tokenizer - Android SDK | Android Developers

Most visited


Recently visited


MultiAutoCompleteTextView.Tokenizer

public static interface MultiAutoCompleteTextView.Tokenizer

android.widget.MultiAutoCompleteTextView.Tokenizer


Summary


Public methods

abstract int findTokenEnd(CharSequence text, int cursor)

Returns the end of the token (minus trailing punctuation) that begins at offset cursor within text.

abstract int findTokenStart(CharSequence text, int cursor)

Returns the start of the token that ends at offset cursor within text.

abstract CharSequence terminateToken(CharSequence text)

Returns text, modified, if necessary, to ensure that it ends with a token terminator (for example a space or comma).

Public methods


findTokenEnd

public abstract int findTokenEnd (CharSequence text, 
                int cursor)

Returns the end of the token (minus trailing punctuation) that begins at offset cursor within text.

Parameters
text CharSequence

cursor int

Returns
int

findTokenStart

public abstract int findTokenStart (CharSequence text, 
                int cursor)

Returns the start of the token that ends at offset cursor within text.

Parameters
text CharSequence

cursor int

Returns
int

terminateToken

public abstract CharSequence terminateToken (CharSequence text)

Returns text, modified, if necessary, to ensure that it ends with a token terminator (for example a space or comma).

Parameters
text CharSequence

Returns
CharSequence

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.