Home
last modified time | relevance | path

Searched refs:emailString (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DEmailAddress.java47 public EmailAddress(final String emailString) { in EmailAddress() argument
48 this(emailString, false); in EmailAddress()
58 public EmailAddress(final String emailString, final boolean i18n) { in EmailAddress() argument
60 valid = parseEmail(emailString); in EmailAddress()
86 protected boolean parseEmail(final String emailString) { in parseEmail() argument
88 if (emailString == null) { in parseEmail()
94 final int atIndex = emailString.lastIndexOf('@'); in parseEmail()
97 (atIndex == (emailString.length() - 1))) { // last character, no host in parseEmail()
101 user = emailString.substring(0, atIndex); in parseEmail()
102 host = emailString.substring(atIndex + 1); in parseEmail()