/javamail/mail/src/main/java/javax/mail/ |
H A D | Header.java | 45 * The Header class stores a name/value pair to represent headers. 60 * The value of the header. 64 protected String value; field in class:Header 70 * @param value value of the header 72 public Header(String name, String value) { argument 74 this.value = value; 87 * Returns the value of this header. 89 * @return value o [all...] |
H A D | MailSessionDefinitions.java | 57 MailSessionDefinition[] value(); method in interface:MailSessionDefinitions
|
H A D | Folder.java | 395 * messages or subfolders or both. The returned value is an integer 698 * also be prepared to handle a return value of -1 in this case. 721 * also be prepared to handle a return value of -1 in this case. <p> 767 * also be prepared to handle a return value of -1 in this case. <p> 813 * also be prepared to handle a return value of -1 in this case. <p> 1059 * @param value set the flags to this boolean value 1067 Flags flag, boolean value) throws MessagingException { 1070 msgs[i].setFlags(flag, value); 1100 * @param value se 1066 setFlags(Message[] msgs, Flags flag, boolean value) argument 1109 setFlags(int start, int end, Flags flag, boolean value) argument 1151 setFlags(int[] msgnums, Flags flag, boolean value) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/util/ |
H A D | PropUtil.java | 48 * Properties can be strings or type-specific value objects. 63 * @param def default value if property not found 64 * @return the property value 75 * @param def default value if property not found 76 * @return the property value 88 * @param def default value if property not found 89 * @return the property value 101 * @param def default value if property not found 102 * @return the property value 113 * @param def default value i 157 getInt(Object value, int def) argument 174 getBoolean(Object value, boolean def) argument [all...] |
/javamail/mail/src/main/java/javax/mail/internet/ |
H A D | ParameterList.java | 49 * This class holds MIME parameters (attribute-value pairs). 67 * being quoted; the parameter value ends at the next semicolon. 79 * The map of name, value pairs. 80 * The value object is either a String, for unencoded 105 * named "title" with value "part1part2". 107 * Note also that each segment of the value might or might not be 115 * decode a parameter value causes the non-decoded parameter value 126 * The value object is either a String or a Value object. 162 * A struct to hold an encoded value 172 String value; field in class:ParameterList.Value 181 String value; field in class:ParameterList.LiteralValue 195 String value; field in class:ParameterList.MultiValue 366 putEncodedName(String name, String value) argument 560 set(String name, String value) argument 585 set(String name, String value, String charset) argument 605 setLiteral(String name, String value) argument 737 addNV(String name, String value) argument 768 quote(String value) argument 783 encodeValue(String value, String charset) argument 815 extractCharset(String value) argument 850 decodeBytes(String value, String charset) argument 889 decodeBytes(String value, OutputStream os) argument [all...] |
H A D | ContentDisposition.java | 48 * This class represents a MIME ContentDisposition value. It provides 104 * Return the disposition value. 113 * Return the specified parameter value. Returns <code>null</code> 117 * @return parameter value 149 * it is replaced by this new value. 152 * @param value parameter value 155 public void setParameter(String name, String value) { argument 159 list.set(name, value);
|
H A D | HeaderTokenizer.java | 66 private String value; field in class:HeaderTokenizer.Token 74 * Token type indicating a quoted string. The value 80 * Token type indicating a comment. The value field 94 * @param value Token value 96 public Token(int type, String value) { argument 98 this.value = value; 104 * itself, converted to an integer. Otherwise, it's value is 124 * Returns the value o [all...] |
H A D | ContentType.java | 48 * This class represents a MIME Content-Type value. It provides 138 * The returned value is basically the concatenation of 150 * Return the specified parameter value. Returns <code>null</code> 154 * @return parameter value 191 * it is replaced by this new value. 194 * @param value parameter value 196 public void setParameter(String name, String value) { argument 200 list.set(name, value);
|
H A D | InternetHeaders.java | 93 * An InternetHeader object with a null value is used as a placeholder 103 * Note that the value field from the superclass 104 * isn't used in this class. We extract the value 106 * rather than just the value to ensure that we can 132 * Constructor that takes a header name and value. 135 * @param v the value of the header 146 * Return the "value" part of the header line. 287 * Placeholder entries are Headers with a null value and 471 * @return the value fields for all headers with 493 * to have value, addin 501 setHeader(String name, String value) argument 544 addHeader(String name, String value) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/util/logging/ |
H A D | DurationFilter.java | 62 * value. (defaults to {@code 1000})
67 * can be used as the value. If the {@code java.time} package is available then
68 * an ISO-8601 duration format of {@code PnDTnHnMn.nS} can be used as the value.
104 * The number of records seen for the current duration. This value negative
194 * Returns a hash code value for this filter.
345 * Reads a long value or multiplication expression from the LogManager. If
346 * the value can not be parsed or is not defined then Long.MIN_VALUE is
350 * @return a long value or Long.MIN_VALUE if unable to parse or undefined.
356 String value = fromLogManager(p.concat(suffix));
357 if (value ! 397 isTimeEntry(final String suffix, final String value) argument 410 tokenizeLongs(final String value) argument [all...] |
H A D | LogManagerProperties.java | 57 * the parent properties are searched. If no value is found, then, the 58 * LogManager is searched with prefix value. If not found, then, just the key 59 * itself is searched in the LogManager. If a value is found in the LogManager 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. 390 * @param value an ISO-8601 duration character sequence. 404 static long parseDurationToMillis(final CharSequence value) throws Exception { argument 418 return (Long) toMillis.invoke(parse.invoke(null, value)); 525 * reverseOrder method that method is called first and the return value is 892 * @return the value fo 974 put(final Object key, final Object value) argument 992 setProperty(String key, String value) argument [all...] |
H A D | MailHandler.java | 232 * <li>If the value is not set, equal to an empty string, or equal to the 234 * <li>If set to a value of <tt>limited</tt> then the <tt>Handler</tt> will 236 * <li>If set to a value of <tt>local</tt> the <tt>Handler</tt> will verify 238 * <li>If set to a value of <tt>resolve</tt>, the <tt>Handler</tt> will 241 * <li>If set to a value of <tt>remote</tt>, the <tt>Handler</tt> will 339 * if it starts with value returned from <tt>Level.SEVERE.getName()</tt>. 370 * Cache the off value. 388 * 1. A null value meaning default state of not publishing. 436 * attachment parts. All indexes less than or equal to the matched value 562 * The key/value pair [all...] |
/javamail/android/activation/src/main/java/javax/activation/ |
H A D | MimeTypeParameterList.java | 103 String value; 125 // now parse the '=' that separates the name from the value 131 "parameter name from its value."); 133 // eat it and parse the parameter value 139 "Couldn't find a value for parameter named " + name); 141 // now find out whether or not we have a quoted value 148 "Encountered unterminated quoted parameter value."); 167 "Encountered unterminated quoted parameter value."); 169 value = unquote(parameterList.substring(lastIndex, i)); 178 value 230 set(String name, String value) argument 295 quote(String value) argument 332 unquote(String value) argument [all...] |
H A D | MimeType.java | 207 * Retrieve the value associated with the given name, or null if there 211 * @return the paramter's value 218 * Set the value to be associated with the given name, replacing 222 * @param value the paramter's value 224 public void setParameter(String name, String value) { argument 225 parameters.set(name, value); 229 * Remove any value associated with the given name.
|
/javamail/mail/src/test/java/javax/mail/internet/ |
H A D | InternetAddressTest.java | 175 doStrict = Boolean.parseBoolean(value(header)); 177 doParseHeader = Boolean.parseBoolean(value(header)); 227 private static String value(String header) { method in class:InternetAddressTest 265 * Test the header's value to see if we can parse it as expected. 267 public static void test(String header, String value, String expect[], argument 271 pr(header + ": " + value); 273 pr("Test: " + value); 278 al = InternetAddress.parseHeader(value, doStrict); 280 al = InternetAddress.parse(value, doStrict); 288 Assert.assertEquals("For " + value [all...] |
H A D | HeaderTokenizerTest.java | 64 private String value; field in class:HeaderTokenizerTest 76 public HeaderTokenizerTest(String heder, String value, String[] expect) { argument 78 this.value = value; 93 test(header, value, expect); 219 * Test the header's value to see if we can tokenize it as expected. 221 public static void test(String header, String value, String expect[]) { argument 224 out.println(header + ": " + value); 226 out.println("Test: " + value); 229 HeaderTokenizer ht = new HeaderTokenizer(value, [all...] |
H A D | ParameterListDecode.java | 262 * Test the header's value to see if we can parse it as expected. 264 public static void test(String header, String value, String expect[]) argument 273 out.println(header + ": " + value); 276 out.println("Test: " + value); 279 ContentType ct = new ContentType(value); 302 assertEquals("Parameter value", 335 new ByteArrayDataSource(buf, value)));
|
/javamail/demo/src/main/java/internal/ |
H A D | TtyAuthenticator.java | 86 String name, String value) { 90 if (value != null) 91 p.print("[" + value + "] "); 97 return value; 101 return value; 85 get(BufferedReader in, String name, String value) argument
|
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/ |
H A D | ID.java | 68 // ;; list of field value pairs 87 throw new ProtocolException("ID field without value: " + 89 String value = v[i + 1]; 90 serverParams.put(name, value);
|
H A D | BODYSTRUCTURE.java | 419 String value = r.readString(); 421 System.out.println("DEBUG IMAP: parameter value " + value); 422 if (value == null) // work around buggy servers 423 value = ""; 424 list.set(name, value);
|
/javamail/android/activation/src/main/java/com/sun/activation/registries/ |
H A D | MimeTypeFile.java | 172 String value = null; 175 value = lt.nextToken(); 176 if (value == null) { 182 mime_type = value; 184 StringTokenizer st = new StringTokenizer(value, ",");
|
H A D | MailcapTokenizer.java | 84 public void setIsAutoquoting(boolean value) { argument 85 isAutoquoting = value; 91 * @return The current token value 131 * Retrieve current token value. 133 * @return A String containing the current token value
|
/javamail/mail/src/test/java/com/sun/mail/test/ |
H A D | ClassLoaderSuite.java | 61 * the value of a System property that's read at class initialization 62 * time; each test can set a different value of the System property 95 public Class<?> value(); method in interface:ClassLoaderSuite.TestClass 155 * Get the value of the SuiteClasses annotation. 163 return annotation.value(); 167 * Get the value of the TestClass annotation. 175 return annotation.value();
|
/javamail/mail/src/test/java/com/sun/mail/util/logging/ |
H A D | LogManagerPropertiesTest.java | 174 String value = "value"; 177 parent.put(key, value); 182 assertEquals(value, LogManagerProperties.fromLogManager(key)); 210 props.put(k.getName().concat(".dummy"), "value"); 295 parent.put(key, "value"); 303 assertEquals("value", mp.getProperty(key)); 304 assertTrue(contains(mp, key, "value")); //ensure copy worked. 520 parent.put(key, "value"); 529 assertEquals("value", m 1240 contains(Properties props, String key, String value) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/imap/ |
H A D | IMAPBodyPart.java | 131 if (description != null) // cached value ? 325 public void setHeader(String name, String value) argument 330 public void addHeader(String name, String value) argument
|