Namespace - LJCAddressParserLib
Syntax
| C# |
|
public class StandardAddress
|
Provides methods to parse Address information into standardized component
properties. (R)
Remarks
Conforms to USPS AIS (Address Information System) products such as Zip+4
and City State files. Based on the USPS Pub28 PDF.
The line parsing methods are: ParseMixedAddress(), ParseDeliveryAddressLine()
and ParseLastLine().
Public Methods
|
#ctor
|
Initializes an object instance.
|
|
CreateDeliveryLine
|
Creates the Standardized Delivery Address Line from the Delivery Address
Properties.
|
|
CreateLastLine
|
Creates the standardized Last Line form the Last Line Properties.
|
|
DeliveryAddressToken
|
Retrieves the token at the specified index.
|
|
GetAddressPreviousIndex
|
Sets the currentIndex value to the previous index value if
it is within the token index range.
|
|
GetSeparatedValue
|
Gets the value with a preceding blank if the value exists.
|
|
IsCurrentTokenZip4
|
Checks if the current token is the Zip4 value.
|
|
IsCurrentTokenZipcode
|
Checks if the current token is the Zipcode value.
|
|
IsDigits
|
Checks a token value for digits.
|
|
IsInt
|
Checks a token value for an integer.
|
|
LastLinePreviousIndex
|
Sets the currentIndex value to the previous index value if
it is within the token index range.
|
|
LastLineToken
|
Retrieves the token at the specified index.
|
|
LookupDirectional
|
Search Directional Code and Name.
|
|
LookupRoad
|
Search the SuffixLookup LookupName and Code.
|
|
LookupState
|
Search the StateLookup LookupName, LSoundex and PSoundex.
|
|
LookupSuffix
|
Search the SuffixLookup LookupName and Code.
|
|
LookupUnit
|
Search Units Name and Code.
|
|
ParseAddressNumber
|
Parses a token into the AddressNumber Property.
|
|
ParseCity
|
Parses the tokens from index zero to the currentIndex.
|
|
ParseDeliveryAddressLine
|
Parses the Delivery Address into the standardized DeliveryAddressLine
Property. It also parses the Delivery Address into the Component
Properties. (R)
|
|
ParseLastLine
|
Parses the Last Line into the standardized LastLine Property. It
also parses the Last Line into the Component Properties.
(R)
|
|
ParseMixedAddress
|
Parses the combined Delivery Address and Last Line values.
|
|
ParsePostDirectional
|
Parses a token into the PostDirectional Property.
|
|
ParsePreDirectional
|
Parses a token into the PreDirectional Property.
|
|
ParseState
|
Parses a token into the StateOrProvince Property.
|
|
ParseStreetName
|
Parses the tokens from the currentIndex to the appropriate end Index.
|
|
ParseSuffix
|
Parses any preceding suffix token into the Suffix Property.
|
|
ParseUnit
|
Parses a token into the Unit Property.
|
|
ParseZipCode
|
Parses a token into the Zipcode Property.
|
29 Methods
Properties
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.