com.atlassian.core.util
Class PropertyUtils
java.lang.Object
com.atlassian.core.util.PropertyUtils
public class PropertyUtils
- extends java.lang.Object
|
Method Summary |
static java.util.Properties |
getProperties(java.lang.String resource,
java.lang.Class callingClass)
|
static java.util.Properties |
getPropertiesFromFile(java.io.File file)
|
static java.util.Properties |
getPropertiesFromStream(java.io.InputStream is)
|
static boolean |
identical(com.opensymphony.module.propertyset.PropertySet pThis,
com.opensymphony.module.propertyset.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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyUtils
public PropertyUtils()
getProperties
public static java.util.Properties getProperties(java.lang.String resource,
java.lang.Class callingClass)
getPropertiesFromFile
public static java.util.Properties getPropertiesFromFile(java.io.File file)
getPropertiesFromStream
public static java.util.Properties getPropertiesFromStream(java.io.InputStream is)
identical
public static boolean identical(com.opensymphony.module.propertyset.PropertySet pThis,
com.opensymphony.module.propertyset.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
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.