gov.nist.nlpir.irf.conversion
Class Ascii2HtmlConverter

java.lang.Object
  |
  +--gov.nist.nlpir.irf.conversion.Ascii2HtmlConverter

public class Ascii2HtmlConverter
extends java.lang.Object

ASCII to HTML converter.

Changes <, >, & and " to their HTML equivalent

Version:
$Revision: 1.1 $
Author:
This software was produced by NIST, an agency of the U.S. government, and by statute is not subject to copyright in the United States. Recipients of this software assume all responsibilities associated with its operation, modification and maintenance.

Constructor Summary
Ascii2HtmlConverter()
           
 
Method Summary
 java.lang.String convert(java.lang.String source)
          Converts ASCII char array to HTML char array:
converts < to &lt; > to &gt; & to &amp; and double quotes (") to &quot;
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Ascii2HtmlConverter

public Ascii2HtmlConverter()
Method Detail

convert

public java.lang.String convert(java.lang.String source)
Converts ASCII char array to HTML char array:
converts < to &lt; > to &gt; & to &amp; and double quotes (") to &quot;
Parameters:
src - the array to be translated.
Returns:
the HTML char array after translation.