public class PropertyUtils extends Object
Constructor and Description |
---|
PropertyUtils()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static Properties |
loadProperties(File file) |
static Properties |
loadProperties(InputStream is) |
static Properties |
loadProperties(URL url) |
public static Properties loadProperties(@Nonnull URL url)
url
- The URL which should be used to load the properties.public static Properties loadProperties(@Nonnull File file)
file
- The file from which the properties will be loaded.public static Properties loadProperties(@Nullable InputStream is)
is
- InputStream
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.