public class PropertyUtil extends Object
Constructor and Description |
---|
PropertyUtil() |
Modifier and Type | Method and Description |
---|---|
static InputStream |
getFileFromClasspath(String path) |
static String[] |
getPropertyNames(String[] propertyNames,
String prefix)
Utility method to search the full list of property names for
matches.
|
static String |
getString(String packageName,
String key) |
public static InputStream getFileFromClasspath(String path) throws IOException, FileNotFoundException
IOException
FileNotFoundException
public static String[] getPropertyNames(String[] propertyNames, String prefix)
propertyNames
is null
then null
is returned.IllegalArgumentException
- if prefix
is
null
and propertyNames
is
non-null
.Copyright © 2006–2015 GeoSolutions. All rights reserved.