com.liferay.portal.kernel.servlet
Class ServletContextUtil
java.lang.Object
com.liferay.portal.kernel.servlet.ServletContextUtil
public class ServletContextUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATH_WEB_XML
public static final String PATH_WEB_XML
- See Also:
- Constant Field Values
URI_ATTRIBUTE
public static final String URI_ATTRIBUTE
ServletContextUtil
public ServletContextUtil()
getClassNames
public static Set<String> getClassNames(javax.servlet.ServletContext servletContext)
throws IOException
- Throws:
IOException
getLastModified
public static long getLastModified(javax.servlet.ServletContext servletContext)
getLastModified
public static long getLastModified(javax.servlet.ServletContext servletContext,
String path)
getLastModified
public static long getLastModified(javax.servlet.ServletContext servletContext,
String path,
boolean cache)
getResourcePath
public static String getResourcePath(URL url)
throws URISyntaxException
- Throws:
URISyntaxException
getResourceURI
public static URI getResourceURI(URL url)
throws URISyntaxException
- Throws:
URISyntaxException
getRootPath
public static String getRootPath(javax.servlet.ServletContext servletContext)
throws MalformedURLException
- Throws:
MalformedURLException
getRootURI
public static URI getRootURI(javax.servlet.ServletContext servletContext)
throws MalformedURLException
- Throws:
MalformedURLException