Android
android.text
public static class

android.text.LoginFilter.UsernameFilterGMail

java.lang.Object
android.text.LoginFilter InputFilter
android.text.LoginFilter.UsernameFilterGMail

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.].

Summary

Public Constructors

            LoginFilter.UsernameFilterGMail()
            LoginFilter.UsernameFilterGMail(boolean appendInvalid)

Public Methods

          boolean  isAllowed(char c)
Returns whether or not we allow character c.
Methods inherited from class android.text.LoginFilter
Methods inherited from class java.lang.Object
Methods inherited from interface android.text.InputFilter

Details

Public Constructors

public LoginFilter.UsernameFilterGMail()

public LoginFilter.UsernameFilterGMail(boolean appendInvalid)

Public Methods

public boolean isAllowed(char c)

Returns whether or not we allow character c. Subclasses must override this method.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56