public class BundleValidation extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<Locale,SortedSet<String>> |
keysMissingValues
to keep all none translated i18n keys by locale.
|
protected com.google.common.collect.SortedSetMultimap<Locale,String> |
keysPerLocale
Store all keys declared for each
Locale. |
protected com.google.common.collect.Ordering<Locale> |
localeOrdering
Sort locales according to the order used in the POM file.
|
protected com.google.common.collect.ImmutableSortedSet<Locale> |
locales |
| Constructor and Description |
|---|
BundleValidation(Locale[] locales) |
| Modifier and Type | Method and Description |
|---|---|
Map<Locale,SortedSet<String>> |
getKeysMissingValues() |
com.google.common.collect.SortedSetMultimap<Locale,String> |
getKeysPerLocale() |
com.google.common.collect.SortedSetMultimap<Locale,String> |
getMissingKeysPerLocale() |
boolean |
isAnyKeyMissingInBundle() |
boolean |
isAnyKeyMissingValue() |
boolean |
isFail() |
protected com.google.common.collect.SortedSetMultimap<Locale,String> |
newEmptyMapForBundles()
Factory method for a method suitable to deterministically store bundles.
|
protected com.google.common.collect.ImmutableSortedSet<Locale> locales
protected Map<Locale,SortedSet<String>> keysMissingValues
protected com.google.common.collect.SortedSetMultimap<Locale,String> keysPerLocale
Locale.protected com.google.common.collect.Ordering<Locale> localeOrdering
public BundleValidation(Locale[] locales)
public com.google.common.collect.SortedSetMultimap<Locale,String> getKeysPerLocale()
public com.google.common.collect.SortedSetMultimap<Locale,String> getMissingKeysPerLocale()
public boolean isAnyKeyMissingInBundle()
public boolean isAnyKeyMissingValue()
public boolean isFail()
Copyright © 2007–2020 CodeLutin. All rights reserved.