|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.statistics.util.LocationUtils
public class LocationUtils
Mapping between Country codes, English Country names, Continent Codes, and English Continent names
| Constructor Summary | |
|---|---|
LocationUtils()
|
|
| Method Summary | |
|---|---|
static String |
getContinentCode(String countryCode)
Map DSpace continent codes onto ISO country codes. |
static String |
getContinentName(String continentCode)
Deprecated. |
static String |
getContinentName(String continentCode,
Locale locale)
Map DSpace continent codes onto localized continent names. |
static String |
getCountryName(String countryCode)
Deprecated. |
static String |
getCountryName(String countryCode,
Locale locale)
Map ISO country codes onto localized country names. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocationUtils()
| Method Detail |
|---|
public static String getContinentCode(String countryCode)
countryCode - ISO 3166-1 alpha-2 country code.
@Deprecated public static String getContinentName(String continentCode)
continentCode - DSpace 2-character code for a continent.
public static String getContinentName(String continentCode,
Locale locale)
continentCode - DSpace 2-character code for a continent.locale - The desired localization.
@Deprecated public static String getCountryName(String countryCode)
countryCode - ISO 3166-1 alpha-2 country code.
public static String getCountryName(String countryCode,
Locale locale)
countryCode - ISO 3166-1 alpha-2 country code.locale - Desired localization.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||