|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.db.USState
public class USState
Constructor Summary | |
---|---|
USState()
|
Method Summary | |
---|---|
static java.lang.String |
getStateAbbreviation(java.lang.String code,
java.lang.String dft)
Gets the state abbreviation for the specified state code |
static java.lang.String |
getStateCode(java.lang.String name,
java.lang.String dft)
Gets the state code for the specified state name |
static java.lang.String |
getStateName(java.lang.String code)
Gets the state name for the specified state code |
static boolean |
isStateCode(java.lang.String code)
Returns true if the specified state code is defined |
static void |
main(java.lang.String[] argv)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public USState()
Method Detail |
---|
public static boolean isStateCode(java.lang.String code)
code
- The state code
public static java.lang.String getStateName(java.lang.String code)
code
- The state code
public static java.lang.String getStateCode(java.lang.String name, java.lang.String dft)
name
- The state namedft
- The default name to return if the specified state name is not found
public static java.lang.String getStateAbbreviation(java.lang.String code, java.lang.String dft)
code
- The state codedft
- The default abbreviation to return if the specified code was not found
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |