public final class MapHelper extends Object
Map
s.Modifier and Type | Method and Description |
---|---|
static Map<String,Set<String>> |
readMap(InputStream is)
Read a stream into a map of strings to sets of strings.
|
static Map<String,Set<String>> |
readMap(String fileName)
Read a properties file into a map of strings to sets of strings.
|
public static Map<String,Set<String>> readMap(String fileName) throws IOException
fileName
- The property file nameIOException
- if there is an IO problem when reading the file (like it doesn't exist, etc.)public static Map<String,Set<String>> readMap(InputStream is) throws IOException
is
- A stream to read properties from.IOException
- if there is an IO problem when reading the file (like it doesn't exist, etc.)Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.