com.liferay.portal.velocity
Class LiferayResourceManager
java.lang.Object
org.apache.velocity.runtime.resource.ResourceManagerImpl
com.liferay.portal.velocity.LiferayResourceManager
- All Implemented Interfaces:
- org.apache.velocity.runtime.resource.ResourceManager
public class LiferayResourceManager
- extends org.apache.velocity.runtime.resource.ResourceManagerImpl
- Author:
- Brian Wing Shun Chan, Shuyang Zhou
| Fields inherited from class org.apache.velocity.runtime.resource.ResourceManagerImpl |
globalCache, log, RESOURCE_CONTENT, RESOURCE_TEMPLATE, resourceLoaders, rsvc |
|
Method Summary |
java.lang.String |
getLoaderNameForResource(java.lang.String source)
|
org.apache.velocity.runtime.resource.Resource |
getResource(java.lang.String resourceName,
int resourceType,
java.lang.String encoding)
|
void |
initialize(org.apache.velocity.runtime.RuntimeServices runtimeServices)
|
| Methods inherited from class org.apache.velocity.runtime.resource.ResourceManagerImpl |
createResource, getResource, loadResource, refreshResource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiferayResourceManager
public LiferayResourceManager()
getLoaderNameForResource
public java.lang.String getLoaderNameForResource(java.lang.String source)
- Specified by:
getLoaderNameForResource in interface org.apache.velocity.runtime.resource.ResourceManager- Overrides:
getLoaderNameForResource in class org.apache.velocity.runtime.resource.ResourceManagerImpl
getResource
public org.apache.velocity.runtime.resource.Resource getResource(java.lang.String resourceName,
int resourceType,
java.lang.String encoding)
throws java.lang.Exception
- Specified by:
getResource in interface org.apache.velocity.runtime.resource.ResourceManager- Overrides:
getResource in class org.apache.velocity.runtime.resource.ResourceManagerImpl
- Throws:
java.lang.Exception
initialize
public void initialize(org.apache.velocity.runtime.RuntimeServices runtimeServices)
throws java.lang.Exception
- Specified by:
initialize in interface org.apache.velocity.runtime.resource.ResourceManager- Overrides:
initialize in class org.apache.velocity.runtime.resource.ResourceManagerImpl
- Throws:
java.lang.Exception