| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | getBoolean(Object value, boolean def)
Interpret the value object as a boolean, returning def if unable. |
| public static boolean | Returns: the property valuethe properties props, String the property name name, boolean default value if property not found def)Get a boolean valued property. |
| public static boolean | Returns: the property valuethe Session session, String the property name name, boolean default value if property not found def)
Deprecated
Get a boolean valued property.
|
| public static boolean | Returns: the property valuethe property name name, boolean default value if property not found def)Get a boolean valued System property. |
| private static int | |
| public static int | Returns: the property valuethe properties props, String the property name name, int default value if property not found def)Get an integer valued property. |
| public static int | Returns: the property valuethe Session session, String the property name name, int default value if property not found def)
Deprecated
Get an integer valued property.
|
| private static Object |
| PropUtil | back to summary |
|---|---|
| private PropUtil() | |
| getBoolean | back to summary |
|---|---|
| private static boolean getBoolean(Object value, boolean def) Interpret the value object as a boolean, returning def if unable. | |
| getBooleanProperty | back to summary |
|---|---|
| public static boolean getBooleanProperty(Properties props, String name, boolean def) Get a boolean valued property.
| |
| getBooleanSessionProperty | back to summary |
|---|---|
| public static boolean getBooleanSessionProperty(Session session, String name, boolean def)
Deprecated
Get a boolean valued property.
| |
| getBooleanSystemProperty | back to summary |
|---|---|
| public static boolean getBooleanSystemProperty(String name, boolean def) Get a boolean valued System property.
| |
| getInt | back to summary |
|---|---|
| private static int getInt(Object value, int def) Interpret the value object as an integer, returning def if unable. | |
| getIntProperty | back to summary |
|---|---|
| public static int getIntProperty(Properties props, String name, int def) Get an integer valued property.
| |
| getIntSessionProperty | back to summary |
|---|---|
| public static int getIntSessionProperty(Session session, String name, int def)
Deprecated
Get an integer valued property.
| |
| getProp | back to summary |
|---|---|
| private static Object getProp(Properties props, String name) Get the value of the specified property. If the "get" method returns null, use the getProperty method, which might cascade to a default Properties object. | |