public class FileHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Properties |
loadProperties(String filename,
boolean asResource)
Loads properties.
|
public static Properties loadProperties(String filename, boolean asResource) throws FileNotFoundException, IOException
filename - the filename, null if return empty propertiesasResource - true if load from the classpath, false if from filesystemFileNotFoundException - if no such property fileIOException - if reading the property file failedCopyright © 2016 Krake Softwaretechnik. All rights reserved.