public class PortalWebResourcesUtil extends Object
Constructor and Description |
---|
PortalWebResourcesUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getContextPath(String resourceType) |
static long |
getLastModified(String resourceType) |
static String |
getModuleContextPath(String resourceType) |
static long |
getPathLastModified(String requestURI,
long defaultValue) |
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) |
public static long getLastModified(String resourceType)
public static long getPathLastModified(String requestURI, long defaultValue)
public static javax.servlet.ServletContext getPathServletContext(String path)
public static PortalWebResources getPortalWebResources(String resourceType)
public static javax.servlet.ServletContext getServletContext(String resourceType)
public static boolean hasContextPath(String requestURI)
public static boolean isAvailable(String path)