Logger.ResourceBundle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieve the localization resource bundle for this logger. -or- Sets a resource bundle on this logger.
public virtual Java.Util.ResourceBundle? ResourceBundle { [Android.Runtime.Register("getResourceBundle", "()Ljava/util/ResourceBundle;", "GetGetResourceBundleHandler")] get; [Android.Runtime.Register("setResourceBundle", "(Ljava/util/ResourceBundle;)V", "GetSetResourceBundle_Ljava_util_ResourceBundle_Handler", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getResourceBundle", "()Ljava/util/ResourceBundle;", "GetGetResourceBundleHandler")>]
[<set: Android.Runtime.Register("setResourceBundle", "(Ljava/util/ResourceBundle;)V", "GetSetResourceBundle_Ljava_util_ResourceBundle_Handler", ApiSince=26)>]
member this.ResourceBundle : Java.Util.ResourceBundle with get, set
Property Value
localization bundle (may be null
)
- Attributes
Remarks
Property getter documentation:
Retrieve the localization resource bundle for this logger. This method will return a ResourceBundle
that was either set by the #setResourceBundle(java.util.ResourceBundle) setResourceBundle
method or mapped from the the resource bundle name set via the Logger#getLogger(java.lang.String, java.lang.String) getLogger
factory method for the current default locale. <br>Note that if the result is null
, then the Logger will use a resource bundle or resource bundle name inherited from its parent.
Java documentation for java.util.logging.Logger.getResourceBundle()
.
Property setter documentation:
Sets a resource bundle on this logger. All messages will be logged using the given resource bundle for its specific ResourceBundle#getLocale locale.
Added in 1.8.
Java documentation for java.util.logging.Logger.setResourceBundle(java.util.ResourceBundle)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.