Example usage for java.util ResourceBundle toString

List of usage examples for java.util ResourceBundle toString

Introduction

In this page you can find the example usage for java.util ResourceBundle toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

From source file:ResourceBundleSupport.java

/**
 * Creates a new instance./*from ww  w . j  av  a 2 s .c  o  m*/
 *
 * @param locale         the locale for which the resource bundle is
 *                       created.
 * @param resourceBundle the resourcebundle
 */
public ResourceBundleSupport(final Locale locale, final ResourceBundle resourceBundle) {
    this(locale, resourceBundle, resourceBundle.toString());
}

From source file:ResourceBundleSupport.java

/**
 * Creates a new instance.// www  .  j a  v  a  2s.c o m
 *
 * @param resourceBundle the resourcebundle
 */
public ResourceBundleSupport(final ResourceBundle resourceBundle) {
    this(Locale.getDefault(), resourceBundle, resourceBundle.toString());
}

From source file:org.pentaho.reporting.libraries.base.util.ResourceBundleSupport.java

/**
 * Creates a new instance./*from   ww w  . j  a  v  a 2  s  .co m*/
 *
 * @param locale         the locale for which the resource bundle is created.
 * @param resourceBundle the resourcebundle
 * @param classLoader    the class-loader from where to load resources.
 */
public ResourceBundleSupport(final Locale locale, final ResourceBundle resourceBundle,
        final ClassLoader classLoader) {
    this(locale, resourceBundle, resourceBundle.toString(), classLoader);
}