public class Translator extends Object
| Constructor | Description |
|---|---|
Translator() |
| Modifier and Type | Method | Description |
|---|---|---|
Collection<String> |
getAllCountriesInEnglish() |
|
Collection<String> |
getAllCountriesInGerman() |
|
String |
getCountryInEnglish(Country country) |
|
String |
getCountryInGerman(Country country) |
|
String |
translateEnglishToGerman(String english) |
|
String |
translateGermanToEnglish(String german) |
public Collection<String> getAllCountriesInGerman()
public Collection<String> getAllCountriesInEnglish()
Copyright © 2018. All rights reserved.