public class LiferayResourceManager
extends org.apache.velocity.runtime.resource.ResourceManagerImpl
Constructor and Description |
---|
LiferayResourceManager() |
Modifier and Type | Method and Description |
---|---|
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) |
public java.lang.String getLoaderNameForResource(java.lang.String source)
getLoaderNameForResource
in interface org.apache.velocity.runtime.resource.ResourceManager
getLoaderNameForResource
in class org.apache.velocity.runtime.resource.ResourceManagerImpl
public org.apache.velocity.runtime.resource.Resource getResource(java.lang.String resourceName, int resourceType, java.lang.String encoding) throws java.lang.Exception, org.apache.velocity.exception.ParseErrorException, org.apache.velocity.exception.ResourceNotFoundException
getResource
in interface org.apache.velocity.runtime.resource.ResourceManager
getResource
in class org.apache.velocity.runtime.resource.ResourceManagerImpl
java.lang.Exception
org.apache.velocity.exception.ParseErrorException
org.apache.velocity.exception.ResourceNotFoundException
public void initialize(org.apache.velocity.runtime.RuntimeServices runtimeServices) throws java.lang.Exception
initialize
in interface org.apache.velocity.runtime.resource.ResourceManager
initialize
in class org.apache.velocity.runtime.resource.ResourceManagerImpl
java.lang.Exception