public class BundleSerializationUtils extends Object
| Constructor and Description |
|---|
BundleSerializationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
deserializeContent(int[] indices,
String text) |
static Map<String,Object> |
extractContent(ResourceBundle bundle)
Extracts the content of the bundle by looking up the lookup field.
|
static org.graalvm.collections.Pair<String,int[]> |
serializeContent(Map<String,Object> content) |
public static Map<String,Object> extractContent(ResourceBundle bundle)
BreakIterator. In the
future, it can be extended with a fallback to user defined bundles by using the handleKeySet
and handleGetObject methods.public static org.graalvm.collections.Pair<String,int[]> serializeContent(Map<String,Object> content)
content - content of the bundle to be serialized