com.liferay.portal.velocity
Class VelocityResourceListener

java.lang.Object
  extended by com.liferay.portal.velocity.VelocityResourceListener
Direct Known Subclasses:
ClassLoaderVelocityResourceListener, JournalTemplateVelocityResourceListener, ServletVelocityResourceListener, ThemeLoaderVelocityResourceListener

public abstract class VelocityResourceListener
extends java.lang.Object

View Source

Author:
Alexander Chow

Field Summary
static java.lang.String JOURNAL_SEPARATOR
           
static java.lang.String SERVLET_SEPARATOR
           
static java.lang.String THEME_LOADER_SEPARATOR
           
 
Constructor Summary
VelocityResourceListener()
           
 
Method Summary
abstract  java.io.InputStream getResourceStream(java.lang.String source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JOURNAL_SEPARATOR

public static final java.lang.String JOURNAL_SEPARATOR
See Also:
Constant Field Values

SERVLET_SEPARATOR

public static final java.lang.String SERVLET_SEPARATOR
See Also:
Constant Field Values

THEME_LOADER_SEPARATOR

public static final java.lang.String THEME_LOADER_SEPARATOR
See Also:
Constant Field Values
Constructor Detail

VelocityResourceListener

public VelocityResourceListener()
Method Detail

getResourceStream

public abstract java.io.InputStream getResourceStream(java.lang.String source)
                                               throws org.apache.velocity.exception.ResourceNotFoundException
Throws:
org.apache.velocity.exception.ResourceNotFoundException