| Modifier and Type | Method and Description |
|---|---|
static Alphabet |
Alphabet.fromString(String alphaCode)
Return alphabet from a string, which needs to be an alphanumeric code.
|
Alphabet[] |
Territory.getAlphabets()
Return the alphabets most commonly used in the territory, in order of importance.
|
static Alphabet |
Alphabet.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alphabet[] |
Alphabet.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Mapcode.getCode(Alphabet alphabet)
Get the Mapcode string (without territory information) with standard precision.
|
String |
Mapcode.getCode(int precision,
Alphabet alphabet)
Get the mapcode code (without territory information) with a specified precision.
|
String |
Mapcode.getCodeWithTerritory(Alphabet alphabet) |
String |
Mapcode.getCodeWithTerritory(int precision,
Alphabet alphabet)
Return the international mapcode as a shorter version using the ISO territory codes where possible.
|
String |
Mapcode.getCodeWithTerritoryFullname(Alphabet alphabet) |
String |
Mapcode.getCodeWithTerritoryFullname(int precision,
Alphabet alphabet)
Return the full international mapcode, including the full name of the territory and the mapcode code itself.
|
String |
Territory.toAlphaCode(Territory.AlphaCodeFormat format,
Alphabet alphabet)
Return the territory name, given a specific territory name format.
|
String |
Territory.toString(Alphabet alphabet)
Return the international value of the territory name, with dashes rather than underscores.
|
Copyright © 2017 Stichting Mapcode Foundation. All rights reserved.