Beispiel #1
0
 public String toString() {
   if ((this.mName != null) && (!this.mName.equals(this.mAddress))) {
     if (this.mName.matches(".*[\\(\\)<>@,;:\\\\\".\\[\\]].*"))
       return Utils.ensureQuotedString(this.mName) + " <" + this.mAddress + ">";
     return this.mName + " <" + this.mAddress + ">";
   }
   return this.mAddress;
 }