public class PropertiesUtils extends Object
| Constructor and Description |
|---|
PropertiesUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
loadProperties(Path path,
Charset charset)
Loads a Poperties file from a given Path using a given Charset.
|
static Properties |
loadProperties(Reader reader)
Loads Properties from a given Reader.
|
public static Properties loadProperties(Path path, Charset charset)
path - The File to read the Properties from.charset - The Charset used for reading the Properties file.public static Properties loadProperties(Reader reader)
reader - The reader used for parsing the Properties.Copyright © 2017. All rights reserved.