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.5.0_04) on Sun Feb 19 05:15:30 PST 2006 -->
6<TITLE>
7PostalCodeConstants (JPostal API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.ahmadsoft.postal.PostalCodeConstants class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="/stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    parent.document.title="PostalCodeConstants (JPostal API)";
18}
19</SCRIPT>
20<NOSCRIPT>
21</NOSCRIPT>
22
23</HEAD>
24
25<BODY BGCOLOR="white" onload="windowTitle();">
26
27
28<!-- ========= START OF TOP NAVBAR ======= -->
29<A NAME="navbar_top"><!-- --></A>
30<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32<TR>
33<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34<A NAME="navbar_top_firstrow"><!-- --></A>
35<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36  <TR ALIGN="center" VALIGN="top">
37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/org/ahmadsoft/postal/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
38  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/PostalCodeConstants.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
44  </TR>
45</TABLE>
46</TD>
47<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
48</EM>
49</TD>
50</TR>
51
52<TR>
53<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54&nbsp;<A HREF="/org/ahmadsoft/postal/InMemoryStrategy.html" title="class in org.ahmadsoft.postal"><B>PREV CLASS</B></A>&nbsp;
55&nbsp;<A HREF="/org/ahmadsoft/postal/PostalCodeEntry.html" title="class in org.ahmadsoft.postal"><B>NEXT CLASS</B></A></FONT></TD>
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57  <A HREF="/index.html?org/ahmadsoft/postal/PostalCodeConstants.html" target="_top"><B>FRAMES</B></A>  &nbsp;
58&nbsp;<A HREF="PostalCodeConstants.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
59&nbsp;<SCRIPT type="text/javascript">
60  <!--
61  if(window==top) {
62    document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>');
63  }
64  //-->
65</SCRIPT>
66<NOSCRIPT>
67  <A HREF="/allclasses-noframe.html"><B>All Classes</B></A>
68</NOSCRIPT>
69
70
71</FONT></TD>
72</TR>
73<TR>
74<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75  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>
76<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77DETAIL:&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>
78</TR>
79</TABLE>
80<A NAME="skip-navbar_top"></A>
81<!-- ========= END OF TOP NAVBAR ========= -->
82
83<HR>
84<!-- ======== START OF CLASS DATA ======== -->
85<H2>
86<FONT SIZE="-1">
87org.ahmadsoft.postal</FONT>
88<BR>
89Class PostalCodeConstants</H2>
90<PRE>
91java.lang.Object
92  <IMG SRC="/resources/inherit.gif" ALT="extended by "><B>org.ahmadsoft.postal.PostalCodeConstants</B>
93</PRE>
94<HR>
95<DL>
96<DT><PRE>public class <B>PostalCodeConstants</B><DT>extends java.lang.Object</DL>
97</PRE>
98
99<P>
100A collection of constants used by the Postal Code Service 
101 library. Groups of constants use the commonly used 
102 <code>GroupName_MemberName</code> syntax.
103<P>
104
105<P>
106<DL>
107<DT><B>Author:</B></DT>
108  <DD>Amin Ahmad</DD>
109</DL>
110<HR>
111
112<P>
113<!-- =========== FIELD SUMMARY =========== -->
114
115<A NAME="field_summary"><!-- --></A>
116<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
119<B>Field Summary</B></FONT></TH>
120</TR>
121<TR BGCOLOR="white" CLASS="TableRowColor">
122<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123<CODE>static&nbsp;short</CODE></FONT></TD>
124<TD><CODE><B><A HREF="/org/ahmadsoft/postal/PostalCodeConstants.html#CITY_ACCEPTABLE">CITY_ACCEPTABLE</A></B></CODE>
125
126<BR>
127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates a <code>PostalCodeEntry</code> that holds an
128 city and state combination defined as acceptable for 
129 a given postal code by the US Postal Service.</TD>
130</TR>
131<TR BGCOLOR="white" CLASS="TableRowColor">
132<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133<CODE>static&nbsp;short</CODE></FONT></TD>
134<TD><CODE><B><A HREF="/org/ahmadsoft/postal/PostalCodeConstants.html#CITY_ACTUAL">CITY_ACTUAL</A></B></CODE>
135
136<BR>
137&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates a <code>PostalCodeEntry</code> that holds the
138 actual city and state for a given postal code.</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142<CODE>static&nbsp;short</CODE></FONT></TD>
143<TD><CODE><B><A HREF="/org/ahmadsoft/postal/PostalCodeConstants.html#CITY_UNACCEPTABLE">CITY_UNACCEPTABLE</A></B></CODE>
144
145<BR>
146&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates a <code>PostalCodeEntry</code> that holds an
147 city and state combination defined as unacceptable for 
148 a given postal code by the US Postal Service.</TD>
149</TR>
150<TR BGCOLOR="white" CLASS="TableRowColor">
151<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152<CODE>static&nbsp;short</CODE></FONT></TD>
153<TD><CODE><B><A HREF="/org/ahmadsoft/postal/PostalCodeConstants.html#CITY_UNKNOWN">CITY_UNKNOWN</A></B></CODE>
154
155<BR>
156&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates a <code>PostalCodeEntry</code> that holds an
157 unknown city and state combination for the given postal 
158 code.</TD>
159</TR>
160</TABLE>
161&nbsp;
162<!-- ======== CONSTRUCTOR SUMMARY ======== -->
163
164<A NAME="constructor_summary"><!-- --></A>
165<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
166<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
167<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
168<B>Constructor Summary</B></FONT></TH>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD><CODE><B><A HREF="/org/ahmadsoft/postal/PostalCodeConstants.html#PostalCodeConstants()">PostalCodeConstants</A></B>()</CODE>
172
173<BR>
174&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
175</TR>
176</TABLE>
177&nbsp;
178<!-- ========== METHOD SUMMARY =========== -->
179
180<A NAME="method_summary"><!-- --></A>
181<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
183<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
184<B>Method Summary</B></FONT></TH>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
189<TD><CODE><B><A HREF="/org/ahmadsoft/postal/PostalCodeConstants.html#toString(int)">toString</A></B>(int&nbsp;constant)</CODE>
190
191<BR>
192&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of a given postal 
193 code constant.</TD>
194</TR>
195</TABLE>
196&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
197<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
198<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
199<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
200</TR>
201<TR BGCOLOR="white" CLASS="TableRowColor">
202<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
203</TR>
204</TABLE>
205&nbsp;
206<P>
207
208<!-- ============ FIELD DETAIL =========== -->
209
210<A NAME="field_detail"><!-- --></A>
211<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
212<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
213<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
214<B>Field Detail</B></FONT></TH>
215</TR>
216</TABLE>
217
218<A NAME="CITY_ACTUAL"><!-- --></A><H3>
219CITY_ACTUAL</H3>
220<PRE>
221public static final short <B>CITY_ACTUAL</B></PRE>
222<DL>
223<DD>Indicates a <code>PostalCodeEntry</code> that holds the
224 actual city and state for a given postal code.
225<P>
226<DL>
227<DT><B>See Also:</B><DD><A HREF="/constant-values.html#org.ahmadsoft.postal.PostalCodeConstants.CITY_ACTUAL">Constant Field Values</A></DL>
228</DL>
229<HR>
230
231<A NAME="CITY_ACCEPTABLE"><!-- --></A><H3>
232CITY_ACCEPTABLE</H3>
233<PRE>
234public static final short <B>CITY_ACCEPTABLE</B></PRE>
235<DL>
236<DD>Indicates a <code>PostalCodeEntry</code> that holds an
237 city and state combination defined as acceptable for 
238 a given postal code by the US Postal Service.
239<P>
240<DL>
241<DT><B>See Also:</B><DD><A HREF="/constant-values.html#org.ahmadsoft.postal.PostalCodeConstants.CITY_ACCEPTABLE">Constant Field Values</A></DL>
242</DL>
243<HR>
244
245<A NAME="CITY_UNACCEPTABLE"><!-- --></A><H3>
246CITY_UNACCEPTABLE</H3>
247<PRE>
248public static final short <B>CITY_UNACCEPTABLE</B></PRE>
249<DL>
250<DD>Indicates a <code>PostalCodeEntry</code> that holds an
251 city and state combination defined as unacceptable for 
252 a given postal code by the US Postal Service.
253<P>
254<DL>
255<DT><B>See Also:</B><DD><A HREF="/constant-values.html#org.ahmadsoft.postal.PostalCodeConstants.CITY_UNACCEPTABLE">Constant Field Values</A></DL>
256</DL>
257<HR>
258
259<A NAME="CITY_UNKNOWN"><!-- --></A><H3>
260CITY_UNKNOWN</H3>
261<PRE>
262public static final short <B>CITY_UNKNOWN</B></PRE>
263<DL>
264<DD>Indicates a <code>PostalCodeEntry</code> that holds an
265 unknown city and state combination for the given postal 
266 code.
267<P>
268<DL>
269<DT><B>See Also:</B><DD><A HREF="/constant-values.html#org.ahmadsoft.postal.PostalCodeConstants.CITY_UNKNOWN">Constant Field Values</A></DL>
270</DL>
271
272<!-- ========= CONSTRUCTOR DETAIL ======== -->
273
274<A NAME="constructor_detail"><!-- --></A>
275<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
276<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
277<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
278<B>Constructor Detail</B></FONT></TH>
279</TR>
280</TABLE>
281
282<A NAME="PostalCodeConstants()"><!-- --></A><H3>
283PostalCodeConstants</H3>
284<PRE>
285public <B>PostalCodeConstants</B>()</PRE>
286<DL>
287</DL>
288
289<!-- ============ METHOD DETAIL ========== -->
290
291<A NAME="method_detail"><!-- --></A>
292<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
293<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
294<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
295<B>Method Detail</B></FONT></TH>
296</TR>
297</TABLE>
298
299<A NAME="toString(int)"><!-- --></A><H3>
300toString</H3>
301<PRE>
302public static java.lang.String <B>toString</B>(int&nbsp;constant)</PRE>
303<DL>
304<DD>Returns a string representation of a given postal 
305 code constant. This method is suitable for debugging
306 purposes, but should not be used to convert codes 
307 for an end user.
308<P>
309<DD><DL>
310<DT><B>Parameters:</B><DD><CODE>constant</CODE> - the constant to represent as a string.
311<DT><B>Returns:</B><DD>a string representation of the specified constant.</DL>
312</DD>
313</DL>
314<!-- ========= END OF CLASS DATA ========= -->
315<HR>
316
317
318<!-- ======= START OF BOTTOM NAVBAR ====== -->
319<A NAME="navbar_bottom"><!-- --></A>
320<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
321<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
322<TR>
323<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
324<A NAME="navbar_bottom_firstrow"><!-- --></A>
325<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
326  <TR ALIGN="center" VALIGN="top">
327  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/org/ahmadsoft/postal/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
328  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
329  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/PostalCodeConstants.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
330  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
331  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
332  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
333  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
334  </TR>
335</TABLE>
336</TD>
337<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
338</EM>
339</TD>
340</TR>
341
342<TR>
343<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
344&nbsp;<A HREF="/org/ahmadsoft/postal/InMemoryStrategy.html" title="class in org.ahmadsoft.postal"><B>PREV CLASS</B></A>&nbsp;
345&nbsp;<A HREF="/org/ahmadsoft/postal/PostalCodeEntry.html" title="class in org.ahmadsoft.postal"><B>NEXT CLASS</B></A></FONT></TD>
346<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
347  <A HREF="/index.html?org/ahmadsoft/postal/PostalCodeConstants.html" target="_top"><B>FRAMES</B></A>  &nbsp;
348&nbsp;<A HREF="PostalCodeConstants.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
349&nbsp;<SCRIPT type="text/javascript">
350  <!--
351  if(window==top) {
352    document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>');
353  }
354  //-->
355</SCRIPT>
356<NOSCRIPT>
357  <A HREF="/allclasses-noframe.html"><B>All Classes</B></A>
358</NOSCRIPT>
359
360
361</FONT></TD>
362</TR>
363<TR>
364<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
365  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>
366<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
367DETAIL:&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>
368</TR>
369</TABLE>
370<A NAME="skip-navbar_bottom"></A>
371<!-- ======== END OF BOTTOM NAVBAR ======= -->
372
373<HR>
374<i>Copyright &#169; 2006 Ahmadsoft. All Rights Reserved.</i>
375</BODY>
376</HTML>
377