org.zkoss.util.resource
Class Loader.Resource

java.lang.Object
  extended by org.zkoss.util.resource.Loader.Resource
Enclosing interface:
Loader

public static class Loader.Resource
extends java.lang.Object

Represents the more information about an object loaded by Loader.load(java.lang.Object).

Since:
5.0.0

Field Summary
 boolean cacheable
          Whether the resource shall be cached in ResourceCache.
 java.lang.Object resource
          The real resource that shall be returned by ResourceCache.get(java.lang.Object).
 
Constructor Summary
Loader.Resource(java.lang.Object resource, boolean cacheable)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resource

public final java.lang.Object resource
The real resource that shall be returned by ResourceCache.get(java.lang.Object).


cacheable

public final boolean cacheable
Whether the resource shall be cached in ResourceCache.

Constructor Detail

Loader.Resource

public Loader.Resource(java.lang.Object resource,
                       boolean cacheable)


Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo