Loader for properties
files. See the description of java.util.Properties.load(java.io.Reader)
about the format of properties
files.
More...
|
static IDictionary< string, string > | Load (TextReader reader) |
| Extract key-value pairs from a reader whose content complies with the specification of the properties file. See the description of java.util.Properties.load(java.io.Reader) about the format of properties files. More...
|
|
Loader for properties
files. See the description of java.util.Properties.load(java.io.Reader)
about the format of properties
files.
using (TextReader reader = File.OpenText("test.properties"))
{
IDictionary<string, string> properties =
PropertiesLoader.Load(reader);
}
◆ Load()
static IDictionary<string, string> Load |
( |
TextReader |
reader | ) |
|
|
inlinestatic |
Extract key-value pairs from a reader whose content complies with the specification of the properties
file. See the description of java.util.Properties.load(java.io.Reader)
about the format of properties
files.
- Returns
- Key-value pairs extracted from the reader.
- Parameters
-
reader | A reader whose content complies with the specification of the properties file. |
- Exceptions
-
ArgumentException | A malformed '\uxxxx' sequence was found. |
The documentation for this class was generated from the following file:
- Authlete/Util/PropertiesLoader.cs