public final class OutputPropertyUtils
extends java.lang.Object
Properties
Constructor and Description |
---|
OutputPropertyUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getBooleanProperty(java.lang.String key,
java.util.Properties props)
Searches for the boolean property with the specified key in the property list.
|
static int |
getIntProperty(java.lang.String key,
java.util.Properties props)
Searches for the int property with the specified key in the property list.
|
public static boolean getBooleanProperty(java.lang.String key, java.util.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(java.lang.String key, java.util.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 ? 2005 Apache XML Project. All Rights Reserved.