|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.w3c.tidy.servlet.properties.JTidyServletProperties
| Field Summary | |
static java.lang.String |
DEFAULT_FILENAME
name of the default properties file JTidyServlet.properties. |
static java.lang.String |
JTIDYSERVLET_URI
property JTidyServletURI. |
static java.lang.String |
PROPERTY_BOOLEAN_XHTML
property xhtml. |
static java.lang.String |
PROPERTY_CLASS_REPOSITORYFACTORY
property repositoryFactory.class. |
static java.lang.String |
PROPERTY_INT_IMAGEGETTIMEOUT
property imageGetTimeout. |
static java.lang.String |
PROPERTY_STRING_IMAGE_HEIGHT
property imageHeight. |
static java.lang.String |
PROPERTY_STRING_IMAGE_WIDTH
property imageWidth. |
static java.lang.String |
PROPERTY_STRING_IMAGENAMEEXTENSION
property imageNameExtension. |
static java.lang.String |
PROPERTY_STRING_IMAGENAMEPREFIX
property imageNamePrefix. |
| Method Summary | |
boolean |
getBooleanProperty(java.lang.String key,
boolean defaultValue)
Reads a boolean property. |
static JTidyServletProperties |
getInstance()
|
int |
getIntProperty(java.lang.String key,
int defaultValue)
Reads an int property. |
java.lang.String |
getProperty(java.lang.String key)
Reads a String property. |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Reads a String property. |
RepositoryFactory |
getRepositoryFactoryInstance()
Returns an instance of configured RepositoryFactory. |
ResponseRecordRepository |
getRepositoryInstance(javax.servlet.http.HttpSession httpSession)
Returns an instance of configured ResponseRecordRepository. |
void |
loadFile(java.lang.String fileName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_FILENAME
JTidyServlet.properties.
public static final java.lang.String PROPERTY_CLASS_REPOSITORYFACTORY
repositoryFactory.class.
public static final java.lang.String PROPERTY_STRING_IMAGENAMEPREFIX
imageNamePrefix.
public static final java.lang.String PROPERTY_STRING_IMAGENAMEEXTENSION
imageNameExtension.
public static final java.lang.String PROPERTY_STRING_IMAGE_WIDTH
imageWidth.
public static final java.lang.String PROPERTY_STRING_IMAGE_HEIGHT
imageHeight.
public static final java.lang.String PROPERTY_INT_IMAGEGETTIMEOUT
imageGetTimeout.
public static final java.lang.String JTIDYSERVLET_URI
JTidyServletURI.
public static final java.lang.String PROPERTY_BOOLEAN_XHTML
xhtml.
| Method Detail |
public void loadFile(java.lang.String fileName)
public static JTidyServletProperties getInstance()
public java.lang.String getProperty(java.lang.String key)
key - property name
null if property is not found
public java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
key - property namedefaultValue - default value returned if property is not found value
public int getIntProperty(java.lang.String key,
int defaultValue)
key - property namedefaultValue - default value returned if property is not found or not a valid int value
public boolean getBooleanProperty(java.lang.String key,
boolean defaultValue)
key - property namedefaultValue - default value returned if property is not found or not a valid boolean value
public RepositoryFactory getRepositoryFactoryInstance()
public ResponseRecordRepository getRepositoryInstance(javax.servlet.http.HttpSession httpSession)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||