Class FilteringClassLocator

  • All Implemented Interfaces:
    org.zkoss.util.resource.Locator, org.zkoss.util.resource.XMLResourcesLocator

    public class FilteringClassLocator
    extends org.zkoss.util.resource.ClassLocator
    Extends ClassLocator by filtering out resources that may interfere. Resources are filtered out if their URL matches regexp configured as Library property cockpitng.zk.resourcelocator.urlfilter. See CockpitHttpSessionListener for more information.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.zkoss.util.resource.XMLResourcesLocator

        org.zkoss.util.resource.XMLResourcesLocator.Resource
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Enumeration<java.net.URL> getResources​(java.lang.String name)  
      • Methods inherited from class org.zkoss.util.resource.ClassLocator

        equals, getDependentXMLResources, getDirectory, getResource, getResourceAsStream, hashCode
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilteringClassLocator

        public FilteringClassLocator()
    • Method Detail

      • getResources

        public java.util.Enumeration<java.net.URL> getResources​(java.lang.String name)
                                                         throws java.io.IOException
        Specified by:
        getResources in interface org.zkoss.util.resource.XMLResourcesLocator
        Overrides:
        getResources in class org.zkoss.util.resource.ClassLocator
        Throws:
        java.io.IOException