public class ResourcebundleCheck extends Object
| Constructor and Description |
|---|
ResourcebundleCheck() |
| Modifier and Type | Method and Description |
|---|---|
static void |
testAllTheKeys(String bundleName,
Locale... locales)
The ResoucebundleCheck checks if the bundle exists for all the locale's and if keys exists for every bundle.
|
public static void testAllTheKeys(String bundleName, Locale... locales) throws Exception
Exception when one of the exceptions isn't found. An MissingResourceException is thrown when
a bundle can't be found (this happens only when their is no default resourcebundle).bundleName - locales - ExceptionCopyright © 2016. All Rights Reserved.