ResourceBundleControlProvider (Java SE 9 & JDK 9 ) (original) (raw)
public interface ResourceBundleControlProvider
Since:
1.8
See Also:
ResourceBundle.getBundle, ServiceLoader.load(Class)
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type Method Description ResourceBundle.Control getControl(String baseName) Returns a ResourceBundle.Control instance that is used to handle resource bundle loading for the given baseName. Method Detail
* #### getControl [ResourceBundle.Control](../../../java/util/ResourceBundle.Control.html "class in java.util") getControl([String](../../../java/lang/String.html "class in java.lang") baseName) Returns a `ResourceBundle.Control` instance that is used to handle resource bundle loading for the given ` baseName`. This method must return `null` if the given`baseName` isn't handled by this provider. Parameters: `baseName` \- the base name of the resource bundle Returns: a `ResourceBundle.Control` instance, or `null` if the given `baseName` is not applicable to this provider. Throws: `[NullPointerException](../../../java/lang/NullPointerException.html "class in java.lang")` \- if `baseName` is `null`
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.