Lines Matching defs:name
20 * This class stores an RFC 822-like name, address, and comment,
27 * Creates a new Rfc822Token with the specified name, address,
30 public Rfc822Token(String name, String address, String comment) {
31 mName = name;
37 * Returns the name part.
58 * Changes the name to the specified name.
60 public void setName(String name) {
61 mName = name;
79 * Returns the name (with quoting added if necessary),
107 * Returns the name, conservatively quoting it if there are any
111 public static String quoteNameIfNecessary(String name) {
112 int len = name.length();
115 char c = name.charAt(i);
121 return '"' + quoteName(name) + '"';
125 return name;
129 * Returns the name, with internal backslashes and quotation marks
133 public static String quoteName(String name) {
136 int len = name.length();
138 char c = name.charAt(i);