asia.redact.bracket.properties
Class LocaleStringBuilder
java.lang.Object
asia.redact.bracket.properties.LocaleStringBuilder
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.
- Author:
- Dave
locale
Locale locale
baseName
String baseName
LocaleStringBuilder
public LocaleStringBuilder(String baseName,
Locale locale)
getSearchStrings
public List<String> getSearchStrings()
hasLanguageCountryVariant
private boolean hasLanguageCountryVariant()
hasLanguageCountry
private boolean hasLanguageCountry()
hasLanguage
private boolean hasLanguage()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2011-2013 David R. Smith. All Rights Reserved.