thunderbird-android/src/com/fsck/k9/EmailAddressValidator.java
Jesse Vincent f31b2702a4 Massive rename to K9, step 1.
Conflicts:

	src/com/android/email/Email.java
2009-12-15 02:50:53 +00:00

18 lines
386 B
Java

package com.fsck.k9;
import android.text.util.Rfc822Tokenizer;
import android.widget.AutoCompleteTextView.Validator;
public class EmailAddressValidator implements Validator
{
public CharSequence fixText(CharSequence invalidText)
{
return "";
}
public boolean isValid(CharSequence text)
{
return Rfc822Tokenizer.tokenize(text).length > 0;
}
}