public class LocaleStringBuilder extends Object
Used to construct localized properties file names from a base name and a Locale. This is slightly deceptive, the "baseName" is actually all the part of the package path of the file up to but not including the extension. So, baseName could be the package name a.b.c.message where the bundle is localized in a.b.c.message.properties,a.b.c.message_en.properties, etc.
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
baseName |
(package private) Locale |
locale |
| Constructor and Description |
|---|
LocaleStringBuilder(String baseName,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getSearchStrings() |
int |
hashCode() |
private boolean |
hasLanguage() |
private boolean |
hasLanguageCountry() |
private boolean |
hasLanguageCountryVariant() |
Copyright © 2011-2014 David R. Smith. All Rights Reserved.