com.atlassian.core.util
Class PropertyUtils
java.lang.Object
com.atlassian.core.util.PropertyUtils
public class PropertyUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyUtils
public PropertyUtils()
getProperties
public static Properties getProperties(String resource,
Class callingClass)
getPropertiesFromFile
public static Properties getPropertiesFromFile(File file)
getPropertiesFromStream
public static Properties getPropertiesFromStream(InputStream is)
identical
public static boolean identical(PropertySet pThis,
PropertySet pThat)
- Check to see if the two propertySet contain the same values and types
NOTE If both PropertySets are null then true is returned
- Parameters:
pThis - First PropertySetpThat - Second PropertySet
- Returns:
- Are the two PropertySets identical