Build 1.0_r1(from source)

android.widget
Interface MultiAutoCompleteTextView.Tokenizer

All Known Implementing Classes:
MultiAutoCompleteTextView.CommaTokenizer, Rfc822Tokenizer
Enclosing class:
MultiAutoCompleteTextView

public static interface MultiAutoCompleteTextView.Tokenizer


Method Summary
 int findTokenEnd(CharSequence text, int cursor)
          Returns the end of the token (minus trailing punctuation) that begins at offset cursor within text.
 int findTokenStart(CharSequence text, int cursor)
          Returns the start of the token that ends at offset cursor within text.
 CharSequence terminateToken(CharSequence text)
          Returns text, modified, if necessary, to ensure that it ends with a token terminator (for example a space or comma).
 

Method Detail

findTokenStart

int findTokenStart(CharSequence text,
                   int cursor)
Returns the start of the token that ends at offset cursor within text.


findTokenEnd

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


terminateToken

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


Build 1.0_r1(from source)

Please submit a feedback, bug or feature