public class RTF2HTMLConverterClassic extends Object implements RTF2HTMLConverter
<html> tag (if not present) with basic reading setting.
The results of this converter are pretty good, but ends up with a lot of invisible new lines in the resulting HTML. As this code is a result of long-time organically home-grown regular expressions, the code is not as obvious as it would have been if it followed the RTF RFC.
Also, the result-source deviates significantly from other software such as Outlook. On the outside, very complex RTF's might have slight layout issues or stretched images. In general the result is pretty good though.
| Modifier and Type | Field and Description |
|---|---|
static RTF2HTMLConverter |
INSTANCE |
public static final RTF2HTMLConverter INSTANCE
@NotNull public @NotNull String rtf2html(@NotNull @NotNull String rtf)
rtf2html in interface RTF2HTMLConverterCopyright © 2019. All rights reserved.