public class CdmValidatorContext
extends java.lang.Object
| Constructor and Description |
|---|
CdmValidatorContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
java.io.File |
getCacheDir() |
java.lang.String |
getConfigFileName() |
FileSource |
getConfigFileSource() |
java.io.File |
getContentDirectory()
Return File for content directory (exists() may be false).
|
javax.servlet.RequestDispatcher |
getDefaultRequestDispatcher() |
org.apache.commons.fileupload.FileItemFactory |
getFileuploadFileItemFactory() |
HtmlConfig |
getHtmlConfig()
Return the HtmlConfig object for this context.
|
javax.servlet.RequestDispatcher |
getJspRequestDispatcher() |
static org.slf4j.Logger |
getLog() |
long |
getMaxFileUploadSize() |
java.io.File |
getRootDirectory()
Return the web apps root directory (i.e., getRealPath( "/")).
|
java.lang.String |
getWebappContextPath()
Return the context path under which this web app is running (e.g., "/thredds").
|
java.lang.String |
getWebappName()
Return the name of the webapp as given by the display-name element in web.xml.
|
java.lang.String |
getWebappVersion()
Return the full version string (
|
java.lang.String |
getWebappVersionBuildDate() |
void |
init(javax.servlet.ServletContext servletContext) |
boolean |
isDeleteImmediately() |
void |
setConfigFileName(java.lang.String filename) |
void |
setContentPath(java.lang.String contentPath) |
void |
setContentRootPath(java.lang.String contentRootPath) |
void |
setHtmlConfig(HtmlConfig htmlConfig) |
void |
setWebappVersion(java.lang.String verFull) |
void |
setWebappVersionBuildDate(java.lang.String buildDateString) |
public void setContentRootPath(java.lang.String contentRootPath)
public void setContentPath(java.lang.String contentPath)
public void setConfigFileName(java.lang.String filename)
public java.lang.String getConfigFileName()
public void init(javax.servlet.ServletContext servletContext)
public void destroy()
public java.lang.String getWebappName()
public java.lang.String getWebappContextPath()
public java.lang.String getWebappVersion()
public void setWebappVersion(java.lang.String verFull)
public java.lang.String getWebappVersionBuildDate()
public void setWebappVersionBuildDate(java.lang.String buildDateString)
public void setHtmlConfig(HtmlConfig htmlConfig)
public HtmlConfig getHtmlConfig()
public java.io.File getRootDirectory()
public java.io.File getContentDirectory()
public FileSource getConfigFileSource()
public javax.servlet.RequestDispatcher getDefaultRequestDispatcher()
public javax.servlet.RequestDispatcher getJspRequestDispatcher()
public static org.slf4j.Logger getLog()
public java.io.File getCacheDir()
public long getMaxFileUploadSize()
public boolean isDeleteImmediately()
public org.apache.commons.fileupload.FileItemFactory getFileuploadFileItemFactory()