APIdia Launch Partner
Top Description Methods
jdk.internal.access

public Interface JavaUtilResourceBundleAccess

Imports
java.util.Locale, .ResourceBundle

Provides access to non-public methods in java.util.ResourceBundle.

Method Summary

Modifier and TypeMethod and Description
public ResourceBundle
getBundle(String baseName, Locale locale, Module module)

Returns a ResourceBundle of the given baseName and locale loaded on behalf of the given module with no caller module access check.

public ResourceBundle
getParent(ResourceBundle bundle)

Returns the parent of the given bundle or null if the bundle has no parent.

public ResourceBundle
newResourceBundle(Class<? extends ResourceBundle> bundleClass)

Instantiates a ResourceBundle of the given bundle class.

public void
setLocale(ResourceBundle bundle, Locale locale)

Sets the bundle's locale to the given locale.

public void
setName(ResourceBundle bundle, String name)

Sets the bundle's base name to the given name.

public void
setParent(ResourceBundle bundle, ResourceBundle parent)

Sets the bundle's parent to the given parent.

Method Detail

getBundleback to summary
public ResourceBundle getBundle(String baseName, Locale locale, Module module)

Returns a ResourceBundle of the given baseName and locale loaded on behalf of the given module with no caller module access check.

getParentback to summary
public ResourceBundle getParent(ResourceBundle bundle)

Returns the parent of the given bundle or null if the bundle has no parent.

newResourceBundleback to summary
public ResourceBundle newResourceBundle(Class<? extends ResourceBundle> bundleClass)

Instantiates a ResourceBundle of the given bundle class.

setLocaleback to summary
public void setLocale(ResourceBundle bundle, Locale locale)

Sets the bundle's locale to the given locale.

setNameback to summary
public void setName(ResourceBundle bundle, String name)

Sets the bundle's base name to the given name.

setParentback to summary
public void setParent(ResourceBundle bundle, ResourceBundle parent)

Sets the bundle's parent to the given parent.