Class AssetReferenceSearch


  • public class AssetReferenceSearch
    extends java.lang.Object
    The AssetReferenceSearch searches in pages for referenced assets.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​Asset> search()
      Search all asset references
      • Methods inherited from class java.lang.Object

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

      • AssetReferenceSearch

        public AssetReferenceSearch​(Node node,
                                    java.lang.String searchPath,
                                    ResourceResolver resolver)
        The constructor.
        Parameters:
        node - node to start search for references
        searchPath - search for assets starting with searchPath
        resolver - resource resolver
    • Method Detail

      • search

        public java.util.Map<java.lang.String,​Asset> search()
        Search all asset references
        Returns:
        map containing all asset refs