Loader.Resource<V>| Constructor and Description |
|---|
ContentLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
load(Object src)
Loads the resource.
|
getLastModified, shallCheckpublic String load(Object src) throws Exception
LoaderThe returned resource could be anything. It will be returned
by ResourceCache.get(java.lang.Object).
However, if you want to have more control (e.g., whether to cache),
you can return an instance
of Loader.Resource. Then, the return value of ResourceCache.get(java.lang.Object)
will be Loader.Resource.resource.
Exception - you might throw any exception which will be
passed back to the caller of ResourceCache.get(java.lang.Object)Copyright © 2018. All rights reserved.