public class PlaceHolderEmptyResourceBundleFamily extends Object implements ResourceBundleFamily
This implementation is just for place holder in order to denote that it already looked up the resource bundle family from the underlying source, but it wasn't able to find the resource bundle family without any exceptions. In that way, it doesn't have to try to look up every time for the non-existing basename resource bundle family.
Constructor and Description |
---|
PlaceHolderEmptyResourceBundleFamily() |
Modifier and Type | Method and Description |
---|---|
String |
getBasename()
Returns the resource bundle base name.
|
ResourceBundle |
getDefaultBundle()
Returns the default resource bundle for live mode.
|
ResourceBundle |
getDefaultBundleForPreview()
Returns the default resource bundle for preview mode.
|
ResourceBundle |
getLocalizedBundle(Locale locale)
Returns a localized resource bundle for the specific locale for live mode.
|
ResourceBundle |
getLocalizedBundleForPreview(Locale locale)
Returns a localized resource bundle for the specific locale for preview mode.
|
public PlaceHolderEmptyResourceBundleFamily()
public String getBasename()
ResourceBundleFamily
getBasename
in interface ResourceBundleFamily
public ResourceBundle getDefaultBundle()
ResourceBundleFamily
getDefaultBundle
in interface ResourceBundleFamily
public ResourceBundle getDefaultBundleForPreview()
ResourceBundleFamily
getDefaultBundleForPreview
in interface ResourceBundleFamily
public ResourceBundle getLocalizedBundle(Locale locale)
ResourceBundleFamily
getLocalizedBundle
in interface ResourceBundleFamily
public ResourceBundle getLocalizedBundleForPreview(Locale locale)
ResourceBundleFamily
getLocalizedBundleForPreview
in interface ResourceBundleFamily
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.