Subversion Repositories javautils

Rev

Blame | Last modification | View Log | RSS feed

  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:37 PST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  7. <TITLE>
  8. StoreEvent (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="StoreEvent (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/StoreEvent.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="../../../javax/mail/event/MessageCountListener.html" title="interface in javax.mail.event"><B>PREV CLASS</B></A>&nbsp;
  60. &nbsp;<A HREF="../../../javax/mail/event/StoreListener.html" title="interface in javax.mail.event"><B>NEXT CLASS</B></A></FONT></TD>
  61. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  62.   <A HREF="../../../index.html?javax/mail/event/StoreEvent.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  63. &nbsp;<A HREF="StoreEvent.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;NESTED&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. javax.mail.event</FONT>
  93. <BR>
  94. Class StoreEvent</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="http://java.sun.com/j2se/1.4.2/docs/api/java/util/EventObject.html?is-external=true" title="class or interface in java.util">java.util.EventObject</A>
  98.       <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../javax/mail/event/MailEvent.html" title="class in javax.mail.event">javax.mail.event.MailEvent</A>
  99.           <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>javax.mail.event.StoreEvent</B>
  100. </PRE>
  101. <DL>
  102. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD>
  103. </DL>
  104. <HR>
  105. <DL>
  106. <DT><PRE>public class <B>StoreEvent</B><DT>extends <A HREF="../../../javax/mail/event/MailEvent.html" title="class in javax.mail.event">MailEvent</A></DL>
  107. </PRE>
  108.  
  109. <P>
  110. This class models notifications from the Store connection. These
  111.  notifications can be ALERTS or NOTICES. ALERTS must be presented
  112.  to the user in a fashion that calls the user's attention to the
  113. message.
  114. <P>
  115.  
  116. <P>
  117. <DL>
  118. <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#javax.mail.event.StoreEvent">Serialized Form</A></DL>
  119. <HR>
  120.  
  121. <P>
  122. <!-- =========== FIELD SUMMARY =========== -->
  123.  
  124. <A NAME="field_summary"><!-- --></A>
  125. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  126. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  127. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  128. <B>Field Summary</B></FONT></TH>
  129. </TR>
  130. <TR BGCOLOR="white" CLASS="TableRowColor">
  131. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  132. <CODE>static&nbsp;int</CODE></FONT></TD>
  133. <TD><CODE><B><A HREF="../../../javax/mail/event/StoreEvent.html#ALERT">ALERT</A></B></CODE>
  134.  
  135. <BR>
  136. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates that this message is an ALERT.</TD>
  137. </TR>
  138. <TR BGCOLOR="white" CLASS="TableRowColor">
  139. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  140. <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>
  141. <TD><CODE><B><A HREF="../../../javax/mail/event/StoreEvent.html#message">message</A></B></CODE>
  142.  
  143. <BR>
  144. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The message text to be presented to the user.</TD>
  145. </TR>
  146. <TR BGCOLOR="white" CLASS="TableRowColor">
  147. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  148. <CODE>static&nbsp;int</CODE></FONT></TD>
  149. <TD><CODE><B><A HREF="../../../javax/mail/event/StoreEvent.html#NOTICE">NOTICE</A></B></CODE>
  150.  
  151. <BR>
  152. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates that this message is a NOTICE.</TD>
  153. </TR>
  154. <TR BGCOLOR="white" CLASS="TableRowColor">
  155. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  156. <CODE>protected &nbsp;int</CODE></FONT></TD>
  157. <TD><CODE><B><A HREF="../../../javax/mail/event/StoreEvent.html#type">type</A></B></CODE>
  158.  
  159. <BR>
  160. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The event type.</TD>
  161. </TR>
  162. </TABLE>
  163. &nbsp;<A NAME="fields_inherited_from_class_java.util.EventObject"><!-- --></A>
  164. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  165. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  166. <TH ALIGN="left"><B>Fields inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/EventObject.html?is-external=true" title="class or interface in java.util">EventObject</A></B></TH>
  167. </TR>
  168. <TR BGCOLOR="white" CLASS="TableRowColor">
  169. <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/EventObject.html?is-external=true#source" title="class or interface in java.util">source</A></CODE></TD>
  170. </TR>
  171. </TABLE>
  172. &nbsp;
  173. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  174.  
  175. <A NAME="constructor_summary"><!-- --></A>
  176. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  177. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  178. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  179. <B>Constructor Summary</B></FONT></TH>
  180. </TR>
  181. <TR BGCOLOR="white" CLASS="TableRowColor">
  182. <TD><CODE><B><A HREF="../../../javax/mail/event/StoreEvent.html#StoreEvent(javax.mail.Store, int, java.lang.String)">StoreEvent</A></B>(<A HREF="../../../javax/mail/Store.html" title="class in javax.mail">Store</A>&nbsp;store,
  183.           int&nbsp;type,
  184.           <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;message)</CODE>
  185.  
  186. <BR>
  187. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
  188. </TR>
  189. </TABLE>
  190. &nbsp;
  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>&nbsp;void</CODE></FONT></TD>
  202. <TD><CODE><B><A HREF="../../../javax/mail/event/StoreEvent.html#dispatch(java.lang.Object)">dispatch</A></B>(<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>&nbsp;listener)</CODE>
  203.  
  204. <BR>
  205. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invokes the appropriate StoreListener method.</TD>
  206. </TR>
  207. <TR BGCOLOR="white" CLASS="TableRowColor">
  208. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  209. <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>
  210. <TD><CODE><B><A HREF="../../../javax/mail/event/StoreEvent.html#getMessage()">getMessage</A></B>()</CODE>
  211.  
  212. <BR>
  213. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the message from the Store.</TD>
  214. </TR>
  215. <TR BGCOLOR="white" CLASS="TableRowColor">
  216. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  217. <CODE>&nbsp;int</CODE></FONT></TD>
  218. <TD><CODE><B><A HREF="../../../javax/mail/event/StoreEvent.html#getMessageType()">getMessageType</A></B>()</CODE>
  219.  
  220. <BR>
  221. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the type of this event.</TD>
  222. </TR>
  223. </TABLE>
  224. &nbsp;<A NAME="methods_inherited_from_class_java.util.EventObject"><!-- --></A>
  225. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  226. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  227. <TH ALIGN="left"><B>Methods inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/EventObject.html?is-external=true" title="class or interface in java.util">EventObject</A></B></TH>
  228. </TR>
  229. <TR BGCOLOR="white" CLASS="TableRowColor">
  230. <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/EventObject.html?is-external=true#getSource()" title="class or interface in java.util">getSource</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/EventObject.html?is-external=true#toString()" title="class or interface in java.util">toString</A></CODE></TD>
  231. </TR>
  232. </TABLE>
  233. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  234. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  235. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  236. <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>
  237. </TR>
  238. <TR BGCOLOR="white" CLASS="TableRowColor">
  239. <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#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>
  240. </TR>
  241. </TABLE>
  242. &nbsp;
  243. <P>
  244.  
  245. <!-- ============ FIELD DETAIL =========== -->
  246.  
  247. <A NAME="field_detail"><!-- --></A>
  248. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  249. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  250. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  251. <B>Field Detail</B></FONT></TH>
  252. </TR>
  253. </TABLE>
  254.  
  255. <A NAME="ALERT"><!-- --></A><H3>
  256. ALERT</H3>
  257. <PRE>
  258. public static final int <B>ALERT</B></PRE>
  259. <DL>
  260. <DD>Indicates that this message is an ALERT.
  261. <P>
  262. <DL>
  263. <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.mail.event.StoreEvent.ALERT">Constant Field Values</A></DL>
  264. </DL>
  265. <HR>
  266.  
  267. <A NAME="NOTICE"><!-- --></A><H3>
  268. NOTICE</H3>
  269. <PRE>
  270. public static final int <B>NOTICE</B></PRE>
  271. <DL>
  272. <DD>Indicates that this message is a NOTICE.
  273. <P>
  274. <DL>
  275. <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.mail.event.StoreEvent.NOTICE">Constant Field Values</A></DL>
  276. </DL>
  277. <HR>
  278.  
  279. <A NAME="type"><!-- --></A><H3>
  280. type</H3>
  281. <PRE>
  282. protected int <B>type</B></PRE>
  283. <DL>
  284. <DD>The event type.
  285. <P>
  286. <DL>
  287. </DL>
  288. </DL>
  289. <HR>
  290.  
  291. <A NAME="message"><!-- --></A><H3>
  292. message</H3>
  293. <PRE>
  294. 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>message</B></PRE>
  295. <DL>
  296. <DD>The message text to be presented to the user.
  297. <P>
  298. <DL>
  299. </DL>
  300. </DL>
  301.  
  302. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  303.  
  304. <A NAME="constructor_detail"><!-- --></A>
  305. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  306. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  307. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  308. <B>Constructor Detail</B></FONT></TH>
  309. </TR>
  310. </TABLE>
  311.  
  312. <A NAME="StoreEvent(javax.mail.Store, int, java.lang.String)"><!-- --></A><H3>
  313. StoreEvent</H3>
  314. <PRE>
  315. public <B>StoreEvent</B>(<A HREF="../../../javax/mail/Store.html" title="class in javax.mail">Store</A>&nbsp;store,
  316.                  int&nbsp;type,
  317.                  <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;message)</PRE>
  318. <DL>
  319. <DD>Constructor.
  320. <P>
  321. <DL>
  322. <DT><B>Parameters:</B><DD><CODE>store</CODE> - The source Store</DL>
  323. </DL>
  324.  
  325. <!-- ============ METHOD DETAIL ========== -->
  326.  
  327. <A NAME="method_detail"><!-- --></A>
  328. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  329. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  330. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  331. <B>Method Detail</B></FONT></TH>
  332. </TR>
  333. </TABLE>
  334.  
  335. <A NAME="getMessageType()"><!-- --></A><H3>
  336. getMessageType</H3>
  337. <PRE>
  338. public int <B>getMessageType</B>()</PRE>
  339. <DL>
  340. <DD>Return the type of this event.
  341. <P>
  342. <DD><DL>
  343.  
  344. <DT><B>Returns:</B><DD>type<DT><B>See Also:</B><DD><A HREF="../../../javax/mail/event/StoreEvent.html#ALERT"><CODE>ALERT</CODE></A>,
  345. <A HREF="../../../javax/mail/event/StoreEvent.html#NOTICE"><CODE>NOTICE</CODE></A></DL>
  346. </DD>
  347. </DL>
  348. <HR>
  349.  
  350. <A NAME="getMessage()"><!-- --></A><H3>
  351. getMessage</H3>
  352. <PRE>
  353. 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>getMessage</B>()</PRE>
  354. <DL>
  355. <DD>Get the message from the Store.
  356. <P>
  357. <DD><DL>
  358.  
  359. <DT><B>Returns:</B><DD>message from the Store</DL>
  360. </DD>
  361. </DL>
  362. <HR>
  363.  
  364. <A NAME="dispatch(java.lang.Object)"><!-- --></A><H3>
  365. dispatch</H3>
  366. <PRE>
  367. public void <B>dispatch</B>(<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>&nbsp;listener)</PRE>
  368. <DL>
  369. <DD>Invokes the appropriate StoreListener method.
  370. <P>
  371. <DD><DL>
  372. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/mail/event/MailEvent.html#dispatch(java.lang.Object)">dispatch</A></CODE> in class <CODE><A HREF="../../../javax/mail/event/MailEvent.html" title="class in javax.mail.event">MailEvent</A></CODE></DL>
  373. </DD>
  374. <DD><DL>
  375. </DL>
  376. </DD>
  377. </DL>
  378. <!-- ========= END OF CLASS DATA ========= -->
  379. <HR>
  380.  
  381.  
  382. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  383. <A NAME="navbar_bottom"><!-- --></A>
  384. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  385. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  386. <TR>
  387. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  388. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  389. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  390.  <TR ALIGN="center" VALIGN="top">
  391.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  392.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  393.  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  394.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/StoreEvent.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  395.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  396.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  397.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  398.  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  399.  </TR>
  400. </TABLE>
  401. </TD>
  402. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  403. </EM>
  404. </TD>
  405. </TR>
  406.  
  407. <TR>
  408. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  409. &nbsp;<A HREF="../../../javax/mail/event/MessageCountListener.html" title="interface in javax.mail.event"><B>PREV CLASS</B></A>&nbsp;
  410. &nbsp;<A HREF="../../../javax/mail/event/StoreListener.html" title="interface in javax.mail.event"><B>NEXT CLASS</B></A></FONT></TD>
  411. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  412.  <A HREF="../../../index.html?javax/mail/event/StoreEvent.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  413. &nbsp;<A HREF="StoreEvent.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  414. &nbsp;<SCRIPT type="text/javascript">
  415.  <!--
  416.  if(window==top) {
  417.    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  418.  }
  419.  //-->
  420. </SCRIPT>
  421. <NOSCRIPT>
  422.  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  423. </NOSCRIPT>
  424.  
  425.  
  426. </FONT></TD>
  427. </TR>
  428. <TR>
  429. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  430.  SUMMARY:&nbsp;NESTED&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>
  431. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  432. 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>
  433. </TR>
  434. </TABLE>
  435. <A NAME="skip-navbar_bottom"></A>
  436. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  437.  
  438. <HR>
  439. Copyright &#169; 2009 <a href="http://www.sun.com">Sun Microsystems, Inc.</a>. All Rights Reserved.
  440. </BODY>
  441. </HTML>
  442.