|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ahmadsoft.postal.PostalCodeConstants
public class PostalCodeConstants
A collection of constants used by the Postal Code Service
library. Groups of constants use the commonly used
GroupName_MemberName
syntax.
Field Summary | |
---|---|
static short |
CITY_ACCEPTABLE
Indicates a PostalCodeEntry that holds an
city and state combination defined as acceptable for
a given postal code by the US Postal Service. |
static short |
CITY_ACTUAL
Indicates a PostalCodeEntry that holds the
actual city and state for a given postal code. |
static short |
CITY_UNACCEPTABLE
Indicates a PostalCodeEntry that holds an
city and state combination defined as unacceptable for
a given postal code by the US Postal Service. |
static short |
CITY_UNKNOWN
Indicates a PostalCodeEntry that holds an
unknown city and state combination for the given postal
code. |
Constructor Summary | |
---|---|
PostalCodeConstants()
|
Method Summary | |
---|---|
static java.lang.String |
toString(int constant)
Returns a string representation of a given postal code constant. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short CITY_ACTUAL
PostalCodeEntry
that holds the
actual city and state for a given postal code.
public static final short CITY_ACCEPTABLE
PostalCodeEntry
that holds an
city and state combination defined as acceptable for
a given postal code by the US Postal Service.
public static final short CITY_UNACCEPTABLE
PostalCodeEntry
that holds an
city and state combination defined as unacceptable for
a given postal code by the US Postal Service.
public static final short CITY_UNKNOWN
PostalCodeEntry
that holds an
unknown city and state combination for the given postal
code.
Constructor Detail |
---|
public PostalCodeConstants()
Method Detail |
---|
public static java.lang.String toString(int constant)
constant
- the constant to represent as a string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |