org.zkoss.util.resource
Class Loader.Resource<V>

java.lang.Object
  extended by org.zkoss.util.resource.Loader.Resource<V>
Enclosing interface:
Loader<K,V>

public static class Loader.Resource<V>
extends java.lang.Object

Represents the more information about an object loaded by Loader.load(K).

Since:
5.0.0

Field Summary
 boolean cacheable
          Whether the resource shall be cached in ResourceCache.
 V resource
          The real resource that shall be returned by ResourceCache.get(java.lang.Object).
 
Constructor Summary
Loader.Resource(V 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 V 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(V resource,
                       boolean cacheable)


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