public class JSpellEvolutionServlet extends JSpellServlet
logDateFmt, manager, softwareID, startTime, suggestions
Constructor and Description |
---|
JSpellEvolutionServlet() |
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
autoCorrect(java.lang.String language,
java.lang.String textToCheck) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handles incoming POST requests from clients and delegates to processClientData.
|
java.lang.StringBuffer |
getErrors(java.lang.String language,
java.lang.String textToCheck,
java.lang.String dictionary,
java.lang.String requestId) |
java.lang.String |
getServletInfo()
Returns the name, copyright and authorship of the JSpellServlet.
|
java.lang.StringBuffer |
getSuggestions(java.lang.String language,
java.lang.String textToCheck,
java.lang.String dictionary) |
java.lang.StringBuffer |
init(java.lang.String guiLanguage,
java.lang.String dictionary) |
void |
updateRoamingDictionary(java.lang.String text,
java.lang.String dictionary) |
destroy, doGet, getCacheSize, getIndexDirectory, getLogFileName, getPropertiesFile, indexChanged, init, logAccess, logFileNameChanged, markUsageBegin, markUsageEnd, processClientData, propertiesFileChanged, setCacheSize, setIndexDirectory, setLogFileName, setPropertiesFile
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class JSpellServlet
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
JSpellServlet
doPost
in class JSpellServlet
req
- an HttpServletRequest object.resp
- an HttpServletResponse object.javax.servlet.ServletException
- a ServletException object.java.io.IOException
- an IOException object.public void updateRoamingDictionary(java.lang.String text, java.lang.String dictionary)
public java.lang.StringBuffer init(java.lang.String guiLanguage, java.lang.String dictionary)
public java.lang.StringBuffer autoCorrect(java.lang.String language, java.lang.String textToCheck)
public java.lang.StringBuffer getErrors(java.lang.String language, java.lang.String textToCheck, java.lang.String dictionary, java.lang.String requestId)
public java.lang.StringBuffer getSuggestions(java.lang.String language, java.lang.String textToCheck, java.lang.String dictionary)
JSpell SDK - Spell Checker for the Java Platform
Copyright © 2009-2019 Page Scholar Inc, All Rights Reserved - https://www.jspell.com