Build 1.0_r1(from source)

android.text
Class LoginFilter.UsernameFilterGeneric

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

public static class LoginFilter.UsernameFilterGeneric
extends LoginFilter

This filter rejects characters in the user name that are not compatible with Google login. It is slightly less restrictive than the above filter in that it allows [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.UsernameFilterGeneric()
           
LoginFilter.UsernameFilterGeneric(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.UsernameFilterGeneric

public LoginFilter.UsernameFilterGeneric()

LoginFilter.UsernameFilterGeneric

public LoginFilter.UsernameFilterGeneric(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