| java.lang.Object org.archive.util.PropertyUtils
PropertyUtils | public class PropertyUtils (Code) | | author: stack version: $Date: 2005-08-15 23:35:10 +0000 (Mon, 15 Aug 2005) $ $Revision: 3760 $ |
Method Summary | |
public static boolean | getBooleanProperty(String key) Parameters: key - Property key. | public static int | getIntProperty(String key, int fallback) Parameters: key - Key to use looking up system property. Parameters: fallback - If no value found for passed key , returnfallback . | public static String | getPropertyOrNull(String key) Parameters: key - Property key. |
getBooleanProperty | public static boolean getBooleanProperty(String key)(Code) | | Parameters: key - Property key. Boolean value or false if null or unreadable. |
getIntProperty | public static int getIntProperty(String key, int fallback)(Code) | | Parameters: key - Key to use looking up system property. Parameters: fallback - If no value found for passed key , returnfallback . Value of property or fallback . |
getPropertyOrNull | public static String getPropertyOrNull(String key)(Code) | | Parameters: key - Property key. Named property or null if the property is null or empty. |
|
|