|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ca.cbc.sportwire.util.Text2XML
Text2XML provides an ASCII-to-XML filter to transform a flat ASCII String or Stream into a tag-delimited XML which can be later transformed into HTML for pretty-printing on a website. The XML tags inserted include the common HTML tags for simple text: P (paragraph) PRE (preformatted text) HR (horizonal rule), and URLs are transformed into hotlinks. Created: Mon Nov 12 20:41:22 2001
Constructor Summary | |
Text2XML()
|
Method Summary | |
static java.lang.String |
transform(java.lang.String source)
Method: 'transform' applies the TXT/XML transform to a String, returning a string; useful for transforming small documents. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Text2XML()
Method Detail |
public static java.lang.String transform(java.lang.String source)
source
- is a 'String' of plain ASCII text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Javadocs generated Tue Apr 23 01:08:36 EDT 2002 by garym@maya.dyndns.org
Copyright © 2002 Canadian Broadcasting Corp