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