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 |
LOG_INFO_LAST_MODIFIED
public static final String LOG_INFO_LAST_MODIFIED
- See Also:
- Constant Field Values
LOG_INFO_PREFIX
public static final String LOG_INFO_PREFIX
- See Also:
- Constant Field Values
LOG_INFO_SPRITES
public static final String LOG_INFO_SPRITES
- See Also:
- Constant Field Values
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 resourcePath)
getLastModified
public static long getLastModified(javax.servlet.ServletContext servletContext,
String resourcePath,
boolean cache)
getRealPath
public static String getRealPath(javax.servlet.ServletContext servletContext,
String path)
getRootDir
protected static String getRootDir(javax.servlet.ServletContext servletContext)