public class PropertyLoader extends Object
| Constructor and Description |
|---|
PropertyLoader() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
getPropertiesWithPattern(Properties originalProperties,
String regex) |
static LowerCaseProperties |
loadProperties(File file) |
static Properties |
loadProperties(Properties properties,
String fileName) |
static Properties |
loadProperties(String fileName)
load properties from file
|
static Optional<InputStream> |
loadResource(String resourceName) |
public static Optional<InputStream> loadResource(String resourceName)
public static Properties loadProperties(String fileName)
fileName - The filename of the file in which the properties are storedpublic static LowerCaseProperties loadProperties(File file)
public static Properties loadProperties(Properties properties, String fileName)
public static Properties getPropertiesWithPattern(Properties originalProperties, String regex)
Copyright © 2021. All rights reserved.