|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jspell.domain.net.JSpellTools
public class JSpellTools
The base class for the JSpellHTMLTools and JSpellIFrameTools classes.
| Field Summary | |
|---|---|
protected boolean |
bannerPrinted
A boolean indicating whether the copyright banner has been displayed. |
java.lang.String |
cacheSize
Cache Size. |
protected java.lang.String |
defaultProxy
Specifies the URL for the spell checker. |
java.lang.String |
dictionaryPath
Path to dictionary files. |
boolean |
indexReady
Index opened successfully? |
protected java.lang.String |
softwareID
String description of software module ID. |
| Constructor Summary | |
|---|---|
protected |
JSpellTools()
Creates a new instance of JSpellTools |
| Method Summary | |
|---|---|
java.lang.String |
getImagePath(javax.servlet.ServletRequest request)
Returns the URL of the images for the non direct edit version of JSpell HTML |
java.lang.String |
getLanguage(javax.servlet.ServletRequest request)
Returns the language of the spell check request. |
java.lang.String |
getProxy(javax.servlet.http.HttpServletRequest request)
Gets proxy URL if specified, or URL of JSpell.jsp. |
java.lang.String |
getStyleSheetURL(javax.servlet.http.HttpServletRequest request)
Returns the URL of the style sheet URL. |
java.lang.String |
getSupplementalDictionary(javax.servlet.ServletRequest request)
Returns the words in the supplemental dictionary. |
void |
indexSetup(javax.servlet.ServletConfig config,
java.lang.String dictionaryOverride)
Initializes the dictionaries. |
java.lang.String |
loadSupplementalDictionary(java.lang.String supplementalDictionary)
Loads a list of words to ignore for purposes of spell checking. |
static void |
setCache(javax.servlet.http.HttpServletResponse response)
Sets the cache response header. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String softwareID
protected java.lang.String defaultProxy
public boolean indexReady
public java.lang.String dictionaryPath
public java.lang.String cacheSize
protected boolean bannerPrinted
| Constructor Detail |
|---|
protected JSpellTools()
| Method Detail |
|---|
public java.lang.String loadSupplementalDictionary(java.lang.String supplementalDictionary)
supplementalDictionary - a String.
public void indexSetup(javax.servlet.ServletConfig config,
java.lang.String dictionaryOverride)
config - a ServletConfig object.dictionaryOverride - a String - optional path to directory containing JSpell dictionary files.
public java.lang.String getStyleSheetURL(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
request - an HttpServletRequest object.
java.lang.Exception - an Exception object.
public java.lang.String getSupplementalDictionary(javax.servlet.ServletRequest request)
throws java.lang.Exception
request - a ServletRequest object.
java.lang.Exception - an Exception object.
public java.lang.String getLanguage(javax.servlet.ServletRequest request)
throws java.lang.Exception
request - a ServletRequest object.
java.lang.Exception - an Exception object.
public java.lang.String getImagePath(javax.servlet.ServletRequest request)
throws java.lang.Exception
request - a ServletRequest object.
java.lang.Exception - an Exception object.public java.lang.String getProxy(javax.servlet.http.HttpServletRequest request)
request - an HttpServletRequest object.
public static void setCache(javax.servlet.http.HttpServletResponse response)
response - an HttpServletResponse object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||