com.atlassian.core.util
Class PropertyUtils

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

public class PropertyUtils
extends java.lang.Object


Constructor Summary
PropertyUtils()
           
 
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
 

Constructor Detail

PropertyUtils

public PropertyUtils()
Method Detail

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.