com.pelzer.util.l10n.localizers
Class TerritoryLocalizer

java.lang.Object
  extended by com.pelzer.util.l10n.localizers.Localizer
      extended by com.pelzer.util.l10n.localizers.TerritoryLocalizer
All Implemented Interfaces:
Serializable, Comparable<Localizer>

public class TerritoryLocalizer
extends Localizer

Used to localize based on two character ISO 3166 territory codes (United States would be 'US'), or 'WW' (which is not an official code)

See Also:
Serialized Form

Field Summary
static TerritoryLocalizer ANY
          Matches any TerritoryLocalizer (not in .equals(), but when the Localizable class is searching)
static TerritoryLocalizer WW
          Worldwide (WW)
 
Fields inherited from class com.pelzer.util.l10n.localizers.Localizer
id, WILDCARD_IDENTIFIER
 
Constructor Summary
TerritoryLocalizer(String territory, String description)
          Always capitalizes the territory, should be something like 'US' or 'WW'
TerritoryLocalizer(String territory, String description, String nativeDescription)
          Always capitalizes the territory, should be something like 'US' or 'WW'
 
Method Summary
 
Methods inherited from class com.pelzer.util.l10n.localizers.Localizer
compareTo, equals, getDescription, getIdentifier, getNativeDescription, hashCode, isWildCard
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WW

public static final TerritoryLocalizer WW
Worldwide (WW)


ANY

public static final TerritoryLocalizer ANY
Matches any TerritoryLocalizer (not in .equals(), but when the Localizable class is searching)

Constructor Detail

TerritoryLocalizer

public TerritoryLocalizer(String territory,
                          String description)
Always capitalizes the territory, should be something like 'US' or 'WW'


TerritoryLocalizer

public TerritoryLocalizer(String territory,
                          String description,
                          String nativeDescription)
Always capitalizes the territory, should be something like 'US' or 'WW'



Copyright © 2012. All Rights Reserved.