public class ConfigurationJSONReader extends Object
| Constructor and Description |
|---|
ConfigurationJSONReader() |
| Modifier and Type | Method and Description |
|---|---|
static Configurations |
read(Reader reader,
String location)
Read a map of configurations from the reader
The reader is not closed.
|
public static Configurations read(Reader reader, String location) throws IOException
reader - The reader for the configurationlocation - Optional locationIOException - If an IO errors occurs or the JSON is invalid.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.