Searched refs:key (Results 1 - 11 of 11) sorted by relevance

/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DIMAPResponse.java56 private String key; field in class:IMAPResponse
67 key = readAtom();
71 number = Integer.parseInt(key);
72 key = readAtom();
84 key = r.key;
135 return key;
139 if (key != null && key.equalsIgnoreCase(k))
/javamail/mail/src/test/java/com/sun/mail/util/logging/
H A DLogManagerPropertiesTest.java173 String key = prefix.concat(".dummy");
177 parent.put(key, value);
182 assertEquals(value, LogManagerProperties.fromLogManager(key));
252 String key = e.getKey().toString();
253 String val = LogManagerProperties.fromLogManager(key);
293 String key = prefix.concat(".dummy");
295 parent.put(key, "value");
302 assertFalse(contains(mp, key, null));
303 assertEquals("value", mp.getProperty(key));
304 assertTrue(contains(mp, key, "valu
1240 contains(Properties props, String key, String value) argument
[all...]
H A DMailHandlerTest.java3496 private Address[] parseKey(Session s, String key) throws Exception {
3497 final String v = s.getProperty(key);
3499 return null; //value not present for key.
3501 return new Address[0]; //value empty for key.
6057 String key;
6061 key = p.concat(".errorManager");
6062 props.put(key, InitErrorManager.class.getName());
6107 String key;
6111 key = p.concat(".errorManager");
6112 props.put(key, InitErrorManage
[all...]
/javamail/mail/src/main/java/com/sun/mail/util/logging/
H A DLogManagerProperties.java58 * LogManager is searched with prefix value. If not found, then, just the key
60 * it is then copied to this properties object with no key prefix. If no value
62 * object is searched only by passing the key value.
889 * system properties by the prefix property, and then by the key itself.
891 * @param key a non null key.
892 * @return the value for that key.
895 public synchronized String getProperty(final String key) { argument
896 String value = defaults.getProperty(key);
898 if (key
932 getProperty(final String key, final String def) argument
947 get(final Object key) argument
974 put(final Object key, final Object value) argument
992 setProperty(String key, String value) argument
1005 containsKey(final Object key) argument
1023 remove(final Object key) argument
1083 preWrite(final Object key) argument
[all...]
H A DMailHandler.java107 * LogManager by prefixing a key using the fully qualified class name of this
562 * The key/value pairs are defined in the <tt>Java Mail API</tt>
1247 * Sets the mail properties used for the session. The key/value pairs
2147 * TailNameFormatter. TailNameFormatter is safe use as a map key.
2159 final Object key;
2161 key = o;
2165 key = o.getClass().getConstructor().newInstance();
2170 if (key.getClass() == o.getClass()) {
2171 Object found = m.get(key); //Transitive equals test.
2174 final boolean right = key
4007 setRecipient(final Message msg, final String key, final Message.RecipientType type) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DDigestMD5.java177 * @return Map containing key/value pairs from server
184 String key = null;
200 if (key == null) {
201 key = tokens.sval;
208 key + "='" + tokens.sval + "'");
209 if (map.containsKey(key)) { // concatenate multiple values
210 map.put(key, map.get(key) + "," + tokens.sval);
212 map.put(key, tokens.sval);
214 key
[all...]
/javamail/logging/src/main/java/
H A DMailHandlerDemo.java188 String key = "java.util.logging.config.file";
189 String cfg = System.getProperty(key);
200 err.println(prefix + ": " + key
218 key = p.concat(".mail.to");
219 String to = manager.getProperty(key);
226 key = p.concat(".mail.from");
227 String from = manager.getProperty(key);
/javamail/mail/src/main/java/com/sun/mail/auth/
H A DNtlm.java193 * Convert a 7 byte array to an 8 byte array (for a des key with parity).
260 * each key and return the three results in a sequential [].
262 private byte[] calcResponse(byte[] key, byte[] text) argument
264 assert key.length == 21;
265 DESKeySpec dks1 = new DESKeySpec(makeDesKey(key, 0));
266 DESKeySpec dks2 = new DESKeySpec(makeDesKey(key, 7));
267 DESKeySpec dks3 = new DESKeySpec(makeDesKey(key, 14));
/javamail/android/activation/src/main/java/javax/activation/
H A DMimeTypeParameterList.java262 String key = (String)keys.nextElement();
264 buffer.append(key);
266 buffer.append(quote((String)parameters.get(key)));
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DProtocol.java308 String key = apopChallenge + password;
312 digest = md.digest(key.getBytes("iso-8859-1")); // XXX
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimeUtility.java1449 // A valid entry is of the form <key><separator><value>
1453 String key = tk.nextToken();
1455 table.put(key.toLowerCase(Locale.ENGLISH), value);

Completed in 3361 milliseconds