public class MapValueParser extends Object
Constructor and Description |
---|
MapValueParser() |
Modifier and Type | Method and Description |
---|---|
String |
getValueForName(String name,
Set<String> entries)
The incoming set of strings contains the [name]=value pairs.
|
Map<String,String> |
parse(Set<String> entries)
Pass in a set of name=value pairs to this function and get back a hashmap of values, keyed by name.
|
org.forgerock.util.Pair<String,String> |
parse(String entry)
Pass in a single string of the form "[name]=value" to this function and get back a Pair object, containing
the name and value (split out into members of the Pair).
|
public Map<String,String> parse(Set<String> entries)
entries
- The set of stringspublic org.forgerock.util.Pair<String,String> parse(String entry)
entry
- a single [name]=value pairpublic String getValueForName(String name, Set<String> entries)
name
- The name to search forentries
- The entries to search inCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.