org.thdl.tib.scanner
Class OnLineScannerFilter

java.lang.Object
  |
  +--HttpServlet
        |
        +--org.thdl.tib.scanner.OnLineScannerFilter

public class OnLineScannerFilter
extends HttpServlet

Interfase to provide access to an on-line dictionary through a form in html; Inputs Tibetan text (Roman script only) and displays the words (Roman or Tibetan script) with their definitions. Runs on the server and is called upon through an HTTP request directly by the browser. Requires no additional software installed on the client.

Author:
Andrés Montano Pellegrini
See Also:
Serialized Form

Constructor Summary
OnLineScannerFilter()
           
 
Method Summary
 void desglosar(String in, PrintWriter pw, boolean tibetan)
           
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
 void doPost(HttpServletRequest request, HttpServletResponse response)
           
 void printAllDefs(PrintWriter pw, Object[] words, boolean tibetan)
           
 void printText(PrintWriter pw, Object[] words, boolean tibetan)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnLineScannerFilter

public OnLineScannerFilter()
                    throws Exception
Method Detail

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws IOException,
                  ServletException
IOException
ServletException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws IOException,
                   ServletException
IOException
ServletException

desglosar

public void desglosar(String in,
                      PrintWriter pw,
                      boolean tibetan)

printText

public void printText(PrintWriter pw,
                      Object[] words,
                      boolean tibetan)

printAllDefs

public void printAllDefs(PrintWriter pw,
                         Object[] words,
                         boolean tibetan)


These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by SourceForge_Logo