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.
        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
        map containing all asset refs