public final class GroovyMessageBundle
extends java.util.ListResourceBundle
| Constructor and Description |
|---|
GroovyMessageBundle(java.util.Map<java.lang.String,java.lang.String> resourceMap)
Constructs an instance of this class with specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String[][] |
getContents()
Returns an array in which each item is a pair of objects in a
String array. |
public GroovyMessageBundle(java.util.Map<java.lang.String,java.lang.String> resourceMap)
resourceMap - a map of locale-specific resource key/value pairsprotected java.lang.String[][] getContents()
String array.
The first element of each pair is the key, which must be a
String, and the second element is the value associated with
that key.
getContents in class java.util.ListResourceBundleString array.Copyright © 2017, 2025, Oracle and/or its affiliates. All rights reserved.