public class SearchUtil extends Object
Constructor and Description |
---|
SearchUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
property(Properties properties,
String key,
String defaultValue)
First we look into env vars, then properties,
if none is found, we return default value.
|
public static String property(Properties properties, String key, String defaultValue)
properties
- the propertieskey
- the keydefaultValue
- default valueCopyright © 2020 Red Hat. All rights reserved.