public class PropUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
getBooleanProperty(java.util.Properties props,
java.lang.String name,
boolean def)
Get a boolean valued property.
|
static boolean |
getBooleanSessionProperty(Session session,
java.lang.String name,
boolean def)
Deprecated.
|
static boolean |
getBooleanSystemProperty(java.lang.String name,
boolean def)
Get a boolean valued System property.
|
static int |
getIntProperty(java.util.Properties props,
java.lang.String name,
int def)
Get an integer valued property.
|
static int |
getIntSessionProperty(Session session,
java.lang.String name,
int def)
Deprecated.
|
public static int getIntProperty(java.util.Properties props, java.lang.String name, int def)
props
- the propertiesname
- the property namedef
- default value if property not foundpublic static boolean getBooleanProperty(java.util.Properties props, java.lang.String name, boolean def)
props
- the propertiesname
- the property namedef
- default value if property not found@Deprecated public static int getIntSessionProperty(Session session, java.lang.String name, int def)
session
- the Sessionname
- the property namedef
- default value if property not found@Deprecated public static boolean getBooleanSessionProperty(Session session, java.lang.String name, boolean def)
session
- the Sessionname
- the property namedef
- default value if property not foundpublic static boolean getBooleanSystemProperty(java.lang.String name, boolean def)
name
- the property namedef
- default value if property not foundCopyright © 2010 - 2020 Adobe. All Rights Reserved