Class Utils


  • public class Utils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Utils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getInheritedProperty​(Resource resource, java.lang.String property)
      Returns the content property of the given page.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Utils

        public Utils()
    • Method Detail

      • getInheritedProperty

        public static java.lang.String getInheritedProperty​(Resource resource,
                                                            java.lang.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