/javamail/dsn/src/main/java/com/sun/mail/dsn/ |
H A D | Report.java | 44 * An abstract report type, to be included in a MultipartReport. 51 protected String type; // the MIME subtype of the report field in class:Report 55 * The primary MIME type is always "message". 57 * @param type the MIME subtype 59 protected Report(String type) { argument 60 this.type = type; 65 * The primary MIME type is always "message". 70 return type;
|
H A D | text_rfc822headers.java | 50 * DataContentHandler for text/rfc822-headers MIME type. 77 * Return the Transfer Data of type DataFlavor from InputStream. 152 * Write the object to the output stream, using the specified MIME type. 154 public void writeTo(Object obj, String type, OutputStream os) argument 172 "was given object of type " + obj.getClass().toString()); 178 enc = getCharset(type); 197 private String getCharset(String type) { argument 199 ContentType ct = new ContentType(type);
|
/javamail/mail/src/main/java/javax/mail/event/ |
H A D | ConnectionEvent.java | 62 * The event type. 66 protected int type; field in class:ConnectionEvent 74 * @param type the event type 76 public ConnectionEvent(Object source, int type) { argument 78 this.type = type; 82 * Return the type of this event 83 * @return type 86 return type; [all...] |
H A D | FolderEvent.java | 74 * The event type. 78 protected int type; field in class:FolderEvent 99 * @param type The event type 101 public FolderEvent(Object source, Folder folder, int type) { argument 102 this(source, folder, folder, type); 111 * @param type The event type 115 Folder newFolder, int type) { 119 this.type 114 FolderEvent(Object source, Folder oldFolder, Folder newFolder, int type) argument [all...] |
H A D | MessageChangedEvent.java | 60 * The event type. 64 protected int type; field in class:MessageChangedEvent 76 * @param type The change type 79 public MessageChangedEvent(Object source, int type, Message msg) { argument 82 this.type = type; 86 * Return the type of this event. 87 * @return type 90 return type; [all...] |
H A D | StoreEvent.java | 68 * The event type. 72 protected int type; field in class:StoreEvent 87 * @param type the event type 90 public StoreEvent(Store store, int type, String message) { argument 92 this.type = type; 97 * Return the type of this event. 99 * @return type 104 return type; [all...] |
H A D | MessageCountEvent.java | 71 * The event type. 75 protected int type; field in class:MessageCountEvent 98 * @param type The event type 107 public MessageCountEvent(Folder folder, int type, argument 110 this.type = type; 116 * Return the type of this event. 117 * @return type 120 return type; [all...] |
H A D | TransportEvent.java | 83 * The event type. 87 protected int type; field in class:TransportEvent 104 * @param type the event type (MESSAGE_DELIVERED, etc.) 111 public TransportEvent(Transport transport, int type, Address[] validSent, argument 115 this.type = type; 123 * Return the type of this event. 124 * @return type 127 return type; [all...] |
/javamail/mail/src/main/java/javax/mail/ |
H A D | Provider.java | 57 * This inner class defines the Provider type. 66 private String type; field in class:Provider.Type 68 private Type(String type) { argument 69 this.type = type; 73 return type; 77 private Type type; field in class:Provider 81 * Create a new provider of the specified type for the specified 84 * @param type Type.STORE or Type.TRANSPORT 85 * @param protocol valid protocol for the type 91 Provider(Type type, String protocol, String classname, String vendor, String version) argument [all...] |
H A D | Message.java | 239 * The type of recipient, usually the name of a corresponding 244 protected String type; field in class:Message.RecipientType 251 * @param type the recipient type 253 protected RecipientType(String type) { argument 254 this.type = type; 268 if (type.equals("To")) 270 else if (type.equals("Cc")) 272 else if (type 298 getRecipients(RecipientType type) argument 359 setRecipients(RecipientType type, Address[] addresses) argument 375 setRecipient(RecipientType type, Address address) argument 398 addRecipients(RecipientType type, Address[] addresses) argument 413 addRecipient(RecipientType type, Address address) argument [all...] |
H A D | Store.java | 235 * @param type the StoreEvent type 238 protected void notifyStoreListeners(int type, String message) { argument 242 StoreEvent e = new StoreEvent(this, type, message); 291 * @param type type of FolderEvent 295 protected void notifyFolderListeners(int type, Folder folder) { argument 299 FolderEvent e = new FolderEvent(this, folder, type);
|
/javamail/android/activation/src/main/java/com/sun/activation/registries/ |
H A D | MimeTypeEntry.java | 46 private String type; field in class:MimeTypeEntry 50 type = mime_type; 55 return type; 63 return "MIMETypeEntry: " + type + ", " + extension;
|
/javamail/mail/src/main/java/javax/mail/search/ |
H A D | RecipientStringTerm.java | 60 * The recipient type. 64 private Message.RecipientType type; field in class:RecipientStringTerm 71 * @param type the recipient type 74 public RecipientStringTerm(Message.RecipientType type, String pattern) { argument 76 this.type = type; 80 * Return the type of recipient to match with. 82 * @return the recipient type 85 return type; [all...] |
H A D | RecipientTerm.java | 55 * The recipient type. 59 private Message.RecipientType type; field in class:RecipientTerm 66 * @param type the recipient type 69 public RecipientTerm(Message.RecipientType type, Address address) { argument 71 this.type = type; 75 * Return the type of recipient to match with. 77 * @return the recipient type 80 return type; [all...] |
/javamail/mail/src/main/java/javax/mail/util/ |
H A D | ByteArrayDataSource.java | 60 private String type; // content-type field in class:ByteArrayDataSource 75 * specified InputStream and with the specified MIME type. 80 * @param type the MIME type 83 public ByteArrayDataSource(InputStream is, String type) throws IOException { argument 103 this.type = type; 108 * specified byte array and with the specified MIME type. 111 * @param type th 113 ByteArrayDataSource(byte[] data, String type) argument 130 ByteArrayDataSource(String data, String type) argument [all...] |
/javamail/outlook/src/main/java/ |
H A D | MSBodyPart.java | 46 private String type = UNKNOWN; field in class:MSBodyPart 64 if (type == UNKNOWN) 66 return type; 103 type = map.getContentType(filename); 104 if (type == null) 105 type = "application/octet-stream"; 118 if (type == UNKNOWN || type == null) 119 type = "text/plain";
|
H A D | MSMessage.java | 52 private String type; field in class:MSMessage 155 type = "multipart/mixed"; 158 type = "text/plain"; // charset = ? 166 * Return content-type 169 return type;
|
/javamail/android/activation/src/main/java/javax/activation/ |
H A D | URLDataSource.java | 76 * Returns the value of the URL content-type header field. 80 * method on the URL. If this method fails, or if a content type is not 82 * "application/octet-stream" as the content type.</i> 84 * @return the content type. 87 String type = null; 95 type = url_conn.getContentType(); 97 if (type == null) 98 type = "application/octet-stream"; 100 return type;
|
/javamail/mail/src/main/java/com/sun/mail/iap/ |
H A D | Response.java | 59 protected int type = 0; field in class:Response 130 type = r.type; 145 r.type |= SYNTHETIC; 156 type |= CONTINUATION; 160 type |= UNTAGGED; 163 type |= TAGGED; 174 type |= OK; 176 type |= NO; 178 type | [all...] |
/javamail/mail/src/test/java/javax/mail/internet/ |
H A D | AddAddressHeaderTest.java | 96 private void testRecipients(Message.RecipientType type) throws Exception { argument 98 m.setRecipients(type, setList); 99 m.addRecipients(type, addList); 102 String[] h = m.getHeader(type.toString());
|
/javamail/mbox/src/main/java/com/sun/mail/mbox/ |
H A D | UNIXFile.java | 57 // lock type enum 64 int type = NATIVE; 66 type = NONE; 68 type = JAVA; 69 lockType = type;
|
/javamail/mail/src/main/java/com/sun/mail/handlers/ |
H A D | text_plain.java | 122 * Write the object to the output stream, using the specified MIME type. 124 public void writeTo(Object obj, String type, OutputStream os) argument 129 "was given object of type " + obj.getClass().toString()); 135 enc = getCharset(type); 161 private String getCharset(String type) { argument 163 ContentType ct = new ContentType(type);
|
/javamail/mail/src/test/java/com/sun/mail/imap/ |
H A D | IMAPResponseEventTest.java | 90 private void testLogin(String type) { argument 93 final IMAPHandler handler = new IMAPHandlerLogin(type); 145 * Custom handler. Forces use of specific login type and includes 150 public IMAPHandlerLogin(String type) { argument 151 capabilities += " " + type + " X-LOGIN-SUCCESS";
|
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/ |
H A D | BODYSTRUCTURE.java | 62 public String type; // Type field in class:BODYSTRUCTURE 105 type = "multipart"; 168 type + "/" + subtype + ": " + 221 type = "text"; 231 type = r.readString(); 233 System.out.println("DEBUG IMAP: type " + type); 240 if (type == null) { 241 type = "application"; 270 if (type [all...] |
/javamail/mail/src/test/java/com/sun/mail/util/ |
H A D | BASE64Test.java | 147 String type = "big stream"; // for error messages below 155 Assert.assertEquals(name + ": " + type + 159 Assert.assertEquals(name + ": " + type + 161 Assert.assertTrue(name + ": " + type + 175 Assert.assertEquals(name + ": " + type + 184 compare(name, type, cbuf, cnbuf); 186 compare(name, type, buf, nbuf); 301 private static void compare(String name, String type, argument 305 System.out.println(name + ": " + type + 312 Assert.assertEquals(name + ": " + type [all...] |