Subversion Repositories javautils

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7 daniel-mar 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_10) on Tue Nov 17 12:13:41 PST 2009 -->
6
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7
<TITLE>
8
IMAPMessage (JavaMail API documentation)
9
</TITLE>
10
 
11
<META NAME="date" CONTENT="2009-11-17">
12
 
13
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
14
 
15
<SCRIPT type="text/javascript">
16
function windowTitle()
17
{
18
    if (location.href.indexOf('is-external=true') == -1) {
19
        parent.document.title="IMAPMessage (JavaMail API documentation)";
20
    }
21
}
22
</SCRIPT>
23
<NOSCRIPT>
24
</NOSCRIPT>
25
 
26
</HEAD>
27
 
28
<BODY BGCOLOR="white" onload="windowTitle();">
29
<HR>
30
 
31
 
32
<!-- ========= START OF TOP NAVBAR ======= -->
33
<A NAME="navbar_top"><!-- --></A>
34
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
<TR>
37
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38
<A NAME="navbar_top_firstrow"><!-- --></A>
39
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40
  <TR ALIGN="center" VALIGN="top">
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/IMAPMessage.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
48
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
49
  </TR>
50
</TABLE>
51
</TD>
52
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53
</EM>
54
</TD>
55
</TR>
56
 
57
<TR>
58
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
&nbsp;<A HREF="../../../../com/sun/mail/imap/IMAPFolder.ProtocolCommand.html" title="interface in com.sun.mail.imap"><B>PREV CLASS</B></A>&nbsp;
60
&nbsp;<A HREF="../../../../com/sun/mail/imap/IMAPSSLStore.html" title="class in com.sun.mail.imap"><B>NEXT CLASS</B></A></FONT></TD>
61
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62
  <A HREF="../../../../index.html?com/sun/mail/imap/IMAPMessage.html" target="_top"><B>FRAMES</B></A>  &nbsp;
63
&nbsp;<A HREF="IMAPMessage.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
64
&nbsp;<SCRIPT type="text/javascript">
65
  <!--
66
  if(window==top) {
67
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
68
  }
69
  //-->
70
</SCRIPT>
71
<NOSCRIPT>
72
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
73
</NOSCRIPT>
74
 
75
 
76
</FONT></TD>
77
</TR>
78
<TR>
79
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_javax.mail.internet.MimeMessage">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
81
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
83
</TR>
84
</TABLE>
85
<A NAME="skip-navbar_top"></A>
86
<!-- ========= END OF TOP NAVBAR ========= -->
87
 
88
<HR>
89
<!-- ======== START OF CLASS DATA ======== -->
90
<H2>
91
<FONT SIZE="-1">
92
com.sun.mail.imap</FONT>
93
<BR>
94
Class IMAPMessage</H2>
95
<PRE>
96
<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
97
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../javax/mail/Message.html" title="class in javax.mail">javax.mail.Message</A>
98
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">javax.mail.internet.MimeMessage</A>
99
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.mail.imap.IMAPMessage</B>
100
</PRE>
101
<DL>
102
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A>, <A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></DD>
103
</DL>
104
<HR>
105
<DL>
106
<DT><PRE>public class <B>IMAPMessage</B><DT>extends <A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></DL>
107
</PRE>
108
 
109
<P>
110
This class implements an IMAPMessage object. <p>
111
 
112
 An IMAPMessage object starts out as a light-weight object. It gets
113
 filled-in incrementally when a request is made for some item. Or
114
 when a prefetch is done using the FetchProfile. <p>
115
 
116
 An IMAPMessage has a messageNumber and a sequenceNumber. The
117
 messageNumber is its index into its containing folder's messageCache.
118
 The sequenceNumber is its IMAP sequence-number.
119
<P>
120
 
121
<P>
122
<HR>
123
 
124
<P>
125
<!-- ======== NESTED CLASS SUMMARY ======== -->
126
 
127
<A NAME="nested_class_summary"><!-- --></A>
128
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
129
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
130
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
131
<B>Nested Class Summary</B></FONT></TH>
132
</TR>
133
</TABLE>
134
&nbsp;<A NAME="nested_classes_inherited_from_class_javax.mail.internet.MimeMessage"><!-- --></A>
135
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
136
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
137
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.mail.internet.<A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></B></TH>
138
</TR>
139
<TR BGCOLOR="white" CLASS="TableRowColor">
140
<TD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.RecipientType.html" title="class in javax.mail.internet">MimeMessage.RecipientType</A></CODE></TD>
141
</TR>
142
</TABLE>
143
&nbsp;
144
<!-- =========== FIELD SUMMARY =========== -->
145
 
146
<A NAME="field_summary"><!-- --></A>
147
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
148
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
149
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
150
<B>Field Summary</B></FONT></TH>
151
</TR>
152
<TR BGCOLOR="white" CLASS="TableRowColor">
153
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154
<CODE>protected &nbsp;com.sun.mail.imap.protocol.BODYSTRUCTURE</CODE></FONT></TD>
155
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#bs">bs</A></B></CODE>
156
 
157
<BR>
158
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
159
</TR>
160
<TR BGCOLOR="white" CLASS="TableRowColor">
161
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162
<CODE>protected &nbsp;com.sun.mail.imap.protocol.ENVELOPE</CODE></FONT></TD>
163
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#envelope">envelope</A></B></CODE>
164
 
165
<BR>
166
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
167
</TR>
168
<TR BGCOLOR="white" CLASS="TableRowColor">
169
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170
<CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
171
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#sectionId">sectionId</A></B></CODE>
172
 
173
<BR>
174
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
175
</TR>
176
</TABLE>
177
&nbsp;<A NAME="fields_inherited_from_class_javax.mail.internet.MimeMessage"><!-- --></A>
178
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
179
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
180
<TH ALIGN="left"><B>Fields inherited from class javax.mail.internet.<A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></B></TH>
181
</TR>
182
<TR BGCOLOR="white" CLASS="TableRowColor">
183
<TD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#content">content</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#contentStream">contentStream</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#dh">dh</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#flags">flags</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#headers">headers</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#modified">modified</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#saved">saved</A></CODE></TD>
184
</TR>
185
</TABLE>
186
&nbsp;<A NAME="fields_inherited_from_class_javax.mail.Message"><!-- --></A>
187
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
188
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
189
<TH ALIGN="left"><B>Fields inherited from class javax.mail.<A HREF="../../../../javax/mail/Message.html" title="class in javax.mail">Message</A></B></TH>
190
</TR>
191
<TR BGCOLOR="white" CLASS="TableRowColor">
192
<TD><CODE><A HREF="../../../../javax/mail/Message.html#expunged">expunged</A>, <A HREF="../../../../javax/mail/Message.html#folder">folder</A>, <A HREF="../../../../javax/mail/Message.html#msgnum">msgnum</A>, <A HREF="../../../../javax/mail/Message.html#session">session</A></CODE></TD>
193
</TR>
194
</TABLE>
195
&nbsp;<A NAME="fields_inherited_from_class_javax.mail.Part"><!-- --></A>
196
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
197
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
198
<TH ALIGN="left"><B>Fields inherited from interface javax.mail.<A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></B></TH>
199
</TR>
200
<TR BGCOLOR="white" CLASS="TableRowColor">
201
<TD><CODE><A HREF="../../../../javax/mail/Part.html#ATTACHMENT">ATTACHMENT</A>, <A HREF="../../../../javax/mail/Part.html#INLINE">INLINE</A></CODE></TD>
202
</TR>
203
</TABLE>
204
&nbsp;
205
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
206
 
207
<A NAME="constructor_summary"><!-- --></A>
208
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
209
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
210
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
211
<B>Constructor Summary</B></FONT></TH>
212
</TR>
213
<TR BGCOLOR="white" CLASS="TableRowColor">
214
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215
<CODE>protected </CODE></FONT></TD>
216
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#IMAPMessage(com.sun.mail.imap.IMAPFolder, int)">IMAPMessage</A></B>(<A HREF="../../../../com/sun/mail/imap/IMAPFolder.html" title="class in com.sun.mail.imap">IMAPFolder</A>&nbsp;folder,
217
            int&nbsp;msgnum)</CODE>
218
 
219
<BR>
220
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
221
</TR>
222
<TR BGCOLOR="white" CLASS="TableRowColor">
223
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224
<CODE>protected </CODE></FONT></TD>
225
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#IMAPMessage(javax.mail.Session)">IMAPMessage</A></B>(<A HREF="../../../../javax/mail/Session.html" title="class in javax.mail">Session</A>&nbsp;session)</CODE>
226
 
227
<BR>
228
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor, for use by IMAPNestedMessage.</TD>
229
</TR>
230
</TABLE>
231
&nbsp;
232
<!-- ========== METHOD SUMMARY =========== -->
233
 
234
<A NAME="method_summary"><!-- --></A>
235
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
236
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
237
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
238
<B>Method Summary</B></FONT></TH>
239
</TR>
240
<TR BGCOLOR="white" CLASS="TableRowColor">
241
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
242
<CODE>&nbsp;void</CODE></FONT></TD>
243
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#addFrom(javax.mail.Address[])">addFrom</A></B>(<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;addresses)</CODE>
244
 
245
<BR>
246
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add the specified addresses to the existing "From" field.</TD>
247
</TR>
248
<TR BGCOLOR="white" CLASS="TableRowColor">
249
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
250
<CODE>&nbsp;void</CODE></FONT></TD>
251
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#addHeader(java.lang.String, java.lang.String)">addHeader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
252
          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)</CODE>
253
 
254
<BR>
255
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add this value to the existing values for this header_name.</TD>
256
</TR>
257
<TR BGCOLOR="white" CLASS="TableRowColor">
258
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259
<CODE>&nbsp;void</CODE></FONT></TD>
260
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#addHeaderLine(java.lang.String)">addHeaderLine</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;line)</CODE>
261
 
262
<BR>
263
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a raw RFC 822 header-line.</TD>
264
</TR>
265
<TR BGCOLOR="white" CLASS="TableRowColor">
266
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
267
<CODE>&nbsp;void</CODE></FONT></TD>
268
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#addRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])">addRecipients</A></B>(<A HREF="../../../../javax/mail/Message.RecipientType.html" title="class in javax.mail">Message.RecipientType</A>&nbsp;type,
269
              <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;addresses)</CODE>
270
 
271
<BR>
272
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add the given addresses to the specified recipient type.</TD>
273
</TR>
274
<TR BGCOLOR="white" CLASS="TableRowColor">
275
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276
<CODE>protected &nbsp;void</CODE></FONT></TD>
277
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#checkExpunged()">checkExpunged</A></B>()</CODE>
278
 
279
<BR>
280
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
281
</TR>
282
<TR BGCOLOR="white" CLASS="TableRowColor">
283
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
284
<CODE>protected &nbsp;void</CODE></FONT></TD>
285
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#forceCheckExpunged()">forceCheckExpunged</A></B>()</CODE>
286
 
287
<BR>
288
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do a NOOP to force any untagged EXPUNGE responses
289
 and then check if this message is expunged.</TD>
290
</TR>
291
<TR BGCOLOR="white" CLASS="TableRowColor">
292
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
293
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A></CODE></FONT></TD>
294
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getAllHeaderLines()">getAllHeaderLines</A></B>()</CODE>
295
 
296
<BR>
297
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get all header-lines.</TD>
298
</TR>
299
<TR BGCOLOR="white" CLASS="TableRowColor">
300
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
301
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A></CODE></FONT></TD>
302
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getAllHeaders()">getAllHeaders</A></B>()</CODE>
303
 
304
<BR>
305
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get all headers.</TD>
306
</TR>
307
<TR BGCOLOR="white" CLASS="TableRowColor">
308
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
309
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
310
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getContentID()">getContentID</A></B>()</CODE>
311
 
312
<BR>
313
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Content-ID.</TD>
314
</TR>
315
<TR BGCOLOR="white" CLASS="TableRowColor">
316
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
317
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD>
318
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getContentLanguage()">getContentLanguage</A></B>()</CODE>
319
 
320
<BR>
321
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the content language.</TD>
322
</TR>
323
<TR BGCOLOR="white" CLASS="TableRowColor">
324
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
325
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
326
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getContentMD5()">getContentMD5</A></B>()</CODE>
327
 
328
<BR>
329
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Content-MD5.</TD>
330
</TR>
331
<TR BGCOLOR="white" CLASS="TableRowColor">
332
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
333
<CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A></CODE></FONT></TD>
334
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getContentStream()">getContentStream</A></B>()</CODE>
335
 
336
<BR>
337
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get all the bytes for this message.</TD>
338
</TR>
339
<TR BGCOLOR="white" CLASS="TableRowColor">
340
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
341
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
342
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getContentType()">getContentType</A></B>()</CODE>
343
 
344
<BR>
345
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Content-Type.</TD>
346
</TR>
347
<TR BGCOLOR="white" CLASS="TableRowColor">
348
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
349
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/technologies/desktop/javabeans/glasgow/javadocs/javax/activation/DataHandler.html?is-external=true" title="class or interface in javax.activation">DataHandler</A></CODE></FONT></TD>
350
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getDataHandler()">getDataHandler</A></B>()</CODE>
351
 
352
<BR>
353
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the DataHandler object for this message.</TD>
354
</TR>
355
<TR BGCOLOR="white" CLASS="TableRowColor">
356
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
357
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
358
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getDescription()">getDescription</A></B>()</CODE>
359
 
360
<BR>
361
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the decoded Content-Description.</TD>
362
</TR>
363
<TR BGCOLOR="white" CLASS="TableRowColor">
364
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
365
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
366
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getDisposition()">getDisposition</A></B>()</CODE>
367
 
368
<BR>
369
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Content-Disposition.</TD>
370
</TR>
371
<TR BGCOLOR="white" CLASS="TableRowColor">
372
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
373
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
374
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getEncoding()">getEncoding</A></B>()</CODE>
375
 
376
<BR>
377
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Content-Transfer-Encoding.</TD>
378
</TR>
379
<TR BGCOLOR="white" CLASS="TableRowColor">
380
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
381
<CODE>protected &nbsp;int</CODE></FONT></TD>
382
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getFetchBlockSize()">getFetchBlockSize</A></B>()</CODE>
383
 
384
<BR>
385
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
386
</TR>
387
<TR BGCOLOR="white" CLASS="TableRowColor">
388
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
389
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
390
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getFileName()">getFileName</A></B>()</CODE>
391
 
392
<BR>
393
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the "filename" Disposition parameter.</TD>
394
</TR>
395
<TR BGCOLOR="white" CLASS="TableRowColor">
396
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
397
<CODE>&nbsp;<A HREF="../../../../javax/mail/Flags.html" title="class in javax.mail">Flags</A></CODE></FONT></TD>
398
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getFlags()">getFlags</A></B>()</CODE>
399
 
400
<BR>
401
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Flags for this message.</TD>
402
</TR>
403
<TR BGCOLOR="white" CLASS="TableRowColor">
404
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
405
<CODE>&nbsp;<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]</CODE></FONT></TD>
406
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getFrom()">getFrom</A></B>()</CODE>
407
 
408
<BR>
409
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the "From" attribute.</TD>
410
</TR>
411
<TR BGCOLOR="white" CLASS="TableRowColor">
412
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
413
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD>
414
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getHeader(java.lang.String)">getHeader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
415
 
416
<BR>
417
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the named header.</TD>
418
</TR>
419
<TR BGCOLOR="white" CLASS="TableRowColor">
420
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
421
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
422
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getHeader(java.lang.String, java.lang.String)">getHeader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
423
          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;delimiter)</CODE>
424
 
425
<BR>
426
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the named header.</TD>
427
</TR>
428
<TR BGCOLOR="white" CLASS="TableRowColor">
429
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
430
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
431
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getInReplyTo()">getInReplyTo</A></B>()</CODE>
432
 
433
<BR>
434
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the In-Reply-To header.</TD>
435
</TR>
436
<TR BGCOLOR="white" CLASS="TableRowColor">
437
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
438
<CODE>&nbsp;int</CODE></FONT></TD>
439
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getLineCount()">getLineCount</A></B>()</CODE>
440
 
441
<BR>
442
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the total number of lines.</TD>
443
</TR>
444
<TR BGCOLOR="white" CLASS="TableRowColor">
445
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
446
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A></CODE></FONT></TD>
447
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getMatchingHeaderLines(java.lang.String[])">getMatchingHeaderLines</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;names)</CODE>
448
 
449
<BR>
450
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get all matching header-lines.</TD>
451
</TR>
452
<TR BGCOLOR="white" CLASS="TableRowColor">
453
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
454
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A></CODE></FONT></TD>
455
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getMatchingHeaders(java.lang.String[])">getMatchingHeaders</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;names)</CODE>
456
 
457
<BR>
458
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get matching headers.</TD>
459
</TR>
460
<TR BGCOLOR="white" CLASS="TableRowColor">
461
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
462
<CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
463
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getMessageCacheLock()">getMessageCacheLock</A></B>()</CODE>
464
 
465
<BR>
466
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the messageCacheLock, associated with this Message's
467
 Folder.</TD>
468
</TR>
469
<TR BGCOLOR="white" CLASS="TableRowColor">
470
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
471
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
472
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getMessageID()">getMessageID</A></B>()</CODE>
473
 
474
<BR>
475
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Message-ID.</TD>
476
</TR>
477
<TR BGCOLOR="white" CLASS="TableRowColor">
478
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
479
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A></CODE></FONT></TD>
480
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getNonMatchingHeaderLines(java.lang.String[])">getNonMatchingHeaderLines</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;names)</CODE>
481
 
482
<BR>
483
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get all non-matching headerlines.</TD>
484
</TR>
485
<TR BGCOLOR="white" CLASS="TableRowColor">
486
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
487
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A></CODE></FONT></TD>
488
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getNonMatchingHeaders(java.lang.String[])">getNonMatchingHeaders</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;names)</CODE>
489
 
490
<BR>
491
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get non-matching headers.</TD>
492
</TR>
493
<TR BGCOLOR="white" CLASS="TableRowColor">
494
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
495
<CODE>&nbsp;boolean</CODE></FONT></TD>
496
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getPeek()">getPeek</A></B>()</CODE>
497
 
498
<BR>
499
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get whether or not to use the PEEK variant of FETCH when
500
 fetching message content.</TD>
501
</TR>
502
<TR BGCOLOR="white" CLASS="TableRowColor">
503
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
504
<CODE>protected &nbsp;com.sun.mail.imap.protocol.IMAPProtocol</CODE></FONT></TD>
505
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getProtocol()">getProtocol</A></B>()</CODE>
506
 
507
<BR>
508
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get this message's folder's protocol connection.</TD>
509
</TR>
510
<TR BGCOLOR="white" CLASS="TableRowColor">
511
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
512
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A></CODE></FONT></TD>
513
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getReceivedDate()">getReceivedDate</A></B>()</CODE>
514
 
515
<BR>
516
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the recieved date (INTERNALDATE)</TD>
517
</TR>
518
<TR BGCOLOR="white" CLASS="TableRowColor">
519
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
520
<CODE>&nbsp;<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]</CODE></FONT></TD>
521
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getRecipients(javax.mail.Message.RecipientType)">getRecipients</A></B>(<A HREF="../../../../javax/mail/Message.RecipientType.html" title="class in javax.mail">Message.RecipientType</A>&nbsp;type)</CODE>
522
 
523
<BR>
524
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the desired Recipient type.</TD>
525
</TR>
526
<TR BGCOLOR="white" CLASS="TableRowColor">
527
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
528
<CODE>&nbsp;<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]</CODE></FONT></TD>
529
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getReplyTo()">getReplyTo</A></B>()</CODE>
530
 
531
<BR>
532
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the ReplyTo addresses.</TD>
533
</TR>
534
<TR BGCOLOR="white" CLASS="TableRowColor">
535
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
536
<CODE>&nbsp;<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A></CODE></FONT></TD>
537
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getSender()">getSender</A></B>()</CODE>
538
 
539
<BR>
540
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the "Sender" attribute.</TD>
541
</TR>
542
<TR BGCOLOR="white" CLASS="TableRowColor">
543
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
544
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A></CODE></FONT></TD>
545
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getSentDate()">getSentDate</A></B>()</CODE>
546
 
547
<BR>
548
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the SentDate.</TD>
549
</TR>
550
<TR BGCOLOR="white" CLASS="TableRowColor">
551
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
552
<CODE>protected &nbsp;int</CODE></FONT></TD>
553
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getSequenceNumber()">getSequenceNumber</A></B>()</CODE>
554
 
555
<BR>
556
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get this message's IMAP sequence number.</TD>
557
</TR>
558
<TR BGCOLOR="white" CLASS="TableRowColor">
559
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
560
<CODE>&nbsp;int</CODE></FONT></TD>
561
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getSize()">getSize</A></B>()</CODE>
562
 
563
<BR>
564
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the message size.</TD>
565
</TR>
566
<TR BGCOLOR="white" CLASS="TableRowColor">
567
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
568
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
569
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getSubject()">getSubject</A></B>()</CODE>
570
 
571
<BR>
572
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the decoded subject.</TD>
573
</TR>
574
<TR BGCOLOR="white" CLASS="TableRowColor">
575
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
576
<CODE>protected &nbsp;long</CODE></FONT></TD>
577
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#getUID()">getUID</A></B>()</CODE>
578
 
579
<BR>
580
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
581
</TR>
582
<TR BGCOLOR="white" CLASS="TableRowColor">
583
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
584
<CODE>&nbsp;void</CODE></FONT></TD>
585
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#invalidateHeaders()">invalidateHeaders</A></B>()</CODE>
586
 
587
<BR>
588
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invalidate cached header and envelope information for this
589
 message.</TD>
590
</TR>
591
<TR BGCOLOR="white" CLASS="TableRowColor">
592
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
593
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
594
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#isREV1()">isREV1</A></B>()</CODE>
595
 
596
<BR>
597
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
598
</TR>
599
<TR BGCOLOR="white" CLASS="TableRowColor">
600
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
601
<CODE>&nbsp;boolean</CODE></FONT></TD>
602
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#isSet(javax.mail.Flags.Flag)">isSet</A></B>(<A HREF="../../../../javax/mail/Flags.Flag.html" title="class in javax.mail">Flags.Flag</A>&nbsp;flag)</CODE>
603
 
604
<BR>
605
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test if the given Flags are set in this message.</TD>
606
</TR>
607
<TR BGCOLOR="white" CLASS="TableRowColor">
608
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
609
<CODE>&nbsp;void</CODE></FONT></TD>
610
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#removeHeader(java.lang.String)">removeHeader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
611
 
612
<BR>
613
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove all headers with this name.</TD>
614
</TR>
615
<TR BGCOLOR="white" CLASS="TableRowColor">
616
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
617
<CODE>&nbsp;void</CODE></FONT></TD>
618
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setContentID(java.lang.String)">setContentID</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cid)</CODE>
619
 
620
<BR>
621
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the "Content-ID" header field of this Message.</TD>
622
</TR>
623
<TR BGCOLOR="white" CLASS="TableRowColor">
624
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
625
<CODE>&nbsp;void</CODE></FONT></TD>
626
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setContentLanguage(java.lang.String[])">setContentLanguage</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;languages)</CODE>
627
 
628
<BR>
629
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the "Content-Language" header of this MimePart.</TD>
630
</TR>
631
<TR BGCOLOR="white" CLASS="TableRowColor">
632
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
633
<CODE>&nbsp;void</CODE></FONT></TD>
634
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setContentMD5(java.lang.String)">setContentMD5</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;md5)</CODE>
635
 
636
<BR>
637
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the "Content-MD5" header field of this Message.</TD>
638
</TR>
639
<TR BGCOLOR="white" CLASS="TableRowColor">
640
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
641
<CODE>&nbsp;void</CODE></FONT></TD>
642
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setDataHandler(javax.activation.DataHandler)">setDataHandler</A></B>(<A HREF="http://java.sun.com/javase/technologies/desktop/javabeans/glasgow/javadocs/javax/activation/DataHandler.html?is-external=true" title="class or interface in javax.activation">DataHandler</A>&nbsp;content)</CODE>
643
 
644
<BR>
645
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method provides the mechanism to set this part's content.</TD>
646
</TR>
647
<TR BGCOLOR="white" CLASS="TableRowColor">
648
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
649
<CODE>&nbsp;void</CODE></FONT></TD>
650
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setDescription(java.lang.String, java.lang.String)">setDescription</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;description,
651
               <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;charset)</CODE>
652
 
653
<BR>
654
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the "Content-Description" header field for this Message.</TD>
655
</TR>
656
<TR BGCOLOR="white" CLASS="TableRowColor">
657
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
658
<CODE>&nbsp;void</CODE></FONT></TD>
659
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setDisposition(java.lang.String)">setDisposition</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;disposition)</CODE>
660
 
661
<BR>
662
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the "Content-Disposition" header field of this Message.</TD>
663
</TR>
664
<TR BGCOLOR="white" CLASS="TableRowColor">
665
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
666
<CODE>protected &nbsp;void</CODE></FONT></TD>
667
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setExpunged(boolean)">setExpunged</A></B>(boolean&nbsp;set)</CODE>
668
 
669
<BR>
670
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the expunged flag for this Message.</TD>
671
</TR>
672
<TR BGCOLOR="white" CLASS="TableRowColor">
673
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
674
<CODE>&nbsp;void</CODE></FONT></TD>
675
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setFileName(java.lang.String)">setFileName</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;filename)</CODE>
676
 
677
<BR>
678
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the filename associated with this part, if possible.</TD>
679
</TR>
680
<TR BGCOLOR="white" CLASS="TableRowColor">
681
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
682
<CODE>&nbsp;void</CODE></FONT></TD>
683
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setFlags(javax.mail.Flags, boolean)">setFlags</A></B>(<A HREF="../../../../javax/mail/Flags.html" title="class in javax.mail">Flags</A>&nbsp;flag,
684
         boolean&nbsp;set)</CODE>
685
 
686
<BR>
687
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set/Unset the given flags in this message.</TD>
688
</TR>
689
<TR BGCOLOR="white" CLASS="TableRowColor">
690
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
691
<CODE>&nbsp;void</CODE></FONT></TD>
692
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setFrom(javax.mail.Address)">setFrom</A></B>(<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>&nbsp;address)</CODE>
693
 
694
<BR>
695
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the RFC 822 "From" header field.</TD>
696
</TR>
697
<TR BGCOLOR="white" CLASS="TableRowColor">
698
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
699
<CODE>&nbsp;void</CODE></FONT></TD>
700
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setHeader(java.lang.String, java.lang.String)">setHeader</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
701
          <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)</CODE>
702
 
703
<BR>
704
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value for this header_name.</TD>
705
</TR>
706
<TR BGCOLOR="white" CLASS="TableRowColor">
707
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
708
<CODE>protected &nbsp;void</CODE></FONT></TD>
709
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setMessageNumber(int)">setMessageNumber</A></B>(int&nbsp;msgnum)</CODE>
710
 
711
<BR>
712
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wrapper around the protected method Message.setMessageNumber() to
713
 make that method accessible to IMAPFolder.</TD>
714
</TR>
715
<TR BGCOLOR="white" CLASS="TableRowColor">
716
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
717
<CODE>&nbsp;void</CODE></FONT></TD>
718
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setPeek(boolean)">setPeek</A></B>(boolean&nbsp;peek)</CODE>
719
 
720
<BR>
721
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set whether or not to use the PEEK variant of FETCH when
722
 fetching message content.</TD>
723
</TR>
724
<TR BGCOLOR="white" CLASS="TableRowColor">
725
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
726
<CODE>&nbsp;void</CODE></FONT></TD>
727
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])">setRecipients</A></B>(<A HREF="../../../../javax/mail/Message.RecipientType.html" title="class in javax.mail">Message.RecipientType</A>&nbsp;type,
728
              <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;addresses)</CODE>
729
 
730
<BR>
731
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the specified recipient type to the given addresses.</TD>
732
</TR>
733
<TR BGCOLOR="white" CLASS="TableRowColor">
734
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
735
<CODE>&nbsp;void</CODE></FONT></TD>
736
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setReplyTo(javax.mail.Address[])">setReplyTo</A></B>(<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;addresses)</CODE>
737
 
738
<BR>
739
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the RFC 822 "Reply-To" header field.</TD>
740
</TR>
741
<TR BGCOLOR="white" CLASS="TableRowColor">
742
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
743
<CODE>&nbsp;void</CODE></FONT></TD>
744
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setSender(javax.mail.Address)">setSender</A></B>(<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>&nbsp;address)</CODE>
745
 
746
<BR>
747
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the RFC 822 "Sender" header field.</TD>
748
</TR>
749
<TR BGCOLOR="white" CLASS="TableRowColor">
750
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
751
<CODE>&nbsp;void</CODE></FONT></TD>
752
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setSentDate(java.util.Date)">setSentDate</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;d)</CODE>
753
 
754
<BR>
755
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the RFC 822 "Date" header field.</TD>
756
</TR>
757
<TR BGCOLOR="white" CLASS="TableRowColor">
758
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
759
<CODE>&nbsp;void</CODE></FONT></TD>
760
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setSubject(java.lang.String, java.lang.String)">setSubject</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;subject,
761
           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;charset)</CODE>
762
 
763
<BR>
764
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the "Subject" header field.</TD>
765
</TR>
766
<TR BGCOLOR="white" CLASS="TableRowColor">
767
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
768
<CODE>protected &nbsp;void</CODE></FONT></TD>
769
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#setUID(long)">setUID</A></B>(long&nbsp;uid)</CODE>
770
 
771
<BR>
772
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
773
</TR>
774
<TR BGCOLOR="white" CLASS="TableRowColor">
775
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
776
<CODE>&nbsp;void</CODE></FONT></TD>
777
<TD><CODE><B><A HREF="../../../../com/sun/mail/imap/IMAPMessage.html#writeTo(java.io.OutputStream)">writeTo</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A>&nbsp;os)</CODE>
778
 
779
<BR>
780
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write out the bytes into the given outputstream.</TD>
781
</TR>
782
</TABLE>
783
&nbsp;<A NAME="methods_inherited_from_class_javax.mail.internet.MimeMessage"><!-- --></A>
784
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
785
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
786
<TH ALIGN="left"><B>Methods inherited from class javax.mail.internet.<A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></B></TH>
787
</TR>
788
<TR BGCOLOR="white" CLASS="TableRowColor">
789
<TD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#addRecipients(javax.mail.Message.RecipientType, java.lang.String)">addRecipients</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#createInternetHeaders(java.io.InputStream)">createInternetHeaders</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#createMimeMessage(javax.mail.Session)">createMimeMessage</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getAllRecipients()">getAllRecipients</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getContent()">getContent</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getInputStream()">getInputStream</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getRawInputStream()">getRawInputStream</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#isMimeType(java.lang.String)">isMimeType</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#parse(java.io.InputStream)">parse</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#reply(boolean)">reply</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#saveChanges()">saveChanges</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setContent(javax.mail.Multipart)">setContent</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setContent(java.lang.Object, java.lang.String)">setContent</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setFrom()">setFrom</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setRecipients(javax.mail.Message.RecipientType, java.lang.String)">setRecipients</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setSubject(java.lang.String)">setSubject</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setText(java.lang.String)">setText</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setText(java.lang.String, java.lang.String)">setText</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setText(java.lang.String, java.lang.String, java.lang.String)">setText</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#updateHeaders()">updateHeaders</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#updateMessageID()">updateMessageID</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#writeTo(java.io.OutputStream, java.lang.String[])">writeTo</A></CODE></TD>
790
</TR>
791
</TABLE>
792
&nbsp;<A NAME="methods_inherited_from_class_javax.mail.Message"><!-- --></A>
793
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
794
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
795
<TH ALIGN="left"><B>Methods inherited from class javax.mail.<A HREF="../../../../javax/mail/Message.html" title="class in javax.mail">Message</A></B></TH>
796
</TR>
797
<TR BGCOLOR="white" CLASS="TableRowColor">
798
<TD><CODE><A HREF="../../../../javax/mail/Message.html#addRecipient(javax.mail.Message.RecipientType, javax.mail.Address)">addRecipient</A>, <A HREF="../../../../javax/mail/Message.html#getFolder()">getFolder</A>, <A HREF="../../../../javax/mail/Message.html#getMessageNumber()">getMessageNumber</A>, <A HREF="../../../../javax/mail/Message.html#isExpunged()">isExpunged</A>, <A HREF="../../../../javax/mail/Message.html#match(javax.mail.search.SearchTerm)">match</A>, <A HREF="../../../../javax/mail/Message.html#setFlag(javax.mail.Flags.Flag, boolean)">setFlag</A>, <A HREF="../../../../javax/mail/Message.html#setRecipient(javax.mail.Message.RecipientType, javax.mail.Address)">setRecipient</A></CODE></TD>
799
</TR>
800
</TABLE>
801
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
802
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
803
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
804
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
805
</TR>
806
<TR BGCOLOR="white" CLASS="TableRowColor">
807
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
808
</TR>
809
</TABLE>
810
&nbsp;
811
<P>
812
 
813
<!-- ============ FIELD DETAIL =========== -->
814
 
815
<A NAME="field_detail"><!-- --></A>
816
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
817
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
818
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
819
<B>Field Detail</B></FONT></TH>
820
</TR>
821
</TABLE>
822
 
823
<A NAME="bs"><!-- --></A><H3>
824
bs</H3>
825
<PRE>
826
protected com.sun.mail.imap.protocol.BODYSTRUCTURE <B>bs</B></PRE>
827
<DL>
828
<DL>
829
</DL>
830
</DL>
831
<HR>
832
 
833
<A NAME="envelope"><!-- --></A><H3>
834
envelope</H3>
835
<PRE>
836
protected com.sun.mail.imap.protocol.ENVELOPE <B>envelope</B></PRE>
837
<DL>
838
<DL>
839
</DL>
840
</DL>
841
<HR>
842
 
843
<A NAME="sectionId"><!-- --></A><H3>
844
sectionId</H3>
845
<PRE>
846
protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>sectionId</B></PRE>
847
<DL>
848
<DL>
849
</DL>
850
</DL>
851
 
852
<!-- ========= CONSTRUCTOR DETAIL ======== -->
853
 
854
<A NAME="constructor_detail"><!-- --></A>
855
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
856
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
857
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
858
<B>Constructor Detail</B></FONT></TH>
859
</TR>
860
</TABLE>
861
 
862
<A NAME="IMAPMessage(com.sun.mail.imap.IMAPFolder, int)"><!-- --></A><H3>
863
IMAPMessage</H3>
864
<PRE>
865
protected <B>IMAPMessage</B>(<A HREF="../../../../com/sun/mail/imap/IMAPFolder.html" title="class in com.sun.mail.imap">IMAPFolder</A>&nbsp;folder,
866
                      int&nbsp;msgnum)</PRE>
867
<DL>
868
<DD>Constructor.
869
<P>
870
</DL>
871
<HR>
872
 
873
<A NAME="IMAPMessage(javax.mail.Session)"><!-- --></A><H3>
874
IMAPMessage</H3>
875
<PRE>
876
protected <B>IMAPMessage</B>(<A HREF="../../../../javax/mail/Session.html" title="class in javax.mail">Session</A>&nbsp;session)</PRE>
877
<DL>
878
<DD>Constructor, for use by IMAPNestedMessage.
879
<P>
880
</DL>
881
 
882
<!-- ============ METHOD DETAIL ========== -->
883
 
884
<A NAME="method_detail"><!-- --></A>
885
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
886
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
887
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
888
<B>Method Detail</B></FONT></TH>
889
</TR>
890
</TABLE>
891
 
892
<A NAME="getProtocol()"><!-- --></A><H3>
893
getProtocol</H3>
894
<PRE>
895
protected com.sun.mail.imap.protocol.IMAPProtocol <B>getProtocol</B>()
896
                                                       throws com.sun.mail.iap.ProtocolException,
897
                                                              <A HREF="../../../../javax/mail/FolderClosedException.html" title="class in javax.mail">FolderClosedException</A></PRE>
898
<DL>
899
<DD>Get this message's folder's protocol connection.
900
 Throws FolderClosedException, if the protocol connection
901
 is not available.
902
 
903
 ASSERT: Must hold the messageCacheLock.
904
<P>
905
<DD><DL>
906
 
907
<DT><B>Throws:</B>
908
<DD><CODE>com.sun.mail.iap.ProtocolException</CODE>
909
<DD><CODE><A HREF="../../../../javax/mail/FolderClosedException.html" title="class in javax.mail">FolderClosedException</A></CODE></DL>
910
</DD>
911
</DL>
912
<HR>
913
 
914
<A NAME="isREV1()"><!-- --></A><H3>
915
isREV1</H3>
916
<PRE>
917
protected boolean <B>isREV1</B>()
918
                  throws <A HREF="../../../../javax/mail/FolderClosedException.html" title="class in javax.mail">FolderClosedException</A></PRE>
919
<DL>
920
<DD><DL>
921
 
922
<DT><B>Throws:</B>
923
<DD><CODE><A HREF="../../../../javax/mail/FolderClosedException.html" title="class in javax.mail">FolderClosedException</A></CODE></DL>
924
</DD>
925
</DL>
926
<HR>
927
 
928
<A NAME="getMessageCacheLock()"><!-- --></A><H3>
929
getMessageCacheLock</H3>
930
<PRE>
931
protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getMessageCacheLock</B>()</PRE>
932
<DL>
933
<DD>Get the messageCacheLock, associated with this Message's
934
 Folder.
935
<P>
936
<DD><DL>
937
</DL>
938
</DD>
939
</DL>
940
<HR>
941
 
942
<A NAME="getSequenceNumber()"><!-- --></A><H3>
943
getSequenceNumber</H3>
944
<PRE>
945
protected int <B>getSequenceNumber</B>()</PRE>
946
<DL>
947
<DD>Get this message's IMAP sequence number.
948
 
949
 ASSERT: This method must be called only when holding the
950
        messageCacheLock.
951
<P>
952
<DD><DL>
953
</DL>
954
</DD>
955
</DL>
956
<HR>
957
 
958
<A NAME="setMessageNumber(int)"><!-- --></A><H3>
959
setMessageNumber</H3>
960
<PRE>
961
protected void <B>setMessageNumber</B>(int&nbsp;msgnum)</PRE>
962
<DL>
963
<DD>Wrapper around the protected method Message.setMessageNumber() to
964
 make that method accessible to IMAPFolder.
965
<P>
966
<DD><DL>
967
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/Message.html#setMessageNumber(int)">setMessageNumber</A></CODE> in class <CODE><A HREF="../../../../javax/mail/Message.html" title="class in javax.mail">Message</A></CODE></DL>
968
</DD>
969
<DD><DL>
970
</DL>
971
</DD>
972
</DL>
973
<HR>
974
 
975
<A NAME="getUID()"><!-- --></A><H3>
976
getUID</H3>
977
<PRE>
978
protected long <B>getUID</B>()</PRE>
979
<DL>
980
<DD><DL>
981
</DL>
982
</DD>
983
</DL>
984
<HR>
985
 
986
<A NAME="setUID(long)"><!-- --></A><H3>
987
setUID</H3>
988
<PRE>
989
protected void <B>setUID</B>(long&nbsp;uid)</PRE>
990
<DL>
991
<DD><DL>
992
</DL>
993
</DD>
994
</DL>
995
<HR>
996
 
997
<A NAME="setExpunged(boolean)"><!-- --></A><H3>
998
setExpunged</H3>
999
<PRE>
1000
protected void <B>setExpunged</B>(boolean&nbsp;set)</PRE>
1001
<DL>
1002
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/Message.html#setExpunged(boolean)">Message</A></CODE></B></DD>
1003
<DD>Sets the expunged flag for this Message. This method is to
1004
 be used only by the implementation classes.
1005
<P>
1006
<DD><DL>
1007
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/Message.html#setExpunged(boolean)">setExpunged</A></CODE> in class <CODE><A HREF="../../../../javax/mail/Message.html" title="class in javax.mail">Message</A></CODE></DL>
1008
</DD>
1009
<DD><DL>
1010
<DT><B>Parameters:</B><DD><CODE>set</CODE> - the expunged flag</DL>
1011
</DD>
1012
</DL>
1013
<HR>
1014
 
1015
<A NAME="checkExpunged()"><!-- --></A><H3>
1016
checkExpunged</H3>
1017
<PRE>
1018
protected void <B>checkExpunged</B>()
1019
                      throws <A HREF="../../../../javax/mail/MessageRemovedException.html" title="class in javax.mail">MessageRemovedException</A></PRE>
1020
<DL>
1021
<DD><DL>
1022
 
1023
<DT><B>Throws:</B>
1024
<DD><CODE><A HREF="../../../../javax/mail/MessageRemovedException.html" title="class in javax.mail">MessageRemovedException</A></CODE></DL>
1025
</DD>
1026
</DL>
1027
<HR>
1028
 
1029
<A NAME="forceCheckExpunged()"><!-- --></A><H3>
1030
forceCheckExpunged</H3>
1031
<PRE>
1032
protected void <B>forceCheckExpunged</B>()
1033
                           throws <A HREF="../../../../javax/mail/MessageRemovedException.html" title="class in javax.mail">MessageRemovedException</A>,
1034
                                  <A HREF="../../../../javax/mail/FolderClosedException.html" title="class in javax.mail">FolderClosedException</A></PRE>
1035
<DL>
1036
<DD>Do a NOOP to force any untagged EXPUNGE responses
1037
 and then check if this message is expunged.
1038
<P>
1039
<DD><DL>
1040
 
1041
<DT><B>Throws:</B>
1042
<DD><CODE><A HREF="../../../../javax/mail/MessageRemovedException.html" title="class in javax.mail">MessageRemovedException</A></CODE>
1043
<DD><CODE><A HREF="../../../../javax/mail/FolderClosedException.html" title="class in javax.mail">FolderClosedException</A></CODE></DL>
1044
</DD>
1045
</DL>
1046
<HR>
1047
 
1048
<A NAME="getFetchBlockSize()"><!-- --></A><H3>
1049
getFetchBlockSize</H3>
1050
<PRE>
1051
protected int <B>getFetchBlockSize</B>()</PRE>
1052
<DL>
1053
<DD><DL>
1054
</DL>
1055
</DD>
1056
</DL>
1057
<HR>
1058
 
1059
<A NAME="getFrom()"><!-- --></A><H3>
1060
getFrom</H3>
1061
<PRE>
1062
public <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[] <B>getFrom</B>()
1063
                  throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1064
<DL>
1065
<DD>Get the "From" attribute.
1066
<P>
1067
<DD><DL>
1068
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getFrom()">getFrom</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1069
</DD>
1070
<DD><DL>
1071
 
1072
<DT><B>Returns:</B><DD>Address object
1073
<DT><B>Throws:</B>
1074
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/internet/MimeMessage.html#headers"><CODE>MimeMessage.headers</CODE></A></DL>
1075
</DD>
1076
</DL>
1077
<HR>
1078
 
1079
<A NAME="setFrom(javax.mail.Address)"><!-- --></A><H3>
1080
setFrom</H3>
1081
<PRE>
1082
public void <B>setFrom</B>(<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>&nbsp;address)
1083
             throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1084
<DL>
1085
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setFrom(javax.mail.Address)">MimeMessage</A></CODE></B></DD>
1086
<DD>Set the RFC 822 "From" header field. Any existing values are
1087
 replaced with the given address. If address is <code>null</code>,
1088
 this header is removed.
1089
<P>
1090
<DD><DL>
1091
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setFrom(javax.mail.Address)">setFrom</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1092
</DD>
1093
<DD><DL>
1094
<DT><B>Parameters:</B><DD><CODE>address</CODE> - the sender of this message
1095
<DT><B>Throws:</B>
1096
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
1097
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1098
                        implementation does not support modification
1099
                        of existing values</DL>
1100
</DD>
1101
</DL>
1102
<HR>
1103
 
1104
<A NAME="addFrom(javax.mail.Address[])"><!-- --></A><H3>
1105
addFrom</H3>
1106
<PRE>
1107
public void <B>addFrom</B>(<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;addresses)
1108
             throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1109
<DL>
1110
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#addFrom(javax.mail.Address[])">MimeMessage</A></CODE></B></DD>
1111
<DD>Add the specified addresses to the existing "From" field. If
1112
 the "From" field does not already exist, it is created.
1113
<P>
1114
<DD><DL>
1115
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#addFrom(javax.mail.Address[])">addFrom</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1116
</DD>
1117
<DD><DL>
1118
<DT><B>Parameters:</B><DD><CODE>addresses</CODE> - the senders of this message
1119
<DT><B>Throws:</B>
1120
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1121
                        implementation does not support modification
1122
                        of existing values
1123
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1124
</DD>
1125
</DL>
1126
<HR>
1127
 
1128
<A NAME="getSender()"><!-- --></A><H3>
1129
getSender</H3>
1130
<PRE>
1131
public <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A> <B>getSender</B>()
1132
                  throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1133
<DL>
1134
<DD>Get the "Sender" attribute.
1135
<P>
1136
<DD><DL>
1137
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getSender()">getSender</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1138
</DD>
1139
<DD><DL>
1140
 
1141
<DT><B>Returns:</B><DD>Address object
1142
<DT><B>Throws:</B>
1143
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/internet/MimeMessage.html#headers"><CODE>MimeMessage.headers</CODE></A></DL>
1144
</DD>
1145
</DL>
1146
<HR>
1147
 
1148
<A NAME="setSender(javax.mail.Address)"><!-- --></A><H3>
1149
setSender</H3>
1150
<PRE>
1151
public void <B>setSender</B>(<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>&nbsp;address)
1152
               throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1153
<DL>
1154
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setSender(javax.mail.Address)">MimeMessage</A></CODE></B></DD>
1155
<DD>Set the RFC 822 "Sender" header field. Any existing values are
1156
 replaced with the given address. If address is <code>null</code>,
1157
 this header is removed.
1158
<P>
1159
<DD><DL>
1160
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setSender(javax.mail.Address)">setSender</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1161
</DD>
1162
<DD><DL>
1163
<DT><B>Parameters:</B><DD><CODE>address</CODE> - the sender of this message
1164
<DT><B>Throws:</B>
1165
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1166
                        implementation does not support modification
1167
                        of existing values
1168
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1169
</DD>
1170
</DL>
1171
<HR>
1172
 
1173
<A NAME="getRecipients(javax.mail.Message.RecipientType)"><!-- --></A><H3>
1174
getRecipients</H3>
1175
<PRE>
1176
public <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[] <B>getRecipients</B>(<A HREF="../../../../javax/mail/Message.RecipientType.html" title="class in javax.mail">Message.RecipientType</A>&nbsp;type)
1177
                        throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1178
<DL>
1179
<DD>Get the desired Recipient type.
1180
<P>
1181
<DD><DL>
1182
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getRecipients(javax.mail.Message.RecipientType)">getRecipients</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1183
</DD>
1184
<DD><DL>
1185
<DT><B>Parameters:</B><DD><CODE>type</CODE> - Type of recepient
1186
<DT><B>Returns:</B><DD>array of Address objects
1187
<DT><B>Throws:</B>
1188
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE> - if header could not
1189
                  be retrieved
1190
<DD><CODE><A HREF="../../../../javax/mail/internet/AddressException.html" title="class in javax.mail.internet">AddressException</A></CODE> - if the header is misformatted<DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/internet/MimeMessage.html#headers"><CODE>MimeMessage.headers</CODE></A>,
1191
<A HREF="../../../../javax/mail/Message.RecipientType.html#TO"><CODE>Message.RecipientType.TO</CODE></A>,
1192
<A HREF="../../../../javax/mail/Message.RecipientType.html#CC"><CODE>Message.RecipientType.CC</CODE></A>,
1193
<A HREF="../../../../javax/mail/Message.RecipientType.html#BCC"><CODE>Message.RecipientType.BCC</CODE></A>,
1194
<A HREF="../../../../javax/mail/internet/MimeMessage.RecipientType.html#NEWSGROUPS"><CODE>MimeMessage.RecipientType.NEWSGROUPS</CODE></A></DL>
1195
</DD>
1196
</DL>
1197
<HR>
1198
 
1199
<A NAME="setRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])"><!-- --></A><H3>
1200
setRecipients</H3>
1201
<PRE>
1202
public void <B>setRecipients</B>(<A HREF="../../../../javax/mail/Message.RecipientType.html" title="class in javax.mail">Message.RecipientType</A>&nbsp;type,
1203
                          <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;addresses)
1204
                   throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1205
<DL>
1206
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])">MimeMessage</A></CODE></B></DD>
1207
<DD>Set the specified recipient type to the given addresses.
1208
 If the address parameter is <code>null</code>, the corresponding
1209
 recipient field is removed.
1210
<P>
1211
<DD><DL>
1212
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])">setRecipients</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1213
</DD>
1214
<DD><DL>
1215
<DT><B>Parameters:</B><DD><CODE>type</CODE> - Recipient type<DD><CODE>addresses</CODE> - Addresses
1216
<DT><B>Throws:</B>
1217
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
1218
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1219
                        implementation does not support modification
1220
                        of existing values<DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/internet/MimeMessage.html#getRecipients(javax.mail.Message.RecipientType)"><CODE>MimeMessage.getRecipients(javax.mail.Message.RecipientType)</CODE></A></DL>
1221
</DD>
1222
</DL>
1223
<HR>
1224
 
1225
<A NAME="addRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])"><!-- --></A><H3>
1226
addRecipients</H3>
1227
<PRE>
1228
public void <B>addRecipients</B>(<A HREF="../../../../javax/mail/Message.RecipientType.html" title="class in javax.mail">Message.RecipientType</A>&nbsp;type,
1229
                          <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;addresses)
1230
                   throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1231
<DL>
1232
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#addRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])">MimeMessage</A></CODE></B></DD>
1233
<DD>Add the given addresses to the specified recipient type.
1234
<P>
1235
<DD><DL>
1236
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#addRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])">addRecipients</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1237
</DD>
1238
<DD><DL>
1239
<DT><B>Parameters:</B><DD><CODE>type</CODE> - Recipient type<DD><CODE>addresses</CODE> - Addresses
1240
<DT><B>Throws:</B>
1241
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
1242
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1243
                        implementation does not support modification
1244
                        of existing values</DL>
1245
</DD>
1246
</DL>
1247
<HR>
1248
 
1249
<A NAME="getReplyTo()"><!-- --></A><H3>
1250
getReplyTo</H3>
1251
<PRE>
1252
public <A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[] <B>getReplyTo</B>()
1253
                     throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1254
<DL>
1255
<DD>Get the ReplyTo addresses.
1256
<P>
1257
<DD><DL>
1258
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getReplyTo()">getReplyTo</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1259
</DD>
1260
<DD><DL>
1261
 
1262
<DT><B>Returns:</B><DD>addresses to which replies should be directed
1263
<DT><B>Throws:</B>
1264
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/internet/MimeMessage.html#headers"><CODE>MimeMessage.headers</CODE></A></DL>
1265
</DD>
1266
</DL>
1267
<HR>
1268
 
1269
<A NAME="setReplyTo(javax.mail.Address[])"><!-- --></A><H3>
1270
setReplyTo</H3>
1271
<PRE>
1272
public void <B>setReplyTo</B>(<A HREF="../../../../javax/mail/Address.html" title="class in javax.mail">Address</A>[]&nbsp;addresses)
1273
                throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1274
<DL>
1275
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setReplyTo(javax.mail.Address[])">MimeMessage</A></CODE></B></DD>
1276
<DD>Set the RFC 822 "Reply-To" header field. If the address
1277
 parameter is <code>null</code>, this header is removed.
1278
<P>
1279
<DD><DL>
1280
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setReplyTo(javax.mail.Address[])">setReplyTo</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1281
</DD>
1282
<DD><DL>
1283
<DT><B>Parameters:</B><DD><CODE>addresses</CODE> - addresses to which replies should be directed
1284
<DT><B>Throws:</B>
1285
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
1286
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1287
                        implementation does not support modification
1288
                        of existing values
1289
<DD><CODE><A HREF="../../../../javax/mail/MethodNotSupportedException.html" title="class in javax.mail">MethodNotSupportedException</A></CODE> - if the underlying
1290
                        implementation does not support setting this
1291
                        attribute</DL>
1292
</DD>
1293
</DL>
1294
<HR>
1295
 
1296
<A NAME="getSubject()"><!-- --></A><H3>
1297
getSubject</H3>
1298
<PRE>
1299
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getSubject</B>()
1300
                  throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1301
<DL>
1302
<DD>Get the decoded subject.
1303
<P>
1304
<DD><DL>
1305
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getSubject()">getSubject</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1306
</DD>
1307
<DD><DL>
1308
 
1309
<DT><B>Returns:</B><DD>Subject
1310
<DT><B>Throws:</B>
1311
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/internet/MimeMessage.html#headers"><CODE>MimeMessage.headers</CODE></A></DL>
1312
</DD>
1313
</DL>
1314
<HR>
1315
 
1316
<A NAME="setSubject(java.lang.String, java.lang.String)"><!-- --></A><H3>
1317
setSubject</H3>
1318
<PRE>
1319
public void <B>setSubject</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;subject,
1320
                       <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;charset)
1321
                throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1322
<DL>
1323
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setSubject(java.lang.String, java.lang.String)">MimeMessage</A></CODE></B></DD>
1324
<DD>Set the "Subject" header field. If the subject contains non
1325
 US-ASCII characters, it will be encoded using the specified
1326
 charset. If the subject contains only US-ASCII characters, no
1327
 encoding is done and it is used as-is. If the subject is null,
1328
 the existing "Subject" header field is removed. <p>
1329
 
1330
 The application must ensure that the subject does not contain
1331
 any line breaks. <p>
1332
 
1333
 Note that if the charset encoding process fails, a
1334
 MessagingException is thrown, and an UnsupportedEncodingException
1335
 is included in the chain of nested exceptions within the
1336
 MessagingException.
1337
<P>
1338
<DD><DL>
1339
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setSubject(java.lang.String, java.lang.String)">setSubject</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1340
</DD>
1341
<DD><DL>
1342
<DT><B>Parameters:</B><DD><CODE>subject</CODE> - The subject<DD><CODE>charset</CODE> - The charset
1343
<DT><B>Throws:</B>
1344
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1345
                                implementation does not support modification
1346
                                of existing values
1347
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1348
</DD>
1349
</DL>
1350
<HR>
1351
 
1352
<A NAME="getSentDate()"><!-- --></A><H3>
1353
getSentDate</H3>
1354
<PRE>
1355
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> <B>getSentDate</B>()
1356
                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1357
<DL>
1358
<DD>Get the SentDate.
1359
<P>
1360
<DD><DL>
1361
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getSentDate()">getSentDate</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1362
</DD>
1363
<DD><DL>
1364
 
1365
<DT><B>Returns:</B><DD>The sent Date
1366
<DT><B>Throws:</B>
1367
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1368
</DD>
1369
</DL>
1370
<HR>
1371
 
1372
<A NAME="setSentDate(java.util.Date)"><!-- --></A><H3>
1373
setSentDate</H3>
1374
<PRE>
1375
public void <B>setSentDate</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;d)
1376
                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1377
<DL>
1378
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setSentDate(java.util.Date)">MimeMessage</A></CODE></B></DD>
1379
<DD>Set the RFC 822 "Date" header field. This is the date on which the
1380
 creator of the message indicates that the message is complete
1381
 and ready for delivery. If the date parameter is
1382
 <code>null</code>, the existing "Date" field is removed.
1383
<P>
1384
<DD><DL>
1385
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setSentDate(java.util.Date)">setSentDate</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1386
</DD>
1387
<DD><DL>
1388
<DT><B>Parameters:</B><DD><CODE>d</CODE> - the sent date of this message
1389
<DT><B>Throws:</B>
1390
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
1391
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1392
                        implementation does not support modification
1393
                        of existing values</DL>
1394
</DD>
1395
</DL>
1396
<HR>
1397
 
1398
<A NAME="getReceivedDate()"><!-- --></A><H3>
1399
getReceivedDate</H3>
1400
<PRE>
1401
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> <B>getReceivedDate</B>()
1402
                     throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1403
<DL>
1404
<DD>Get the recieved date (INTERNALDATE)
1405
<P>
1406
<DD><DL>
1407
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getReceivedDate()">getReceivedDate</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1408
</DD>
1409
<DD><DL>
1410
 
1411
<DT><B>Returns:</B><DD>the date this message was received
1412
<DT><B>Throws:</B>
1413
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1414
</DD>
1415
</DL>
1416
<HR>
1417
 
1418
<A NAME="getSize()"><!-- --></A><H3>
1419
getSize</H3>
1420
<PRE>
1421
public int <B>getSize</B>()
1422
            throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1423
<DL>
1424
<DD>Get the message size. <p>
1425
 
1426
 Note that this returns RFC822.SIZE.  That is, it's the
1427
 size of the whole message, header and body included.
1428
<P>
1429
<DD><DL>
1430
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#getSize()">getSize</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getSize()">getSize</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1431
</DD>
1432
<DD><DL>
1433
 
1434
<DT><B>Returns:</B><DD>size of content in bytes
1435
<DT><B>Throws:</B>
1436
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1437
</DD>
1438
</DL>
1439
<HR>
1440
 
1441
<A NAME="getLineCount()"><!-- --></A><H3>
1442
getLineCount</H3>
1443
<PRE>
1444
public int <B>getLineCount</B>()
1445
                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1446
<DL>
1447
<DD>Get the total number of lines. <p>
1448
 
1449
 Returns the "body_fld_lines" field from the
1450
 BODYSTRUCTURE. Note that this field is available
1451
 only for text/plain and message/rfc822 types
1452
<P>
1453
<DD><DL>
1454
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#getLineCount()">getLineCount</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getLineCount()">getLineCount</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1455
</DD>
1456
<DD><DL>
1457
 
1458
<DT><B>Returns:</B><DD>number of lines in the content.
1459
<DT><B>Throws:</B>
1460
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1461
</DD>
1462
</DL>
1463
<HR>
1464
 
1465
<A NAME="getContentLanguage()"><!-- --></A><H3>
1466
getContentLanguage</H3>
1467
<PRE>
1468
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>getContentLanguage</B>()
1469
                            throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1470
<DL>
1471
<DD>Get the content language.
1472
<P>
1473
<DD><DL>
1474
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimePart.html#getContentLanguage()">getContentLanguage</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getContentLanguage()">getContentLanguage</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1475
</DD>
1476
<DD><DL>
1477
 
1478
<DT><B>Returns:</B><DD>value of content-language header.
1479
<DT><B>Throws:</B>
1480
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1481
</DD>
1482
</DL>
1483
<HR>
1484
 
1485
<A NAME="setContentLanguage(java.lang.String[])"><!-- --></A><H3>
1486
setContentLanguage</H3>
1487
<PRE>
1488
public void <B>setContentLanguage</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;languages)
1489
                        throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1490
<DL>
1491
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setContentLanguage(java.lang.String[])">MimeMessage</A></CODE></B></DD>
1492
<DD>Set the "Content-Language" header of this MimePart. The
1493
 Content-Language header is defined by RFC 1766.
1494
<P>
1495
<DD><DL>
1496
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimePart.html#setContentLanguage(java.lang.String[])">setContentLanguage</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setContentLanguage(java.lang.String[])">setContentLanguage</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1497
</DD>
1498
<DD><DL>
1499
<DT><B>Parameters:</B><DD><CODE>languages</CODE> - array of language tags
1500
<DT><B>Throws:</B>
1501
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1502
                        implementation does not support modification
1503
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1504
</DD>
1505
</DL>
1506
<HR>
1507
 
1508
<A NAME="getInReplyTo()"><!-- --></A><H3>
1509
getInReplyTo</H3>
1510
<PRE>
1511
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getInReplyTo</B>()
1512
                    throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1513
<DL>
1514
<DD>Get the In-Reply-To header.
1515
<P>
1516
<DD><DL>
1517
 
1518
<DT><B>Throws:</B>
1519
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>Since:</B></DT>
1520
  <DD>JavaMail 1.3.3</DD>
1521
</DL>
1522
</DD>
1523
</DL>
1524
<HR>
1525
 
1526
<A NAME="getContentType()"><!-- --></A><H3>
1527
getContentType</H3>
1528
<PRE>
1529
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getContentType</B>()
1530
                      throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1531
<DL>
1532
<DD>Get the Content-Type.
1533
 
1534
 Generate this header from the BODYSTRUCTURE. Append parameters
1535
 as well.
1536
<P>
1537
<DD><DL>
1538
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#getContentType()">getContentType</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getContentType()">getContentType</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1539
</DD>
1540
<DD><DL>
1541
 
1542
<DT><B>Returns:</B><DD>The ContentType of this part
1543
<DT><B>Throws:</B>
1544
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/technologies/desktop/javabeans/glasgow/javadocs/javax/activation/DataHandler.html?is-external=true" title="class or interface in javax.activation"><CODE>DataHandler</CODE></A></DL>
1545
</DD>
1546
</DL>
1547
<HR>
1548
 
1549
<A NAME="getDisposition()"><!-- --></A><H3>
1550
getDisposition</H3>
1551
<PRE>
1552
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDisposition</B>()
1553
                      throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1554
<DL>
1555
<DD>Get the Content-Disposition.
1556
<P>
1557
<DD><DL>
1558
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#getDisposition()">getDisposition</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getDisposition()">getDisposition</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1559
</DD>
1560
<DD><DL>
1561
 
1562
<DT><B>Returns:</B><DD>disposition of this part, or null if unknown
1563
<DT><B>Throws:</B>
1564
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/Part.html#ATTACHMENT"><CODE>Part.ATTACHMENT</CODE></A>,
1565
<A HREF="../../../../javax/mail/Part.html#INLINE"><CODE>Part.INLINE</CODE></A>,
1566
<A HREF="../../../../javax/mail/Part.html#getFileName()"><CODE>Part.getFileName()</CODE></A></DL>
1567
</DD>
1568
</DL>
1569
<HR>
1570
 
1571
<A NAME="setDisposition(java.lang.String)"><!-- --></A><H3>
1572
setDisposition</H3>
1573
<PRE>
1574
public void <B>setDisposition</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;disposition)
1575
                    throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1576
<DL>
1577
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setDisposition(java.lang.String)">MimeMessage</A></CODE></B></DD>
1578
<DD>Set the "Content-Disposition" header field of this Message.
1579
 If <code>disposition</code> is null, any existing "Content-Disposition"
1580
 header field is removed.
1581
<P>
1582
<DD><DL>
1583
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#setDisposition(java.lang.String)">setDisposition</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setDisposition(java.lang.String)">setDisposition</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1584
</DD>
1585
<DD><DL>
1586
<DT><B>Parameters:</B><DD><CODE>disposition</CODE> - disposition of this part
1587
<DT><B>Throws:</B>
1588
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
1589
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying implementation
1590
                        does not support modification of this header<DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/Part.html#ATTACHMENT"><CODE>Part.ATTACHMENT</CODE></A>,
1591
<A HREF="../../../../javax/mail/Part.html#INLINE"><CODE>Part.INLINE</CODE></A>,
1592
<A HREF="../../../../javax/mail/Part.html#setFileName(java.lang.String)"><CODE>Part.setFileName(java.lang.String)</CODE></A></DL>
1593
</DD>
1594
</DL>
1595
<HR>
1596
 
1597
<A NAME="getEncoding()"><!-- --></A><H3>
1598
getEncoding</H3>
1599
<PRE>
1600
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getEncoding</B>()
1601
                   throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1602
<DL>
1603
<DD>Get the Content-Transfer-Encoding.
1604
<P>
1605
<DD><DL>
1606
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimePart.html#getEncoding()">getEncoding</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getEncoding()">getEncoding</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1607
</DD>
1608
<DD><DL>
1609
 
1610
<DT><B>Returns:</B><DD>content-transfer-encoding
1611
<DT><B>Throws:</B>
1612
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1613
</DD>
1614
</DL>
1615
<HR>
1616
 
1617
<A NAME="getContentID()"><!-- --></A><H3>
1618
getContentID</H3>
1619
<PRE>
1620
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getContentID</B>()
1621
                    throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1622
<DL>
1623
<DD>Get the Content-ID.
1624
<P>
1625
<DD><DL>
1626
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimePart.html#getContentID()">getContentID</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getContentID()">getContentID</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1627
</DD>
1628
<DD><DL>
1629
 
1630
<DT><B>Returns:</B><DD>content-ID
1631
<DT><B>Throws:</B>
1632
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1633
</DD>
1634
</DL>
1635
<HR>
1636
 
1637
<A NAME="setContentID(java.lang.String)"><!-- --></A><H3>
1638
setContentID</H3>
1639
<PRE>
1640
public void <B>setContentID</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;cid)
1641
                  throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1642
<DL>
1643
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setContentID(java.lang.String)">MimeMessage</A></CODE></B></DD>
1644
<DD>Set the "Content-ID" header field of this Message.
1645
 If the <code>cid</code> parameter is null, any existing
1646
 "Content-ID" is removed.
1647
<P>
1648
<DD><DL>
1649
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setContentID(java.lang.String)">setContentID</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1650
</DD>
1651
<DD><DL>
1652
 
1653
<DT><B>Throws:</B>
1654
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1655
                        implementation does not support modification
1656
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1657
</DD>
1658
</DL>
1659
<HR>
1660
 
1661
<A NAME="getContentMD5()"><!-- --></A><H3>
1662
getContentMD5</H3>
1663
<PRE>
1664
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getContentMD5</B>()
1665
                     throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1666
<DL>
1667
<DD>Get the Content-MD5.
1668
<P>
1669
<DD><DL>
1670
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimePart.html#getContentMD5()">getContentMD5</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getContentMD5()">getContentMD5</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1671
</DD>
1672
<DD><DL>
1673
 
1674
<DT><B>Returns:</B><DD>content-MD5
1675
<DT><B>Throws:</B>
1676
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1677
</DD>
1678
</DL>
1679
<HR>
1680
 
1681
<A NAME="setContentMD5(java.lang.String)"><!-- --></A><H3>
1682
setContentMD5</H3>
1683
<PRE>
1684
public void <B>setContentMD5</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;md5)
1685
                   throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1686
<DL>
1687
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setContentMD5(java.lang.String)">MimeMessage</A></CODE></B></DD>
1688
<DD>Set the "Content-MD5" header field of this Message.
1689
<P>
1690
<DD><DL>
1691
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimePart.html#setContentMD5(java.lang.String)">setContentMD5</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setContentMD5(java.lang.String)">setContentMD5</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1692
</DD>
1693
<DD><DL>
1694
<DT><B>Parameters:</B><DD><CODE>md5</CODE> - the MD5 value
1695
<DT><B>Throws:</B>
1696
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1697
                        implementation does not support modification
1698
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1699
</DD>
1700
</DL>
1701
<HR>
1702
 
1703
<A NAME="getDescription()"><!-- --></A><H3>
1704
getDescription</H3>
1705
<PRE>
1706
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDescription</B>()
1707
                      throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1708
<DL>
1709
<DD>Get the decoded Content-Description.
1710
<P>
1711
<DD><DL>
1712
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#getDescription()">getDescription</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getDescription()">getDescription</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1713
</DD>
1714
<DD><DL>
1715
 
1716
<DT><B>Returns:</B><DD>content-description
1717
<DT><B>Throws:</B>
1718
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1719
</DD>
1720
</DL>
1721
<HR>
1722
 
1723
<A NAME="setDescription(java.lang.String, java.lang.String)"><!-- --></A><H3>
1724
setDescription</H3>
1725
<PRE>
1726
public void <B>setDescription</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;description,
1727
                           <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;charset)
1728
                    throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1729
<DL>
1730
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setDescription(java.lang.String, java.lang.String)">MimeMessage</A></CODE></B></DD>
1731
<DD>Set the "Content-Description" header field for this Message.
1732
 If the description parameter is <code>null</code>, then any
1733
 existing "Content-Description" fields are removed. <p>
1734
 
1735
 If the description contains non US-ASCII characters, it will
1736
 be encoded using the specified charset. If the description
1737
 contains only US-ASCII characters, no encoding  is done and
1738
 it is used as-is. <p>
1739
 
1740
 Note that if the charset encoding process fails, a
1741
 MessagingException is thrown, and an UnsupportedEncodingException
1742
 is included in the chain of nested exceptions within the
1743
 MessagingException.
1744
<P>
1745
<DD><DL>
1746
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setDescription(java.lang.String, java.lang.String)">setDescription</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1747
</DD>
1748
<DD><DL>
1749
<DT><B>Parameters:</B><DD><CODE>description</CODE> - Description<DD><CODE>charset</CODE> - Charset for encoding
1750
<DT><B>Throws:</B>
1751
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1752
                                implementation does not support modification
1753
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1754
</DD>
1755
</DL>
1756
<HR>
1757
 
1758
<A NAME="getMessageID()"><!-- --></A><H3>
1759
getMessageID</H3>
1760
<PRE>
1761
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getMessageID</B>()
1762
                    throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1763
<DL>
1764
<DD>Get the Message-ID.
1765
<P>
1766
<DD><DL>
1767
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getMessageID()">getMessageID</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1768
</DD>
1769
<DD><DL>
1770
 
1771
<DT><B>Returns:</B><DD>Message-ID
1772
<DT><B>Throws:</B>
1773
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE> - if the retrieval of this field
1774
                        causes any exception.<DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/search/MessageIDTerm.html" title="class in javax.mail.search"><CODE>MessageIDTerm</CODE></A></DL>
1775
</DD>
1776
</DL>
1777
<HR>
1778
 
1779
<A NAME="getFileName()"><!-- --></A><H3>
1780
getFileName</H3>
1781
<PRE>
1782
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getFileName</B>()
1783
                   throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1784
<DL>
1785
<DD>Get the "filename" Disposition parameter. (Only available in
1786
 IMAP4rev1). If thats not available, get the "name" ContentType
1787
 parameter.
1788
<P>
1789
<DD><DL>
1790
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#getFileName()">getFileName</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getFileName()">getFileName</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1791
</DD>
1792
<DD><DL>
1793
 
1794
<DT><B>Returns:</B><DD>filename
1795
<DT><B>Throws:</B>
1796
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1797
</DD>
1798
</DL>
1799
<HR>
1800
 
1801
<A NAME="setFileName(java.lang.String)"><!-- --></A><H3>
1802
setFileName</H3>
1803
<PRE>
1804
public void <B>setFileName</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;filename)
1805
                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1806
<DL>
1807
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setFileName(java.lang.String)">MimeMessage</A></CODE></B></DD>
1808
<DD>Set the filename associated with this part, if possible. <p>
1809
 
1810
 Sets the "filename" parameter of the "Content-Disposition"
1811
 header field of this message. <p>
1812
 
1813
 If the <code>mail.mime.encodefilename</code> System property
1814
 is set to true, the <A HREF="../../../../javax/mail/internet/MimeUtility.html#encodeText(java.lang.String)"><CODE>MimeUtility.encodeText</CODE></A> method will be used to encode the
1815
 filename.  While such encoding is not supported by the MIME
1816
 spec, many mailers use this technique to support non-ASCII
1817
 characters in filenames.  The default value of this property
1818
 is false.
1819
<P>
1820
<DD><DL>
1821
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#setFileName(java.lang.String)">setFileName</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setFileName(java.lang.String)">setFileName</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1822
</DD>
1823
<DD><DL>
1824
<DT><B>Parameters:</B><DD><CODE>filename</CODE> - Filename to associate with this part
1825
<DT><B>Throws:</B>
1826
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying implementation
1827
                        does not support modification of this header
1828
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1829
</DD>
1830
</DL>
1831
<HR>
1832
 
1833
<A NAME="getContentStream()"><!-- --></A><H3>
1834
getContentStream</H3>
1835
<PRE>
1836
protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> <B>getContentStream</B>()
1837
                                throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1838
<DL>
1839
<DD>Get all the bytes for this message. Overrides getContentStream()
1840
 in MimeMessage. This method is ultimately used by the DataHandler
1841
 to obtain the input stream for this message.
1842
<P>
1843
<DD><DL>
1844
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getContentStream()">getContentStream</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1845
</DD>
1846
<DD><DL>
1847
 
1848
<DT><B>Throws:</B>
1849
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/internet/MimeMessage.html#getContentStream()"><CODE>MimeMessage.getContentStream()</CODE></A></DL>
1850
</DD>
1851
</DL>
1852
<HR>
1853
 
1854
<A NAME="getDataHandler()"><!-- --></A><H3>
1855
getDataHandler</H3>
1856
<PRE>
1857
public <A HREF="http://java.sun.com/javase/technologies/desktop/javabeans/glasgow/javadocs/javax/activation/DataHandler.html?is-external=true" title="class or interface in javax.activation">DataHandler</A> <B>getDataHandler</B>()
1858
                           throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1859
<DL>
1860
<DD>Get the DataHandler object for this message.
1861
<P>
1862
<DD><DL>
1863
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#getDataHandler()">getDataHandler</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getDataHandler()">getDataHandler</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1864
</DD>
1865
<DD><DL>
1866
 
1867
<DT><B>Returns:</B><DD>DataHandler for the content
1868
<DT><B>Throws:</B>
1869
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1870
</DD>
1871
</DL>
1872
<HR>
1873
 
1874
<A NAME="setDataHandler(javax.activation.DataHandler)"><!-- --></A><H3>
1875
setDataHandler</H3>
1876
<PRE>
1877
public void <B>setDataHandler</B>(<A HREF="http://java.sun.com/javase/technologies/desktop/javabeans/glasgow/javadocs/javax/activation/DataHandler.html?is-external=true" title="class or interface in javax.activation">DataHandler</A>&nbsp;content)
1878
                    throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1879
<DL>
1880
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setDataHandler(javax.activation.DataHandler)">MimeMessage</A></CODE></B></DD>
1881
<DD>This method provides the mechanism to set this part's content.
1882
 The given DataHandler object should wrap the actual content.
1883
<P>
1884
<DD><DL>
1885
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#setDataHandler(javax.activation.DataHandler)">setDataHandler</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setDataHandler(javax.activation.DataHandler)">setDataHandler</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1886
</DD>
1887
<DD><DL>
1888
<DT><B>Parameters:</B><DD><CODE>content</CODE> - The DataHandler for the content.
1889
<DT><B>Throws:</B>
1890
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
1891
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying implementation
1892
                        does not support modification of existing values</DL>
1893
</DD>
1894
</DL>
1895
<HR>
1896
 
1897
<A NAME="writeTo(java.io.OutputStream)"><!-- --></A><H3>
1898
writeTo</H3>
1899
<PRE>
1900
public void <B>writeTo</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A>&nbsp;os)
1901
             throws <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
1902
                    <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1903
<DL>
1904
<DD>Write out the bytes into the given outputstream.
1905
<P>
1906
<DD><DL>
1907
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#writeTo(java.io.OutputStream)">writeTo</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#writeTo(java.io.OutputStream)">writeTo</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1908
</DD>
1909
<DD><DL>
1910
 
1911
<DT><B>Throws:</B>
1912
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - if an error occurs writing to the stream
1913
                                or if an error is generated by the
1914
                                javax.activation layer.
1915
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE> - if an error occurs fetching the
1916
                                        data to be written<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/technologies/desktop/javabeans/glasgow/javadocs/javax/activation/DataHandler.html?is-external=true#writeTo(java.io.OutputStream)" title="class or interface in javax.activation"><CODE>DataHandler.writeTo(java.io.OutputStream)</CODE></A></DL>
1917
</DD>
1918
</DL>
1919
<HR>
1920
 
1921
<A NAME="getHeader(java.lang.String)"><!-- --></A><H3>
1922
getHeader</H3>
1923
<PRE>
1924
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>getHeader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)
1925
                   throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1926
<DL>
1927
<DD>Get the named header.
1928
<P>
1929
<DD><DL>
1930
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#getHeader(java.lang.String)">getHeader</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getHeader(java.lang.String)">getHeader</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1931
</DD>
1932
<DD><DL>
1933
<DT><B>Parameters:</B><DD><CODE>name</CODE> - name of header
1934
<DT><B>Returns:</B><DD>array of headers
1935
<DT><B>Throws:</B>
1936
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/internet/MimeUtility.html" title="class in javax.mail.internet"><CODE>MimeUtility</CODE></A></DL>
1937
</DD>
1938
</DL>
1939
<HR>
1940
 
1941
<A NAME="getHeader(java.lang.String, java.lang.String)"><!-- --></A><H3>
1942
getHeader</H3>
1943
<PRE>
1944
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getHeader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
1945
                        <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;delimiter)
1946
                 throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1947
<DL>
1948
<DD>Get the named header.
1949
<P>
1950
<DD><DL>
1951
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimePart.html#getHeader(java.lang.String, java.lang.String)">getHeader</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getHeader(java.lang.String, java.lang.String)">getHeader</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1952
</DD>
1953
<DD><DL>
1954
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of this header<DD><CODE>delimiter</CODE> - separator between values
1955
<DT><B>Returns:</B><DD>the value fields for all headers with
1956
                                this name
1957
<DT><B>Throws:</B>
1958
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
1959
</DD>
1960
</DL>
1961
<HR>
1962
 
1963
<A NAME="setHeader(java.lang.String, java.lang.String)"><!-- --></A><H3>
1964
setHeader</H3>
1965
<PRE>
1966
public void <B>setHeader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
1967
                      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)
1968
               throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1969
<DL>
1970
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setHeader(java.lang.String, java.lang.String)">MimeMessage</A></CODE></B></DD>
1971
<DD>Set the value for this header_name. Replaces all existing
1972
 header values with this new value. Note that RFC 822 headers
1973
 must contain only US-ASCII characters, so a header that
1974
 contains non US-ASCII characters must have been encoded by the
1975
 caller as per the rules of RFC 2047.
1976
<P>
1977
<DD><DL>
1978
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#setHeader(java.lang.String, java.lang.String)">setHeader</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setHeader(java.lang.String, java.lang.String)">setHeader</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
1979
</DD>
1980
<DD><DL>
1981
<DT><B>Parameters:</B><DD><CODE>name</CODE> - header name<DD><CODE>value</CODE> - header value
1982
<DT><B>Throws:</B>
1983
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
1984
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
1985
                                implementation does not support modification
1986
                                of existing values<DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/internet/MimeUtility.html" title="class in javax.mail.internet"><CODE>MimeUtility</CODE></A></DL>
1987
</DD>
1988
</DL>
1989
<HR>
1990
 
1991
<A NAME="addHeader(java.lang.String, java.lang.String)"><!-- --></A><H3>
1992
addHeader</H3>
1993
<PRE>
1994
public void <B>addHeader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
1995
                      <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;value)
1996
               throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
1997
<DL>
1998
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#addHeader(java.lang.String, java.lang.String)">MimeMessage</A></CODE></B></DD>
1999
<DD>Add this value to the existing values for this header_name.
2000
 Note that RFC 822 headers must contain only US-ASCII
2001
 characters, so a header that contains non US-ASCII characters
2002
 must have been encoded as per the rules of RFC 2047.
2003
<P>
2004
<DD><DL>
2005
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#addHeader(java.lang.String, java.lang.String)">addHeader</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#addHeader(java.lang.String, java.lang.String)">addHeader</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2006
</DD>
2007
<DD><DL>
2008
<DT><B>Parameters:</B><DD><CODE>name</CODE> - header name<DD><CODE>value</CODE> - header value
2009
<DT><B>Throws:</B>
2010
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
2011
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
2012
                                implementation does not support modification
2013
                                of existing values<DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/internet/MimeUtility.html" title="class in javax.mail.internet"><CODE>MimeUtility</CODE></A></DL>
2014
</DD>
2015
</DL>
2016
<HR>
2017
 
2018
<A NAME="removeHeader(java.lang.String)"><!-- --></A><H3>
2019
removeHeader</H3>
2020
<PRE>
2021
public void <B>removeHeader</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)
2022
                  throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
2023
<DL>
2024
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#removeHeader(java.lang.String)">MimeMessage</A></CODE></B></DD>
2025
<DD>Remove all headers with this name.
2026
<P>
2027
<DD><DL>
2028
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#removeHeader(java.lang.String)">removeHeader</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#removeHeader(java.lang.String)">removeHeader</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2029
</DD>
2030
<DD><DL>
2031
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of this header
2032
<DT><B>Throws:</B>
2033
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
2034
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
2035
                                implementation does not support modification
2036
                                of existing values</DL>
2037
</DD>
2038
</DL>
2039
<HR>
2040
 
2041
<A NAME="getAllHeaders()"><!-- --></A><H3>
2042
getAllHeaders</H3>
2043
<PRE>
2044
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A> <B>getAllHeaders</B>()
2045
                          throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
2046
<DL>
2047
<DD>Get all headers.
2048
<P>
2049
<DD><DL>
2050
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#getAllHeaders()">getAllHeaders</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getAllHeaders()">getAllHeaders</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2051
</DD>
2052
<DD><DL>
2053
 
2054
<DT><B>Returns:</B><DD>array of header objects
2055
<DT><B>Throws:</B>
2056
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/internet/MimeUtility.html" title="class in javax.mail.internet"><CODE>MimeUtility</CODE></A></DL>
2057
</DD>
2058
</DL>
2059
<HR>
2060
 
2061
<A NAME="getMatchingHeaders(java.lang.String[])"><!-- --></A><H3>
2062
getMatchingHeaders</H3>
2063
<PRE>
2064
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A> <B>getMatchingHeaders</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;names)
2065
                               throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
2066
<DL>
2067
<DD>Get matching headers.
2068
<P>
2069
<DD><DL>
2070
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#getMatchingHeaders(java.lang.String[])">getMatchingHeaders</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getMatchingHeaders(java.lang.String[])">getMatchingHeaders</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2071
</DD>
2072
<DD><DL>
2073
 
2074
<DT><B>Returns:</B><DD>enumeration of Header objects
2075
<DT><B>Throws:</B>
2076
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
2077
</DD>
2078
</DL>
2079
<HR>
2080
 
2081
<A NAME="getNonMatchingHeaders(java.lang.String[])"><!-- --></A><H3>
2082
getNonMatchingHeaders</H3>
2083
<PRE>
2084
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A> <B>getNonMatchingHeaders</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;names)
2085
                                  throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
2086
<DL>
2087
<DD>Get non-matching headers.
2088
<P>
2089
<DD><DL>
2090
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/Part.html#getNonMatchingHeaders(java.lang.String[])">getNonMatchingHeaders</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/Part.html" title="interface in javax.mail">Part</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getNonMatchingHeaders(java.lang.String[])">getNonMatchingHeaders</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2091
</DD>
2092
<DD><DL>
2093
 
2094
<DT><B>Returns:</B><DD>enumeration of Header objects
2095
<DT><B>Throws:</B>
2096
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
2097
</DD>
2098
</DL>
2099
<HR>
2100
 
2101
<A NAME="addHeaderLine(java.lang.String)"><!-- --></A><H3>
2102
addHeaderLine</H3>
2103
<PRE>
2104
public void <B>addHeaderLine</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;line)
2105
                   throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
2106
<DL>
2107
<DD><B>Description copied from class: <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#addHeaderLine(java.lang.String)">MimeMessage</A></CODE></B></DD>
2108
<DD>Add a raw RFC 822 header-line.
2109
<P>
2110
<DD><DL>
2111
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimePart.html#addHeaderLine(java.lang.String)">addHeaderLine</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#addHeaderLine(java.lang.String)">addHeaderLine</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2112
</DD>
2113
<DD><DL>
2114
 
2115
<DT><B>Throws:</B>
2116
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
2117
                        implementation does not support modification
2118
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
2119
</DD>
2120
</DL>
2121
<HR>
2122
 
2123
<A NAME="getAllHeaderLines()"><!-- --></A><H3>
2124
getAllHeaderLines</H3>
2125
<PRE>
2126
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A> <B>getAllHeaderLines</B>()
2127
                              throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
2128
<DL>
2129
<DD>Get all header-lines.
2130
<P>
2131
<DD><DL>
2132
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimePart.html#getAllHeaderLines()">getAllHeaderLines</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getAllHeaderLines()">getAllHeaderLines</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2133
</DD>
2134
<DD><DL>
2135
 
2136
<DT><B>Throws:</B>
2137
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
2138
</DD>
2139
</DL>
2140
<HR>
2141
 
2142
<A NAME="getMatchingHeaderLines(java.lang.String[])"><!-- --></A><H3>
2143
getMatchingHeaderLines</H3>
2144
<PRE>
2145
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A> <B>getMatchingHeaderLines</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;names)
2146
                                   throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
2147
<DL>
2148
<DD>Get all matching header-lines.
2149
<P>
2150
<DD><DL>
2151
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimePart.html#getMatchingHeaderLines(java.lang.String[])">getMatchingHeaderLines</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getMatchingHeaderLines(java.lang.String[])">getMatchingHeaderLines</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2152
</DD>
2153
<DD><DL>
2154
 
2155
<DT><B>Throws:</B>
2156
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
2157
</DD>
2158
</DL>
2159
<HR>
2160
 
2161
<A NAME="getNonMatchingHeaderLines(java.lang.String[])"><!-- --></A><H3>
2162
getNonMatchingHeaderLines</H3>
2163
<PRE>
2164
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</A> <B>getNonMatchingHeaderLines</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;names)
2165
                                      throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
2166
<DL>
2167
<DD>Get all non-matching headerlines.
2168
<P>
2169
<DD><DL>
2170
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimePart.html#getNonMatchingHeaderLines(java.lang.String[])">getNonMatchingHeaderLines</A></CODE> in interface <CODE><A HREF="../../../../javax/mail/internet/MimePart.html" title="interface in javax.mail.internet">MimePart</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getNonMatchingHeaderLines(java.lang.String[])">getNonMatchingHeaderLines</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2171
</DD>
2172
<DD><DL>
2173
 
2174
<DT><B>Throws:</B>
2175
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL>
2176
</DD>
2177
</DL>
2178
<HR>
2179
 
2180
<A NAME="getFlags()"><!-- --></A><H3>
2181
getFlags</H3>
2182
<PRE>
2183
public <A HREF="../../../../javax/mail/Flags.html" title="class in javax.mail">Flags</A> <B>getFlags</B>()
2184
               throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
2185
<DL>
2186
<DD>Get the Flags for this message.
2187
<P>
2188
<DD><DL>
2189
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#getFlags()">getFlags</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2190
</DD>
2191
<DD><DL>
2192
 
2193
<DT><B>Returns:</B><DD>Flags object containing the flags for this message
2194
<DT><B>Throws:</B>
2195
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/Flags.html" title="class in javax.mail"><CODE>Flags</CODE></A></DL>
2196
</DD>
2197
</DL>
2198
<HR>
2199
 
2200
<A NAME="isSet(javax.mail.Flags.Flag)"><!-- --></A><H3>
2201
isSet</H3>
2202
<PRE>
2203
public boolean <B>isSet</B>(<A HREF="../../../../javax/mail/Flags.Flag.html" title="class in javax.mail">Flags.Flag</A>&nbsp;flag)
2204
              throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
2205
<DL>
2206
<DD>Test if the given Flags are set in this message.
2207
<P>
2208
<DD><DL>
2209
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#isSet(javax.mail.Flags.Flag)">isSet</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2210
</DD>
2211
<DD><DL>
2212
<DT><B>Parameters:</B><DD><CODE>flag</CODE> - the flag
2213
<DT><B>Returns:</B><DD>value of the specified flag for this message
2214
<DT><B>Throws:</B>
2215
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/Flags.Flag.html" title="class in javax.mail"><CODE>Flags.Flag</CODE></A>,
2216
<A HREF="../../../../javax/mail/Flags.Flag.html#ANSWERED"><CODE>Flags.Flag.ANSWERED</CODE></A>,
2217
<A HREF="../../../../javax/mail/Flags.Flag.html#DELETED"><CODE>Flags.Flag.DELETED</CODE></A>,
2218
<A HREF="../../../../javax/mail/Flags.Flag.html#DRAFT"><CODE>Flags.Flag.DRAFT</CODE></A>,
2219
<A HREF="../../../../javax/mail/Flags.Flag.html#FLAGGED"><CODE>Flags.Flag.FLAGGED</CODE></A>,
2220
<A HREF="../../../../javax/mail/Flags.Flag.html#RECENT"><CODE>Flags.Flag.RECENT</CODE></A>,
2221
<A HREF="../../../../javax/mail/Flags.Flag.html#SEEN"><CODE>Flags.Flag.SEEN</CODE></A></DL>
2222
</DD>
2223
</DL>
2224
<HR>
2225
 
2226
<A NAME="setFlags(javax.mail.Flags, boolean)"><!-- --></A><H3>
2227
setFlags</H3>
2228
<PRE>
2229
public void <B>setFlags</B>(<A HREF="../../../../javax/mail/Flags.html" title="class in javax.mail">Flags</A>&nbsp;flag,
2230
                     boolean&nbsp;set)
2231
              throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE>
2232
<DL>
2233
<DD>Set/Unset the given flags in this message.
2234
<P>
2235
<DD><DL>
2236
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#setFlags(javax.mail.Flags, boolean)">setFlags</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL>
2237
</DD>
2238
<DD><DL>
2239
<DT><B>Parameters:</B><DD><CODE>flag</CODE> - Flags object containing the flags to be set<DD><CODE>set</CODE> - the value to be set
2240
<DT><B>Throws:</B>
2241
<DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE>
2242
<DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying
2243
                        implementation does not support modification
2244
                        of existing values.<DT><B>See Also:</B><DD><A HREF="../../../../javax/mail/event/MessageChangedEvent.html" title="class in javax.mail.event"><CODE>MessageChangedEvent</CODE></A></DL>
2245
</DD>
2246
</DL>
2247
<HR>
2248
 
2249
<A NAME="setPeek(boolean)"><!-- --></A><H3>
2250
setPeek</H3>
2251
<PRE>
2252
public void <B>setPeek</B>(boolean&nbsp;peek)</PRE>
2253
<DL>
2254
<DD>Set whether or not to use the PEEK variant of FETCH when
2255
 fetching message content.
2256
<P>
2257
<DD><DL>
2258
<DT><B>Since:</B></DT>
2259
  <DD>JavaMail 1.3.3</DD>
2260
</DL>
2261
</DD>
2262
</DL>
2263
<HR>
2264
 
2265
<A NAME="getPeek()"><!-- --></A><H3>
2266
getPeek</H3>
2267
<PRE>
2268
public boolean <B>getPeek</B>()</PRE>
2269
<DL>
2270
<DD>Get whether or not to use the PEEK variant of FETCH when
2271
 fetching message content.
2272
<P>
2273
<DD><DL>
2274
<DT><B>Since:</B></DT>
2275
  <DD>JavaMail 1.3.3</DD>
2276
</DL>
2277
</DD>
2278
</DL>
2279
<HR>
2280
 
2281
<A NAME="invalidateHeaders()"><!-- --></A><H3>
2282
invalidateHeaders</H3>
2283
<PRE>
2284
public void <B>invalidateHeaders</B>()</PRE>
2285
<DL>
2286
<DD>Invalidate cached header and envelope information for this
2287
 message.  Subsequent accesses of this information will
2288
 cause it to be fetched from the server.
2289
<P>
2290
<DD><DL>
2291
<DT><B>Since:</B></DT>
2292
  <DD>JavaMail 1.3.3</DD>
2293
</DL>
2294
</DD>
2295
</DL>
2296
<!-- ========= END OF CLASS DATA ========= -->
2297
<HR>
2298
 
2299
 
2300
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2301
<A NAME="navbar_bottom"><!-- --></A>
2302
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
2303
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
2304
<TR>
2305
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
2306
<A NAME="navbar_bottom_firstrow"><!-- --></A>
2307
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
2308
  <TR ALIGN="center" VALIGN="top">
2309
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
2310
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
2311
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
2312
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/IMAPMessage.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
2313
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
2314
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
2315
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
2316
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
2317
  </TR>
2318
</TABLE>
2319
</TD>
2320
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
2321
</EM>
2322
</TD>
2323
</TR>
2324
 
2325
<TR>
2326
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2327
&nbsp;<A HREF="../../../../com/sun/mail/imap/IMAPFolder.ProtocolCommand.html" title="interface in com.sun.mail.imap"><B>PREV CLASS</B></A>&nbsp;
2328
&nbsp;<A HREF="../../../../com/sun/mail/imap/IMAPSSLStore.html" title="class in com.sun.mail.imap"><B>NEXT CLASS</B></A></FONT></TD>
2329
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
2330
  <A HREF="../../../../index.html?com/sun/mail/imap/IMAPMessage.html" target="_top"><B>FRAMES</B></A>  &nbsp;
2331
&nbsp;<A HREF="IMAPMessage.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
2332
&nbsp;<SCRIPT type="text/javascript">
2333
  <!--
2334
  if(window==top) {
2335
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
2336
  }
2337
  //-->
2338
</SCRIPT>
2339
<NOSCRIPT>
2340
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
2341
</NOSCRIPT>
2342
 
2343
 
2344
</FONT></TD>
2345
</TR>
2346
<TR>
2347
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2348
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_javax.mail.internet.MimeMessage">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
2349
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
2350
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
2351
</TR>
2352
</TABLE>
2353
<A NAME="skip-navbar_bottom"></A>
2354
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2355
 
2356
<HR>
2357
Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
2358
</BODY>
2359
</HTML>