Searched refs:dh (Results 1 - 19 of 19) sorted by relevance

/javamail/android/activation/src/main/java/javax/activation/
H A DCommandObject.java63 * @param dh The DataHandler.
65 public void setCommandContext(String verb, DataHandler dh) argument
H A DCommandInfo.java120 * @param dh The DataHandler that describes the data to be
127 public Object getCommandObject(DataHandler dh, ClassLoader loader) argument
160 ((CommandObject)new_bean).setCommandContext(verb, dh);
162 if (dh != null) {
163 InputStream is = dh.getInputStream();
H A DDataHandler.java708 public DataHandlerDataSource(DataHandler dh) { argument
709 this.dataHandler = dh;
/javamail/client/src/main/java/
H A DTextViewer.java51 private DataHandler dh = null; field in class:TextViewer
74 public void setCommandContext(String verb, DataHandler dh) argument
78 this.dh = dh;
80 this.setInputStream( dh.getInputStream() );
H A DMultipartViewer.java49 protected DataHandler dh = null; field in class:MultipartViewer
57 public void setCommandContext(String verb, DataHandler dh) throws IOException { argument
59 this.dh = dh;
62 Object content = dh.getContent();
126 DataHandler dh = bp.getDataHandler();
127 CommandInfo ci = dh.getCommand("view");
134 Object bean = dh.getBean(ci);
H A DMessageViewer.java174 DataHandler dh = displayed.getDataHandler();
175 CommandInfo ci = dh.getCommand("view");
181 Object bean = dh.getBean(ci);
195 * @param dh the datahandler used to get the content
198 DataHandler dh) throws IOException {
200 dataHandler = dh;
202 Object o = dh.getContent();
197 setCommandContext(String verb, DataHandler dh) argument
/javamail/dsn/src/main/java/com/sun/mail/dsn/
H A DMessageHeaders.java111 public void setDataHandler(DataHandler dh) throws MessagingException { argument
/javamail/mail/src/test/java/javax/mail/internet/
H A DMimeBodyPartTest.java95 DataHandler dh = obp.getDataHandler();
100 mbp.setDataHandler(dh);
114 * by setting the "dh" field in a subclass has the desired effect.
128 { dh = odh; }
157 public void setDataHandler(DataHandler dh)
159 super.setDataHandler(dh);
H A DMimeMessageTest.java174 DataHandler dh = orig.getDataHandler();
177 msg.setDataHandler(dh);
187 * by setting the "dh" field in a subclass has the desired effect.
197 { dh = odh; }
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimeBodyPart.java110 protected DataHandler dh; field in class:MimeBodyPart
626 if (dh == null)
627 dh = new MimePartDataHandler(this);
628 return dh;
681 * @param dh The DataHandler for the content
687 public void setDataHandler(DataHandler dh) argument
689 this.dh = dh;
1139 dh = new DataHandler(cachedContent, getContentType());
1458 DataHandler dh
[all...]
H A DMimeMessage.java108 protected DataHandler dh; field in class:MimeMessage
1401 * if (dh == null) {
1402 * dh = new DataHandler(new MimePartDataSource(this));
1404 * return dh;
1421 if (dh == null)
1422 dh = new MimeBodyPart.MimePartDataHandler(this);
1423 return dh;
1478 * @param dh The DataHandler for the content.
1485 public synchronized void setDataHandler(DataHandler dh) argument
1487 this.dh
[all...]
H A DMimeUtility.java290 * @param dh the DataHandler
294 public static String getEncoding(DataHandler dh) { argument
311 if (dh.getName() != null)
312 return getEncoding(dh.getDataSource());
315 cType = new ContentType(dh.getContentType());
324 dh.writeTo(aos);
345 dh.writeTo(aos);
/javamail/outlook/src/main/java/
H A DMSMessage.java156 dh = new DataHandler(new MSMultipartDataSource(this, content));
159 dh = new DataHandler(new MimePartDataSource(this));
/javamail/mail/src/main/java/javax/mail/
H A DPart.java311 * @param dh The DataHandler for the content.
318 public void setDataHandler(DataHandler dh) throws MessagingException; argument
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DMboxMessage.java276 if (dh == null) {
281 dh = new DataHandler(
284 return super.getDataHandler(); // will set "dh"
286 return dh;
H A DSunV3BodyPart.java292 * @param dh The DataHandler for the content
298 public void setDataHandler(DataHandler dh) argument
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPBodyPart.java289 if (dh == null) {
291 dh = new DataHandler(
296 dh = new DataHandler(
H A DIMAPMessage.java745 if (dh == null && !bodyLoaded) {
758 dh = new DataHandler(
767 dh = new DataHandler(
/javamail/
H A Dmail.sig838 fld protected javax.activation.DataHandler dh
903 fld protected javax.activation.DataHandler dh

Completed in 50 milliseconds