public class LocationUtils extends Object
| Constructor and Description |
|---|
LocationUtils() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.Copyright © 2022 LYRASIS. All rights reserved.