asia.redact.bracket.properties
Class ExternalizedLocaleStringBuilder

java.lang.Object
  extended by asia.redact.bracket.properties.ExternalizedLocaleStringBuilder

public class ExternalizedLocaleStringBuilder
extends Object

 Used to construct localized properties file names from a base name and a Locale. The path
 is assumed to be on the external file system.
 
 

Author:
Dave
See Also:
LocaleStringBuilder

Field Summary
(package private)  String baseName
           
(package private)  Locale locale
           
 
Constructor Summary
ExternalizedLocaleStringBuilder(String baseName, Locale locale)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getSearchStrings()
           
 List<String> getValidPaths()
           
 int hashCode()
           
private  boolean hasLanguage()
           
private  boolean hasLanguageCountry()
           
private  boolean hasLanguageCountryVariant()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locale

Locale locale

baseName

String baseName
Constructor Detail

ExternalizedLocaleStringBuilder

public ExternalizedLocaleStringBuilder(String baseName,
                                       Locale locale)
Method Detail

getSearchStrings

public List<String> getSearchStrings()

getValidPaths

public List<String> getValidPaths()

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.