Back to project page Android-NFC-WiFi-Controller.
The source code is released under:
MIT License
If you think the Android project Android-NFC-WiFi-Controller listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package sanchezsobrino.multimedia.anwc.business; // w ww. ja v a 2 s . c om import java.util.Locale; import sanchezsobrino.multimedia.anwc.persistence.LocalizedStringManager; public class LocalizedString { private String localizedString; private Locale locale; public LocalizedString(String key) { this.locale = Locale.getDefault(); this.localizedString = LocalizedStringManager.get(key, this.locale); } public LocalizedString(String key, String language, String country) { this.locale = new Locale(language, country); this.localizedString = LocalizedStringManager.get(key, this.locale); } public Locale getLocale() { return this.locale; } public String toString() { return localizedString; } }