com.atlassian.core.util
Class PropertyUtils

java.lang.Object
  extended by com.atlassian.core.util.PropertyUtils

public class PropertyUtils
extends Object


Constructor Summary
PropertyUtils()
           
 
Method Summary
static Properties getProperties(String resource, Class callingClass)
           
static Properties getPropertiesFromFile(File file)
           
static Properties getPropertiesFromStream(InputStream is)
           
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyUtils

public PropertyUtils()
Method Detail

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 PropertySet
pThat - Second PropertySet
Returns:
Are the two PropertySets identical


Atlassian Core is developed by Atlassian Software Systems.