Build 1.0_r1(from source)

android.text
Class LoginFilter.UsernameFilterGMail

java.lang.Object
  extended by android.text.LoginFilter
      extended by android.text.LoginFilter.UsernameFilterGMail
All Implemented Interfaces:
InputFilter
Enclosing class:
LoginFilter

public static class LoginFilter.UsernameFilterGMail
extends LoginFilter

This filter rejects characters in the user name that are not compatible with GMail account creation. It prevents the user from entering user names with characters other than [a-zA-Z0-9.].


Nested Class Summary
 
Nested classes/interfaces inherited from class android.text.LoginFilter
LoginFilter.PasswordFilterGMail, LoginFilter.UsernameFilterGeneric, LoginFilter.UsernameFilterGMail
 
Nested classes/interfaces inherited from interface android.text.InputFilter
InputFilter.AllCaps, InputFilter.LengthFilter
 
Constructor Summary
LoginFilter.UsernameFilterGMail()
           
LoginFilter.UsernameFilterGMail(boolean appendInvalid)
           
 
Method Summary
 boolean isAllowed(char c)
          Returns whether or not we allow character c.
 
Methods inherited from class android.text.LoginFilter
filter, onInvalidCharacter, onStart, onStop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginFilter.UsernameFilterGMail

public LoginFilter.UsernameFilterGMail()

LoginFilter.UsernameFilterGMail

public LoginFilter.UsernameFilterGMail(boolean appendInvalid)
Method Detail

isAllowed

public boolean isAllowed(char c)
Description copied from class: LoginFilter
Returns whether or not we allow character c. Subclasses must override this method.

Specified by:
isAllowed in class LoginFilter

Build 1.0_r1(from source)

Please submit a feedback, bug or feature