Package org.languagetool
Class ResourceBundleWithFallback
- java.lang.Object
-
- java.util.ResourceBundle
-
- org.languagetool.ResourceBundleWithFallback
-
public class ResourceBundleWithFallback extends java.util.ResourceBundle
A resource bundle that uses its fallback resource bundle if the value from the original bundle is null or empty.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.ResourceBundle
bundle
private java.util.ResourceBundle
fallbackBundle
-
Constructor Summary
Constructors Constructor Description ResourceBundleWithFallback(java.util.ResourceBundle bundle, java.util.ResourceBundle fallbackBundle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration<java.lang.String>
getKeys()
java.lang.Object
handleGetObject(java.lang.String key)
-