public final class OutputPropertyUtils extends Object
Properties
Constructor and Description |
---|
OutputPropertyUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getBooleanProperty(String key,
Properties props)
Searches for the boolean property with the specified key in the property list.
|
static int |
getIntProperty(String key,
Properties props)
Searches for the int property with the specified key in the property list.
|
public static boolean getBooleanProperty(String key, Properties props)
false
if the property is not found, or if the value is other
than "yes".key
- the property key.props
- the list of properties that will be searched.public static int getIntProperty(String key, Properties props)
false
if the property is not found, or if the value is other
than "yes".key
- the property key.props
- the list of properties that will be searched.Copyright © 2017 JBoss by Red Hat. All rights reserved.