public final class ConfigReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
getConfigStream(String configuration)
Tries to read the source from different destinations.
|
static Properties |
loadProperties(String propertyFileName)
Loads the given properties from the file system or from the classpath.
|
public static Properties loadProperties(String propertyFileName) throws IOException
propertyFileName - the name of the property file to be loadedPropertiesIOException - in case of property file does not exist or cannot be loaded.public static InputStream getConfigStream(String configuration) throws IOException
configuration - The source file nameIOException - in case of configuration file does not exist.Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.