Liferay 7.0-ce-b7 portal-impl

com.liferay.portal.template
Class URLResourceParser

java.lang.Object
  extended by com.liferay.portal.template.URLResourceParser
All Implemented Interfaces:
TemplateResourceParser
Direct Known Subclasses:
ClassLoaderResourceParser, ThemeResourceParser, VelocityServletResourceParser

public abstract class URLResourceParser
extends Object
implements TemplateResourceParser


Constructor Summary
URLResourceParser()
           
 
Method Summary
 com.liferay.portal.kernel.template.TemplateResource getTemplateResource(String templateId)
           
abstract  URL getURL(String templateId)
           
protected static String normalizePath(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLResourceParser

public URLResourceParser()
Method Detail

getTemplateResource

public com.liferay.portal.kernel.template.TemplateResource getTemplateResource(String templateId)
                                                                        throws com.liferay.portal.kernel.template.TemplateException
Specified by:
getTemplateResource in interface TemplateResourceParser
Throws:
com.liferay.portal.kernel.template.TemplateException

getURL

public abstract URL getURL(String templateId)
                    throws IOException
Throws:
IOException

normalizePath

protected static String normalizePath(String path)

Liferay 7.0-ce-b7 portal-impl