com.liferay.portal.kernel.servlet
Class PortalWebResourcesUtil
java.lang.Object
com.liferay.portal.kernel.servlet.PortalWebResourcesUtil
public class PortalWebResourcesUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)