|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecte4s.util.E4Object
e4s.util.E4String
e4s.application.CountryCode
public class CountryCode
ISO Country-Code datatype and definitions.
E4ApplObj_Intf.getCountryCode(),
E4ModuleImplementation.getCountryCode(),
E4ServletImplementation_Intf.getCountryCode(),
T_E4S_CLIENT_Sel.get_COUNTRY(),
Language,
http://sourceforge.net/projects/flags/
http://www.w3.org/WAI/ER/IG/ert/iso639.htm
http://de.wikipedia.org/wiki/ISO-3166-1-Kodierliste
http://earth-info.nga.mil/gns/html/namefiles.htm| Nested Class Summary | |
|---|---|
static class |
CountryCode.COUNTRY
|
| Field Summary | |
|---|---|
static E4DBColumnType |
_DATATYPE
|
static int |
LEN
|
| Fields inherited from class e4s.util.E4String |
|---|
CLASSNAME, m_maxsize, m_nullable, m_string |
| Fields inherited from class e4s.util.E4Object |
|---|
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET |
| Constructor Summary | |
|---|---|
CountryCode()
|
|
CountryCode(char[] initval)
|
|
CountryCode(E4String initval)
|
|
CountryCode(java.lang.String initval)
|
|
CountryCode(java.lang.StringBuffer initval)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
static CountryCode |
findISO3166A3(java.lang.String codeA3)
Get the associated 3character ISO3166 code for a specified country code. |
static CountryCode.COUNTRY[] |
getCountries()
Get an array of country definitions - including ISO code, name and flag if defined. |
java.lang.String |
getCountryCode()
Get the county code, same as E4String.getString(). |
static E4SelectValues |
getCountrySelection()
Get a country selection (all countries) |
static E4SelectValues |
getCountrySelection(boolean euOnly)
|
static E4SelectValues |
getCountrySelection(CountryCode[] filtered)
Get a country selection for all the countries listed in the specified array. |
IMG |
getFlag()
Get the flag associated with this country code. |
static IMG |
getFlag(CountryCode code)
Get the associated english name for a country code. |
static java.lang.String |
getISO3166A3(CountryCode code)
Get the associated 3character ISO3166 code for a specified country code. |
E4Label_Intf |
getName()
Get the name associated with this country code. |
static E4Label_Intf |
getName(CountryCode code)
Get the associated english name for a country code. |
static E4DBTypeUsage[] |
getUsage()
Returns null, only for compatibility reasons. |
static void |
init()
|
boolean |
isValid()
|
boolean |
memberEU()
Check, if the country is political member of European Union. |
static boolean |
memberEU(CountryCode code)
Get a country selection |
static CountryCode |
newInstance(java.lang.String string)
Make an instance of a country code or return null if the specified value is null. |
| Methods inherited from class e4s.util.E4String |
|---|
_equals, charAt, clone, compareTo, compareTo, compareTo, compareToIgnoreCase, compareToIgnoreCase, concat, concat, concat, concat, concat, cut, cut, endsWith, endsWith, equals, equals, equalsIgnoreCase, equalsIgnoreCase, fixed, fixedRight, getMaxSize, getNullable, getString, hashCode, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, left, left, length, matches, matchesIgnoreCase, regionMatches, regionMatches, regionMatches, regionMatches, remove, removeSpaces, removeSpaces, replace, replace, replace, replace, replace, replaceIgnoreCase, right, right, setMaxSize, setNullable, setString, startsWith, startsWith, startsWith, startsWith, substring, substring, toCharArray, toLowerCase, toLowerCase, toString, toUpperCase, toUpperCase, trim, validate |
| Methods inherited from class e4s.util.E4Object |
|---|
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int LEN
public static final E4DBColumnType _DATATYPE
| Constructor Detail |
|---|
public CountryCode()
public CountryCode(java.lang.String initval)
public CountryCode(E4String initval)
public CountryCode(java.lang.StringBuffer initval)
public CountryCode(char[] initval)
| Method Detail |
|---|
public static E4Label_Intf getName(CountryCode code)
code - the country-code which name is requiredpublic static java.lang.String getISO3166A3(CountryCode code)
code - the country-code which name is requiredpublic static CountryCode findISO3166A3(java.lang.String codeA3)
code - the country-code which name is requiredpublic static IMG getFlag(CountryCode code)
code - the country-code which name is requiredpublic static E4SelectValues getCountrySelection()
E4SelectValues.OPTION elements.getCountrySelection(boolean)public static E4SelectValues getCountrySelection(CountryCode[] filtered)
filtered - an array of countries
E4SelectValues.OPTION elements.getCountrySelection(boolean),
getCountrySelection()public static E4SelectValues getCountrySelection(boolean euOnly)
public static boolean memberEU(CountryCode code)
public static void init()
public static E4DBTypeUsage[] getUsage()
public java.lang.String getCountryCode()
E4String.getString().
public E4Label_Intf getName()
public boolean memberEU()
public IMG getFlag()
E4Imagespublic static CountryCode.COUNTRY[] getCountries()
public static CountryCode newInstance(java.lang.String string)
string - the value
public boolean isValid()
public static java.lang.String _getSVNVersionString()
E4Util.getRevisionCodeFromSVN(Class)
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||