Class Utils


  • public class Utils
    extends Object
    • Constructor Detail

      • Utils

        public Utils()
    • Method Detail

      • 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