|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| ScroogeXHTML | ScroogeXHTML is the JavaBean(tm) class which needs to be installed or instantiated in the application. |
Provides the main bean class, ScroogeXHTML.
The bean class ScroogeXHTML contains different signatures for the conversion method.
Convert an existing RTF file to a HTML
file
To convert an existing RTF document file to a HTML file, use the
signature ScroogeXHTML.convert(String,String). The
return value of this method is a boolean result code.
if (scroogeXHTML1.convert("testfile.rtf", "testfile.html"))
{
System.out.println("success");
};
Convert RTF code contained in a String
to a HTML StringScroogeXHTML.convert(String). The return
value of this method is a String object which contains the result HTML.String html = scroogeXHTML1.convert(RTF);Convert an existing RTF file to a HTML String
ScroogeXHTML.convertFile(String). The return
value of this method is a String object which contains the result HTML.String html = scroogeXHTML1.convertFile("testfile.rtf");
Convert from RTF reading a PushBackReader to a BufferedWriter StringScroogeXHTML.convert(PushbackReader,BufferedWriter).
The return value of this method is a boolean result code. For an
example, see the implementation of ScroogeXHTML.convert(String,String).
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||