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:42 PST 2009 --> |
||
6 | <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
||
7 | <TITLE> |
||
8 | POP3Message (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="POP3Message (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> </TD> |
||
42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
43 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/POP3Message.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
48 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../com/sun/mail/pop3/POP3Folder.html" title="class in com.sun.mail.pop3"><B>PREV CLASS</B></A> |
||
60 | <A HREF="../../../../com/sun/mail/pop3/POP3SSLStore.html" title="class in com.sun.mail.pop3"><B>NEXT CLASS</B></A></FONT></TD> |
||
61 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
62 | <A HREF="../../../../index.html?com/sun/mail/pop3/POP3Message.html" target="_top"><B>FRAMES</B></A> |
||
63 | <A HREF="POP3Message.html" target="_top"><B>NO FRAMES</B></A> |
||
64 | <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: <A HREF="#nested_classes_inherited_from_class_javax.mail.internet.MimeMessage">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.mail.internet.MimeMessage">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
81 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
82 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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.pop3</FONT> |
||
93 | <BR> |
||
94 | Class POP3Message</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.pop3.POP3Message</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>POP3Message</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 | A POP3 Message. Just like a MimeMessage except that |
||
111 | some things are not supported. |
||
112 | <P> |
||
113 | |||
114 | <P> |
||
115 | <HR> |
||
116 | |||
117 | <P> |
||
118 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
||
119 | |||
120 | <A NAME="nested_class_summary"><!-- --></A> |
||
121 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
122 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
123 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
124 | <B>Nested Class Summary</B></FONT></TH> |
||
125 | </TR> |
||
126 | </TABLE> |
||
127 | <A NAME="nested_classes_inherited_from_class_javax.mail.internet.MimeMessage"><!-- --></A> |
||
128 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
129 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
130 | <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> |
||
131 | </TR> |
||
132 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
133 | <TD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.RecipientType.html" title="class in javax.mail.internet">MimeMessage.RecipientType</A></CODE></TD> |
||
134 | </TR> |
||
135 | </TABLE> |
||
136 | |
||
137 | <!-- =========== FIELD SUMMARY =========== --> |
||
138 | |||
139 | <A NAME="field_summary"><!-- --></A> |
||
140 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
141 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
142 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
143 | <B>Field Summary</B></FONT></TH> |
||
144 | </TR> |
||
145 | </TABLE> |
||
146 | <A NAME="fields_inherited_from_class_javax.mail.internet.MimeMessage"><!-- --></A> |
||
147 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
148 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
149 | <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> |
||
150 | </TR> |
||
151 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
152 | <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> |
||
153 | </TR> |
||
154 | </TABLE> |
||
155 | <A NAME="fields_inherited_from_class_javax.mail.Message"><!-- --></A> |
||
156 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
157 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
158 | <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> |
||
159 | </TR> |
||
160 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
161 | <TD><CODE><A HREF="../../../../javax/mail/Message.html#expunged">expunged</A>, <A HREF="../../../../javax/mail/Message.html#msgnum">msgnum</A>, <A HREF="../../../../javax/mail/Message.html#session">session</A></CODE></TD> |
||
162 | </TR> |
||
163 | </TABLE> |
||
164 | <A NAME="fields_inherited_from_class_javax.mail.Part"><!-- --></A> |
||
165 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
166 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
167 | <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> |
||
168 | </TR> |
||
169 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
170 | <TD><CODE><A HREF="../../../../javax/mail/Part.html#ATTACHMENT">ATTACHMENT</A>, <A HREF="../../../../javax/mail/Part.html#INLINE">INLINE</A></CODE></TD> |
||
171 | </TR> |
||
172 | </TABLE> |
||
173 | |
||
174 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
||
175 | |||
176 | <A NAME="constructor_summary"><!-- --></A> |
||
177 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
178 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
179 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
180 | <B>Constructor Summary</B></FONT></TH> |
||
181 | </TR> |
||
182 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
183 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.html#POP3Message(javax.mail.Folder, int)">POP3Message</A></B>(<A HREF="../../../../javax/mail/Folder.html" title="class in javax.mail">Folder</A> folder, |
||
184 | int msgno)</CODE> |
||
185 | |||
186 | <BR> |
||
187 | </TD> |
||
188 | </TR> |
||
189 | </TABLE> |
||
190 | |
||
191 | <!-- ========== METHOD SUMMARY =========== --> |
||
192 | |||
193 | <A NAME="method_summary"><!-- --></A> |
||
194 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
195 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
196 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
||
197 | <B>Method Summary</B></FONT></TH> |
||
198 | </TR> |
||
199 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
200 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
201 | <CODE> void</CODE></FONT></TD> |
||
202 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.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> name, |
||
203 | <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> value)</CODE> |
||
204 | |||
205 | <BR> |
||
206 | Add this value to the existing values for this header_name.</TD> |
||
207 | </TR> |
||
208 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
209 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
210 | <CODE> void</CODE></FONT></TD> |
||
211 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.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> line)</CODE> |
||
212 | |||
213 | <BR> |
||
214 | Add a raw RFC822 header-line.</TD> |
||
215 | </TR> |
||
216 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
217 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
218 | <CODE> <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> |
||
219 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.html#getAllHeaderLines()">getAllHeaderLines</A></B>()</CODE> |
||
220 | |||
221 | <BR> |
||
222 | Get all header lines as an Enumeration of Strings.</TD> |
||
223 | </TR> |
||
224 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
225 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
226 | <CODE> <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> |
||
227 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.html#getAllHeaders()">getAllHeaders</A></B>()</CODE> |
||
228 | |||
229 | <BR> |
||
230 | Return all the headers from this Message as an enumeration |
||
231 | of Header objects.</TD> |
||
232 | </TR> |
||
233 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
234 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
235 | <CODE>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></CODE></FONT></TD> |
||
236 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.html#getContentStream()">getContentStream</A></B>()</CODE> |
||
237 | |||
238 | <BR> |
||
239 | Produce the raw bytes of the content.</TD> |
||
240 | </TR> |
||
241 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
242 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
243 | <CODE> <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> |
||
244 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.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> name)</CODE> |
||
245 | |||
246 | <BR> |
||
247 | Get all the headers for this header_name.</TD> |
||
248 | </TR> |
||
249 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
250 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
251 | <CODE> <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> |
||
252 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.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> name, |
||
253 | <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> delimiter)</CODE> |
||
254 | |||
255 | <BR> |
||
256 | Get all the headers for this header name, returned as a single |
||
257 | String, with headers separated by the delimiter.</TD> |
||
258 | </TR> |
||
259 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
260 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
261 | <CODE> <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> |
||
262 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.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>[] names)</CODE> |
||
263 | |||
264 | <BR> |
||
265 | Get matching header lines as an Enumeration of Strings.</TD> |
||
266 | </TR> |
||
267 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
268 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
269 | <CODE> <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> |
||
270 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.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>[] names)</CODE> |
||
271 | |||
272 | <BR> |
||
273 | Return matching headers from this Message as an Enumeration of |
||
274 | Header objects.</TD> |
||
275 | </TR> |
||
276 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
277 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
278 | <CODE> <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> |
||
279 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.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>[] names)</CODE> |
||
280 | |||
281 | <BR> |
||
282 | Get non-matching header lines as an Enumeration of Strings.</TD> |
||
283 | </TR> |
||
284 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
285 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
286 | <CODE> <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> |
||
287 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.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>[] names)</CODE> |
||
288 | |||
289 | <BR> |
||
290 | Return non-matching headers from this Message as an |
||
291 | Enumeration of Header objects.</TD> |
||
292 | </TR> |
||
293 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
294 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
295 | <CODE> int</CODE></FONT></TD> |
||
296 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.html#getSize()">getSize</A></B>()</CODE> |
||
297 | |||
298 | <BR> |
||
299 | Return the size of the content of this message in bytes.</TD> |
||
300 | </TR> |
||
301 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
302 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
303 | <CODE> void</CODE></FONT></TD> |
||
304 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.html#invalidate(boolean)">invalidate</A></B>(boolean invalidateHeaders)</CODE> |
||
305 | |||
306 | <BR> |
||
307 | Invalidate the cache of content for this message object, causing |
||
308 | it to be fetched again from the server the next time it is needed.</TD> |
||
309 | </TR> |
||
310 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
311 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
312 | <CODE> void</CODE></FONT></TD> |
||
313 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.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> name)</CODE> |
||
314 | |||
315 | <BR> |
||
316 | Remove all headers with this name.</TD> |
||
317 | </TR> |
||
318 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
319 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
320 | <CODE> void</CODE></FONT></TD> |
||
321 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.html#saveChanges()">saveChanges</A></B>()</CODE> |
||
322 | |||
323 | <BR> |
||
324 | POP3 message can't be changed.</TD> |
||
325 | </TR> |
||
326 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
327 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
328 | <CODE> void</CODE></FONT></TD> |
||
329 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.html#setFlags(javax.mail.Flags, boolean)">setFlags</A></B>(<A HREF="../../../../javax/mail/Flags.html" title="class in javax.mail">Flags</A> newFlags, |
||
330 | boolean set)</CODE> |
||
331 | |||
332 | <BR> |
||
333 | Set the specified flags on this message to the specified value.</TD> |
||
334 | </TR> |
||
335 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
336 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
337 | <CODE> void</CODE></FONT></TD> |
||
338 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.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> name, |
||
339 | <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> value)</CODE> |
||
340 | |||
341 | <BR> |
||
342 | Set the value for this header_name.</TD> |
||
343 | </TR> |
||
344 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
345 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
346 | <CODE> <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> |
||
347 | <TD><CODE><B><A HREF="../../../../com/sun/mail/pop3/POP3Message.html#top(int)">top</A></B>(int n)</CODE> |
||
348 | |||
349 | <BR> |
||
350 | Fetch the header of the message and the first <code>n</code> lines |
||
351 | of the raw content of the message.</TD> |
||
352 | </TR> |
||
353 | </TABLE> |
||
354 | <A NAME="methods_inherited_from_class_javax.mail.internet.MimeMessage"><!-- --></A> |
||
355 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
356 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
357 | <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> |
||
358 | </TR> |
||
359 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
360 | <TD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#addFrom(javax.mail.Address[])">addFrom</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#addRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])">addRecipients</A>, <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#getContentID()">getContentID</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getContentLanguage()">getContentLanguage</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getContentMD5()">getContentMD5</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getContentType()">getContentType</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getDataHandler()">getDataHandler</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getDescription()">getDescription</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getDisposition()">getDisposition</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getEncoding()">getEncoding</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getFileName()">getFileName</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getFlags()">getFlags</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getFrom()">getFrom</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getInputStream()">getInputStream</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getLineCount()">getLineCount</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getMessageID()">getMessageID</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getRawInputStream()">getRawInputStream</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getReceivedDate()">getReceivedDate</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getRecipients(javax.mail.Message.RecipientType)">getRecipients</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getReplyTo()">getReplyTo</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getSender()">getSender</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getSentDate()">getSentDate</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#getSubject()">getSubject</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#isMimeType(java.lang.String)">isMimeType</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#isSet(javax.mail.Flags.Flag)">isSet</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#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#setContentID(java.lang.String)">setContentID</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setContentLanguage(java.lang.String[])">setContentLanguage</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setContentMD5(java.lang.String)">setContentMD5</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setDataHandler(javax.activation.DataHandler)">setDataHandler</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setDescription(java.lang.String, java.lang.String)">setDescription</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setDisposition(java.lang.String)">setDisposition</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setFileName(java.lang.String)">setFileName</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setFrom()">setFrom</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setFrom(javax.mail.Address)">setFrom</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setRecipients(javax.mail.Message.RecipientType, javax.mail.Address[])">setRecipients</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#setReplyTo(javax.mail.Address[])">setReplyTo</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setSender(javax.mail.Address)">setSender</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setSentDate(java.util.Date)">setSentDate</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setSubject(java.lang.String)">setSubject</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#setSubject(java.lang.String, 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)">writeTo</A>, <A HREF="../../../../javax/mail/internet/MimeMessage.html#writeTo(java.io.OutputStream, java.lang.String[])">writeTo</A></CODE></TD> |
||
361 | </TR> |
||
362 | </TABLE> |
||
363 | <A NAME="methods_inherited_from_class_javax.mail.Message"><!-- --></A> |
||
364 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
365 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
366 | <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> |
||
367 | </TR> |
||
368 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
369 | <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#setExpunged(boolean)">setExpunged</A>, <A HREF="../../../../javax/mail/Message.html#setFlag(javax.mail.Flags.Flag, boolean)">setFlag</A>, <A HREF="../../../../javax/mail/Message.html#setMessageNumber(int)">setMessageNumber</A>, <A HREF="../../../../javax/mail/Message.html#setRecipient(javax.mail.Message.RecipientType, javax.mail.Address)">setRecipient</A></CODE></TD> |
||
370 | </TR> |
||
371 | </TABLE> |
||
372 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
373 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
374 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
375 | <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> |
||
376 | </TR> |
||
377 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
378 | <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> |
||
379 | </TR> |
||
380 | </TABLE> |
||
381 | |
||
382 | <P> |
||
383 | |||
384 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
||
385 | |||
386 | <A NAME="constructor_detail"><!-- --></A> |
||
387 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
388 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
389 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
390 | <B>Constructor Detail</B></FONT></TH> |
||
391 | </TR> |
||
392 | </TABLE> |
||
393 | |||
394 | <A NAME="POP3Message(javax.mail.Folder, int)"><!-- --></A><H3> |
||
395 | POP3Message</H3> |
||
396 | <PRE> |
||
397 | public <B>POP3Message</B>(<A HREF="../../../../javax/mail/Folder.html" title="class in javax.mail">Folder</A> folder, |
||
398 | int msgno) |
||
399 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
400 | <DL> |
||
401 | <DL> |
||
402 | |||
403 | <DT><B>Throws:</B> |
||
404 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
405 | </DL> |
||
406 | |||
407 | <!-- ============ METHOD DETAIL ========== --> |
||
408 | |||
409 | <A NAME="method_detail"><!-- --></A> |
||
410 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
411 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
412 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
413 | <B>Method Detail</B></FONT></TH> |
||
414 | </TR> |
||
415 | </TABLE> |
||
416 | |||
417 | <A NAME="setFlags(javax.mail.Flags, boolean)"><!-- --></A><H3> |
||
418 | setFlags</H3> |
||
419 | <PRE> |
||
420 | public void <B>setFlags</B>(<A HREF="../../../../javax/mail/Flags.html" title="class in javax.mail">Flags</A> newFlags, |
||
421 | boolean set) |
||
422 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
423 | <DL> |
||
424 | <DD>Set the specified flags on this message to the specified value. |
||
425 | <P> |
||
426 | <DD><DL> |
||
427 | <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> |
||
428 | </DD> |
||
429 | <DD><DL> |
||
430 | <DT><B>Parameters:</B><DD><CODE>newFlags</CODE> - the flags to be set<DD><CODE>set</CODE> - the value to be set |
||
431 | <DT><B>Throws:</B> |
||
432 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE> |
||
433 | <DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - if the underlying |
||
434 | implementation does not support modification |
||
435 | 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> |
||
436 | </DD> |
||
437 | </DL> |
||
438 | <HR> |
||
439 | |||
440 | <A NAME="getSize()"><!-- --></A><H3> |
||
441 | getSize</H3> |
||
442 | <PRE> |
||
443 | public int <B>getSize</B>() |
||
444 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
445 | <DL> |
||
446 | <DD>Return the size of the content of this message in bytes. |
||
447 | Returns -1 if the size cannot be determined. <p> |
||
448 | |||
449 | Note that this number may not be an exact measure of the |
||
450 | content size and may or may not account for any transfer |
||
451 | encoding of the content. <p> |
||
452 | <P> |
||
453 | <DD><DL> |
||
454 | <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> |
||
455 | </DD> |
||
456 | <DD><DL> |
||
457 | |||
458 | <DT><B>Returns:</B><DD>size of content in bytes |
||
459 | <DT><B>Throws:</B> |
||
460 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
461 | </DD> |
||
462 | </DL> |
||
463 | <HR> |
||
464 | |||
465 | <A NAME="getContentStream()"><!-- --></A><H3> |
||
466 | getContentStream</H3> |
||
467 | <PRE> |
||
468 | 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>() |
||
469 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
470 | <DL> |
||
471 | <DD>Produce the raw bytes of the content. The data is fetched using |
||
472 | the POP3 RETR command. |
||
473 | <P> |
||
474 | <DD><DL> |
||
475 | <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> |
||
476 | </DD> |
||
477 | <DD><DL> |
||
478 | |||
479 | <DT><B>Throws:</B> |
||
480 | <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#contentStream"><CODE>MimeMessage.contentStream</CODE></A></DL> |
||
481 | </DD> |
||
482 | </DL> |
||
483 | <HR> |
||
484 | |||
485 | <A NAME="invalidate(boolean)"><!-- --></A><H3> |
||
486 | invalidate</H3> |
||
487 | <PRE> |
||
488 | public void <B>invalidate</B>(boolean invalidateHeaders)</PRE> |
||
489 | <DL> |
||
490 | <DD>Invalidate the cache of content for this message object, causing |
||
491 | it to be fetched again from the server the next time it is needed. |
||
492 | If <code>invalidateHeaders</code> is true, invalidate the headers |
||
493 | as well. |
||
494 | <P> |
||
495 | <DD><DL> |
||
496 | <DT><B>Parameters:</B><DD><CODE>invalidateHeaders</CODE> - invalidate the headers as well?</DL> |
||
497 | </DD> |
||
498 | </DL> |
||
499 | <HR> |
||
500 | |||
501 | <A NAME="top(int)"><!-- --></A><H3> |
||
502 | top</H3> |
||
503 | <PRE> |
||
504 | public <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>top</B>(int n) |
||
505 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
506 | <DL> |
||
507 | <DD>Fetch the header of the message and the first <code>n</code> lines |
||
508 | of the raw content of the message. The headers and data are |
||
509 | available in the returned InputStream. |
||
510 | <P> |
||
511 | <DD><DL> |
||
512 | <DT><B>Parameters:</B><DD><CODE>n</CODE> - number of lines of content to fetch |
||
513 | <DT><B>Returns:</B><DD>InputStream containing the message headers and n content lines |
||
514 | <DT><B>Throws:</B> |
||
515 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
516 | </DD> |
||
517 | </DL> |
||
518 | <HR> |
||
519 | |||
520 | <A NAME="getHeader(java.lang.String)"><!-- --></A><H3> |
||
521 | getHeader</H3> |
||
522 | <PRE> |
||
523 | 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> name) |
||
524 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
525 | <DL> |
||
526 | <DD>Get all the headers for this header_name. Note that certain |
||
527 | headers may be encoded as per RFC 2047 if they contain |
||
528 | non US-ASCII characters and these should be decoded. <p> |
||
529 | <P> |
||
530 | <DD><DL> |
||
531 | <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> |
||
532 | </DD> |
||
533 | <DD><DL> |
||
534 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - name of header |
||
535 | <DT><B>Returns:</B><DD>array of headers |
||
536 | <DT><B>Throws:</B> |
||
537 | <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> |
||
538 | </DD> |
||
539 | </DL> |
||
540 | <HR> |
||
541 | |||
542 | <A NAME="getHeader(java.lang.String, java.lang.String)"><!-- --></A><H3> |
||
543 | getHeader</H3> |
||
544 | <PRE> |
||
545 | 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> name, |
||
546 | <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> delimiter) |
||
547 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
548 | <DL> |
||
549 | <DD>Get all the headers for this header name, returned as a single |
||
550 | String, with headers separated by the delimiter. If the |
||
551 | delimiter is <code>null</code>, only the first header is |
||
552 | returned. |
||
553 | <P> |
||
554 | <DD><DL> |
||
555 | <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> |
||
556 | </DD> |
||
557 | <DD><DL> |
||
558 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of this header<DD><CODE>delimiter</CODE> - delimiter between returned headers |
||
559 | <DT><B>Returns:</B><DD>the value fields for all headers with |
||
560 | this name |
||
561 | <DT><B>Throws:</B> |
||
562 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
563 | </DD> |
||
564 | </DL> |
||
565 | <HR> |
||
566 | |||
567 | <A NAME="setHeader(java.lang.String, java.lang.String)"><!-- --></A><H3> |
||
568 | setHeader</H3> |
||
569 | <PRE> |
||
570 | 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> name, |
||
571 | <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> value) |
||
572 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
573 | <DL> |
||
574 | <DD>Set the value for this header_name. Throws IllegalWriteException |
||
575 | because POP3 messages are read-only. |
||
576 | <P> |
||
577 | <DD><DL> |
||
578 | <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> |
||
579 | </DD> |
||
580 | <DD><DL> |
||
581 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - header name<DD><CODE>value</CODE> - header value |
||
582 | <DT><B>Throws:</B> |
||
583 | <DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - because the underlying |
||
584 | implementation does not support modification |
||
585 | <DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this message is |
||
586 | obtained from a READ_ONLY folder. |
||
587 | <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> |
||
588 | </DD> |
||
589 | </DL> |
||
590 | <HR> |
||
591 | |||
592 | <A NAME="addHeader(java.lang.String, java.lang.String)"><!-- --></A><H3> |
||
593 | addHeader</H3> |
||
594 | <PRE> |
||
595 | 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> name, |
||
596 | <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> value) |
||
597 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
598 | <DL> |
||
599 | <DD>Add this value to the existing values for this header_name. |
||
600 | Throws IllegalWriteException because POP3 messages are read-only. |
||
601 | <P> |
||
602 | <DD><DL> |
||
603 | <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> |
||
604 | </DD> |
||
605 | <DD><DL> |
||
606 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - header name<DD><CODE>value</CODE> - header value |
||
607 | <DT><B>Throws:</B> |
||
608 | <DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - because the underlying |
||
609 | implementation does not support modification |
||
610 | <DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this message is |
||
611 | obtained from a READ_ONLY folder. |
||
612 | <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> |
||
613 | </DD> |
||
614 | </DL> |
||
615 | <HR> |
||
616 | |||
617 | <A NAME="removeHeader(java.lang.String)"><!-- --></A><H3> |
||
618 | removeHeader</H3> |
||
619 | <PRE> |
||
620 | 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> name) |
||
621 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
622 | <DL> |
||
623 | <DD>Remove all headers with this name. |
||
624 | Throws IllegalWriteException because POP3 messages are read-only. |
||
625 | <P> |
||
626 | <DD><DL> |
||
627 | <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> |
||
628 | </DD> |
||
629 | <DD><DL> |
||
630 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of this header |
||
631 | <DT><B>Throws:</B> |
||
632 | <DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - because the underlying |
||
633 | implementation does not support modification |
||
634 | <DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this message is |
||
635 | obtained from a READ_ONLY folder. |
||
636 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
637 | </DD> |
||
638 | </DL> |
||
639 | <HR> |
||
640 | |||
641 | <A NAME="getAllHeaders()"><!-- --></A><H3> |
||
642 | getAllHeaders</H3> |
||
643 | <PRE> |
||
644 | 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>() |
||
645 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
646 | <DL> |
||
647 | <DD>Return all the headers from this Message as an enumeration |
||
648 | of Header objects. <p> |
||
649 | |||
650 | Note that certain headers may be encoded as per RFC 2047 |
||
651 | if they contain non US-ASCII characters and these should |
||
652 | be decoded. <p> |
||
653 | <P> |
||
654 | <DD><DL> |
||
655 | <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> |
||
656 | </DD> |
||
657 | <DD><DL> |
||
658 | |||
659 | <DT><B>Returns:</B><DD>array of header objects |
||
660 | <DT><B>Throws:</B> |
||
661 | <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> |
||
662 | </DD> |
||
663 | </DL> |
||
664 | <HR> |
||
665 | |||
666 | <A NAME="getMatchingHeaders(java.lang.String[])"><!-- --></A><H3> |
||
667 | getMatchingHeaders</H3> |
||
668 | <PRE> |
||
669 | 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>[] names) |
||
670 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
671 | <DL> |
||
672 | <DD>Return matching headers from this Message as an Enumeration of |
||
673 | Header objects. |
||
674 | <P> |
||
675 | <DD><DL> |
||
676 | <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> |
||
677 | </DD> |
||
678 | <DD><DL> |
||
679 | |||
680 | <DT><B>Returns:</B><DD>enumeration of Header objects |
||
681 | <DT><B>Throws:</B> |
||
682 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
683 | </DD> |
||
684 | </DL> |
||
685 | <HR> |
||
686 | |||
687 | <A NAME="getNonMatchingHeaders(java.lang.String[])"><!-- --></A><H3> |
||
688 | getNonMatchingHeaders</H3> |
||
689 | <PRE> |
||
690 | 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>[] names) |
||
691 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
692 | <DL> |
||
693 | <DD>Return non-matching headers from this Message as an |
||
694 | Enumeration of Header objects. |
||
695 | <P> |
||
696 | <DD><DL> |
||
697 | <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> |
||
698 | </DD> |
||
699 | <DD><DL> |
||
700 | |||
701 | <DT><B>Returns:</B><DD>enumeration of Header objects |
||
702 | <DT><B>Throws:</B> |
||
703 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
704 | </DD> |
||
705 | </DL> |
||
706 | <HR> |
||
707 | |||
708 | <A NAME="addHeaderLine(java.lang.String)"><!-- --></A><H3> |
||
709 | addHeaderLine</H3> |
||
710 | <PRE> |
||
711 | 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> line) |
||
712 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
713 | <DL> |
||
714 | <DD>Add a raw RFC822 header-line. |
||
715 | Throws IllegalWriteException because POP3 messages are read-only. |
||
716 | <P> |
||
717 | <DD><DL> |
||
718 | <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> |
||
719 | </DD> |
||
720 | <DD><DL> |
||
721 | |||
722 | <DT><B>Throws:</B> |
||
723 | <DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - because the underlying |
||
724 | implementation does not support modification |
||
725 | <DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this message is |
||
726 | obtained from a READ_ONLY folder. |
||
727 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
728 | </DD> |
||
729 | </DL> |
||
730 | <HR> |
||
731 | |||
732 | <A NAME="getAllHeaderLines()"><!-- --></A><H3> |
||
733 | getAllHeaderLines</H3> |
||
734 | <PRE> |
||
735 | 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>() |
||
736 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
737 | <DL> |
||
738 | <DD>Get all header lines as an Enumeration of Strings. A Header |
||
739 | line is a raw RFC822 header-line, containing both the "name" |
||
740 | and "value" field. |
||
741 | <P> |
||
742 | <DD><DL> |
||
743 | <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> |
||
744 | </DD> |
||
745 | <DD><DL> |
||
746 | |||
747 | <DT><B>Throws:</B> |
||
748 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
749 | </DD> |
||
750 | </DL> |
||
751 | <HR> |
||
752 | |||
753 | <A NAME="getMatchingHeaderLines(java.lang.String[])"><!-- --></A><H3> |
||
754 | getMatchingHeaderLines</H3> |
||
755 | <PRE> |
||
756 | 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>[] names) |
||
757 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
758 | <DL> |
||
759 | <DD>Get matching header lines as an Enumeration of Strings. |
||
760 | A Header line is a raw RFC822 header-line, containing both |
||
761 | the "name" and "value" field. |
||
762 | <P> |
||
763 | <DD><DL> |
||
764 | <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> |
||
765 | </DD> |
||
766 | <DD><DL> |
||
767 | |||
768 | <DT><B>Throws:</B> |
||
769 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
770 | </DD> |
||
771 | </DL> |
||
772 | <HR> |
||
773 | |||
774 | <A NAME="getNonMatchingHeaderLines(java.lang.String[])"><!-- --></A><H3> |
||
775 | getNonMatchingHeaderLines</H3> |
||
776 | <PRE> |
||
777 | 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>[] names) |
||
778 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
779 | <DL> |
||
780 | <DD>Get non-matching header lines as an Enumeration of Strings. |
||
781 | A Header line is a raw RFC822 header-line, containing both |
||
782 | the "name" and "value" field. |
||
783 | <P> |
||
784 | <DD><DL> |
||
785 | <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> |
||
786 | </DD> |
||
787 | <DD><DL> |
||
788 | |||
789 | <DT><B>Throws:</B> |
||
790 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
791 | </DD> |
||
792 | </DL> |
||
793 | <HR> |
||
794 | |||
795 | <A NAME="saveChanges()"><!-- --></A><H3> |
||
796 | saveChanges</H3> |
||
797 | <PRE> |
||
798 | public void <B>saveChanges</B>() |
||
799 | throws <A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></PRE> |
||
800 | <DL> |
||
801 | <DD>POP3 message can't be changed. This method throws |
||
802 | IllegalWriteException. |
||
803 | <P> |
||
804 | <DD><DL> |
||
805 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html#saveChanges()">saveChanges</A></CODE> in class <CODE><A HREF="../../../../javax/mail/internet/MimeMessage.html" title="class in javax.mail.internet">MimeMessage</A></CODE></DL> |
||
806 | </DD> |
||
807 | <DD><DL> |
||
808 | |||
809 | <DT><B>Throws:</B> |
||
810 | <DD><CODE><A HREF="../../../../javax/mail/IllegalWriteException.html" title="class in javax.mail">IllegalWriteException</A></CODE> - because the underlying |
||
811 | implementation does not support modification |
||
812 | <DD><CODE><A HREF="../../../../javax/mail/MessagingException.html" title="class in javax.mail">MessagingException</A></CODE></DL> |
||
813 | </DD> |
||
814 | </DL> |
||
815 | <!-- ========= END OF CLASS DATA ========= --> |
||
816 | <HR> |
||
817 | |||
818 | |||
819 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
||
820 | <A NAME="navbar_bottom"><!-- --></A> |
||
821 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
822 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
823 | <TR> |
||
824 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
825 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
826 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
827 | <TR ALIGN="center" VALIGN="top"> |
||
828 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
829 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
830 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
831 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/POP3Message.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
832 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
833 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
834 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
835 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
836 | </TR> |
||
837 | </TABLE> |
||
838 | </TD> |
||
839 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
840 | </EM> |
||
841 | </TD> |
||
842 | </TR> |
||
843 | |||
844 | <TR> |
||
845 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
846 | <A HREF="../../../../com/sun/mail/pop3/POP3Folder.html" title="class in com.sun.mail.pop3"><B>PREV CLASS</B></A> |
||
847 | <A HREF="../../../../com/sun/mail/pop3/POP3SSLStore.html" title="class in com.sun.mail.pop3"><B>NEXT CLASS</B></A></FONT></TD> |
||
848 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
849 | <A HREF="../../../../index.html?com/sun/mail/pop3/POP3Message.html" target="_top"><B>FRAMES</B></A> |
||
850 | <A HREF="POP3Message.html" target="_top"><B>NO FRAMES</B></A> |
||
851 | <SCRIPT type="text/javascript"> |
||
852 | <!-- |
||
853 | if(window==top) { |
||
854 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
855 | } |
||
856 | //--> |
||
857 | </SCRIPT> |
||
858 | <NOSCRIPT> |
||
859 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
860 | </NOSCRIPT> |
||
861 | |||
862 | |||
863 | </FONT></TD> |
||
864 | </TR> |
||
865 | <TR> |
||
866 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
867 | SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.mail.internet.MimeMessage">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.mail.internet.MimeMessage">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
868 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
869 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
870 | </TR> |
||
871 | </TABLE> |
||
872 | <A NAME="skip-navbar_bottom"></A> |
||
873 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
||
874 | |||
875 | <HR> |
||
876 | Copyright © 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved. |
||
877 | </BODY> |
||
878 | </HTML> |