com.jspell.domain.net
Class JSpellEvolutionServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.jspell.domain.net.JSpellServlet
              extended by com.jspell.domain.net.JSpellEvolutionServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class JSpellEvolutionServlet
extends JSpellServlet

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jspell.domain.net.JSpellServlet
logDateFmt, manager, softwareID, startTime, suggestions
 
Constructor Summary
JSpellEvolutionServlet()
           
 
Method Summary
 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)
           
 
Methods inherited from class com.jspell.domain.net.JSpellServlet
destroy, doGet, getCacheSize, getIndexDirectory, getLogFileName, getPropertiesFile, indexChanged, init, logAccess, logFileNameChanged, markUsageBegin, markUsageEnd, processClientData, propertiesFileChanged, setCacheSize, setIndexDirectory, setLogFileName, setPropertiesFile
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSpellEvolutionServlet

public JSpellEvolutionServlet()
Method Detail

getServletInfo

public java.lang.String getServletInfo()
Returns the name, copyright and authorship of the JSpellServlet.

Specified by:
getServletInfo in interface javax.servlet.Servlet
Overrides:
getServletInfo in class JSpellServlet
Returns:
a String.

doPost

protected void doPost(javax.servlet.http.HttpServletRequest req,
                      javax.servlet.http.HttpServletResponse resp)
               throws javax.servlet.ServletException,
                      java.io.IOException
Description copied from class: JSpellServlet
Handles incoming POST requests from clients and delegates to processClientData.

Overrides:
doPost in class JSpellServlet
Parameters:
req - an HttpServletRequest object.
resp - an HttpServletResponse object.
Throws:
javax.servlet.ServletException - a ServletException object.
java.io.IOException - an IOException object.

updateRoamingDictionary

public void updateRoamingDictionary(java.lang.String text,
                                    java.lang.String dictionary)

init

public java.lang.StringBuffer init(java.lang.String guiLanguage,
                                   java.lang.String dictionary)

autoCorrect

public java.lang.StringBuffer autoCorrect(java.lang.String language,
                                          java.lang.String textToCheck)

getErrors

public java.lang.StringBuffer getErrors(java.lang.String language,
                                        java.lang.String textToCheck,
                                        java.lang.String dictionary,
                                        java.lang.String requestId)

getSuggestions

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 Page Scholar Inc, All Rights Reserved - http://www.jspell.com