Package de.betabeans.scroogexhtml

Provides the main bean class, ScroogeXHTML.

See:
          Description

Class Summary
ScroogeXHTML ScroogeXHTML is the JavaBean(tm) class which needs to be installed or instantiated in the application.
 

Package de.betabeans.scroogexhtml Description

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 String
To convert RTF code to a HTML String, use the signature ScroogeXHTML.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
To convert an existing RTF document file to a HTML String, use the method 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 String
To convert an existing RTF document file to a HTML String, use the method ScroogeXHTML.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).





Copyright (c) 1998-2006 BetaSoft Michael Justin. All Rights Reserved.