java.lang.Object
com.adobe.granite.contexthub.commons.Utils

public class Utils extends Object
  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • getInheritedProperty

      public static String getInheritedProperty(Resource resource, String property)
      Returns the content property of the given page. If the resource does not contain this property, the parent resource is checked against given property or null if resource has no parent.
      Parameters:
      resource - - resource
      property - - property name
      Returns:
      the property value or null