/** * Return the temporary directory for the current web application, * as provided by the servlet container. * @return the File representing the temporary directory * @throws IllegalStateException if not running within a PortletContext * @see org.springframework.web.portlet.util.PortletUtils#getTempDir(javax.portlet.PortletContext) */ protected final File getTempDir() throws IllegalStateException { return PortletUtils.getTempDir(getPortletContext()); }
/** * Return the temporary directory for the current web application, * as provided by the servlet container. * @return the File representing the temporary directory * @throws IllegalStateException if not running within a PortletContext * @see org.springframework.web.portlet.util.PortletUtils#getTempDir(javax.portlet.PortletContext) */ protected final File getTempDir() throws IllegalStateException { return PortletUtils.getTempDir(getPortletContext()); }