|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.betabeans.scroogexhtml.ScroogeXHTMLBase | +--de.betabeans.scroogexhtml.ScroogeXHTMLMain | +--de.betabeans.scroogexhtml.ScroogeXHTML
ScroogeXHTML - a RTF to XHTML converter class. This JavaBean(tm) converts
RTF to XHTML. It provides:
- a method to convert a RTF stream to a XHTML stream
- a method to convert a RTF file to a XHTML file
ScroogeXHTML scroogeXHTML1 = new ScroogeXHTML(); String rtfFile = "c:/windows/desktop/test.rtf"; String htmlFile = "c:/windows/desktop/test.html"; scroogeXHTML1.convert(rtfFile, htmlFile);
ScroogeXHTMLBase
documentation.
Fields inherited from class de.betabeans.scroogexhtml.ScroogeXHTMLMain |
pbReader, profilerStart |
Constructor Summary | |
ScroogeXHTML()
Constructor for the ScroogeXHTML object |
Method Summary | |
boolean |
convert(java.io.PushbackReader inReader,
java.io.BufferedWriter outWriter)
convert RTF stream to XHTML stream note: input stream will be closed by ScroogeXHTML, but the output stream needs to be closed by the calling program |
java.lang.String |
convert(java.lang.String rtf)
convert RTF string to XHTML string |
boolean |
convert(java.lang.String rtfFileName,
java.lang.String htmlFileName)
convert RTF file to XHTML file |
Methods inherited from class de.betabeans.scroogexhtml.ScroogeXHTMLMain |
convert |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ScroogeXHTML()
Method Detail |
public boolean convert(java.io.PushbackReader inReader, java.io.BufferedWriter outWriter)
inReader
- the input streamoutWriter
- the output streampublic java.lang.String convert(java.lang.String rtf)
rtf
- the input RTF stringpublic boolean convert(java.lang.String rtfFileName, java.lang.String htmlFileName)
rtfFileName
- RTF file namehtmlFileName
- XHTML file name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |