Class ResourceCaches

java.lang.Object
org.zkoss.web.util.resource.ResourceCaches

public class ResourceCaches extends Object
Utilities to load (and parse) the Servlet resource. Notice that ResourceCache and ResourceLoader must be used rather than ResourceCache and Loader.

Usage:

  1. Implements a loader by extending from ResourceLoader.
  2. Creates a resource cache (ResourceCache) by use of the loader in the previous step.
  3. Invoke get(org.zkoss.web.util.resource.ResourceCache<V>, jakarta.servlet.ServletContext, java.lang.String, java.lang.Object) to load the resource.
Author:
tomyeh