Searched defs:getContentType (Results 1 - 19 of 19) sorted by relevance

/javamail/android/activation/src/main/java/javax/activation/
H A DDataSource.java82 * that getContentType return "application/octet-stream" if the
87 public String getContentType(); method in interface:DataSource
H A DURLDataSource.java77 * It calls the URL's <code>URLConnection.getContentType</code> method
81 * returned from the URLConnection, getContentType returns
86 public String getContentType() { method in class:URLDataSource
95 type = url_conn.getContentType();
H A DFileDataSource.java136 public String getContentType() { method in class:FileDataSource
139 return FileTypeMap.getDefaultFileTypeMap().getContentType(_file);
141 return typeMap.getContentType(_file);
H A DFileTypeMap.java50 * implement the getContentType methods which will derive a content
83 abstract public String getContentType(File file); method in class:FileTypeMap
92 abstract public String getContentType(String filename); method in class:FileTypeMap
H A DMimetypesFileTypeMap.java293 * <code>getContentType(f.getName())</code>.
298 public String getContentType(File f) { method in class:MimetypesFileTypeMap
299 return this.getContentType(f.getName());
311 public synchronized String getContentType(String filename) { method in class:MimetypesFileTypeMap
337 map.getContentType(argv[0]));
H A DDataHandler.java216 public String getContentType() { method in class:DataHandler
218 return dataSource.getContentType();
650 String ct = getContentType();
732 public String getContentType() { method in class:DataHandlerDataSource
733 return dataHandler.getContentType();
777 new ActivationDataFlavor(ds.getContentType(),
778 ds.getContentType());
819 "no DCH for content type " + ds.getContentType());
/javamail/outlook/src/main/java/
H A DMSBodyPart.java62 public String getContentType() throws MessagingException { method in class:MSBodyPart
103 type = map.getContentType(filename);
H A DMSMessage.java168 public String getContentType() throws MessagingException { method in class:MSMessage
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimePartDataSource.java133 * This implementation just invokes the <code>getContentType</code>
136 public String getContentType() { method in class:MimePartDataSource
138 return part.getContentType();
H A DMimeBodyPart.java272 public String getContentType() throws MessagingException { method in class:MimeBodyPart
789 setDataHandler(new DataHandler(mp, mp.getContentType()));
893 // overrides DataSource.getContentType()
894 public String getContentType() { method in class:MimeBodyPart.EncodedFileDataSource
895 return contentType != null ? contentType : super.getContentType();
1139 dh = new DataHandler(cachedContent, getContentType());
1159 String type = part.getContentType();
1434 String type = part.getContentType();
1463 String type = dh.getContentType();
1514 part.setHeader("Content-Type", mpart.getContentType());
[all...]
H A DMimeMessage.java989 public String getContentType() throws MessagingException { method in class:MimeMessage
1588 setDataHandler(new DataHandler(mp, mp.getContentType()));
2203 dh = new DataHandler(cachedContent, getContentType());
/javamail/mail/src/main/java/javax/mail/util/
H A DByteArrayDataSource.java178 public String getContentType() { method in class:ByteArrayDataSource
/javamail/mail/src/main/java/javax/mail/
H A DMultipart.java111 contentType = mp.getContentType();
127 public synchronized String getContentType() { method in class:Multipart
H A DPart.java64 * the <code>getContentType()</code> method. The MIME typing system
138 public String getContentType() throws MessagingException; method in interface:Part
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DSunV3BodyPart.java163 public String getContentType() throws MessagingException { method in class:SunV3BodyPart
H A DMboxMessage.java240 public String getContentType() throws MessagingException { method in class:MboxMessage
241 String ct = super.getContentType();
279 String ct = getContentType();
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPBodyPart.java102 public String getContentType() throws MessagingException { method in class:IMAPBodyPart
H A DIMAPMessage.java549 public synchronized String getContentType() throws MessagingException { method in class:IMAPMessage
552 return super.getContentType();
/javamail/mail/src/main/java/com/sun/mail/util/logging/
H A DMailHandler.java1767 private String getContentType(final String name) { method in class:MailHandler
1769 final String type = contentTypes.getContentType(name);
2931 setContent(parts[i], buffers[i], getContentType(name));
2951 String altType = getContentType(bodyFormat.getClass().getName());
3211 atn[i] = getContentType(atn[i]);

Completed in 316 milliseconds