Liferay 7.0-ce-b4

com.liferay.portal.kernel.servlet
Class PortalWebResourcesUtil

java.lang.Object
  extended by com.liferay.portal.kernel.servlet.PortalWebResourcesUtil

public class PortalWebResourcesUtil
extends Object


Method Summary
static String getContextPath(String resourceType)
           
static long getLastModified(String resourceType)
           
static String getPathResourceType(String path)
           
static javax.servlet.ServletContext getPathServletContext(String path)
           
static PortalWebResources getPortalWebResources(String resourceType)
           
static URL getResource(javax.servlet.ServletContext servletContext, String path)
           
static URL getResource(String path)
           
static javax.servlet.ServletContext getServletContext(String resourceType)
           
static boolean hasContextPath(String requestURI)
           
static boolean isAvailable(String path)
           
static String stripContextPath(javax.servlet.ServletContext servletContext, String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContextPath

public static String getContextPath(String resourceType)

getLastModified

public static long getLastModified(String resourceType)

getPathResourceType

public static String getPathResourceType(String path)

getPathServletContext

public static javax.servlet.ServletContext getPathServletContext(String path)

getPortalWebResources

public static PortalWebResources getPortalWebResources(String resourceType)

getResource

public static URL getResource(javax.servlet.ServletContext servletContext,
                              String path)

getResource

public static URL getResource(String path)

getServletContext

public static javax.servlet.ServletContext getServletContext(String resourceType)

hasContextPath

public static boolean hasContextPath(String requestURI)

isAvailable

public static boolean isAvailable(String path)

stripContextPath

public static String stripContextPath(javax.servlet.ServletContext servletContext,
                                      String path)

Liferay 7.0-ce-b4