Class StreamTextConverter

  • All Implemented Interfaces:
    IRtfListener

    public class StreamTextConverter
    extends AbstractTextConverter
    This class implements a trivial RTF to text converter. The extracted text is written to the OutputStream as it is extracted.
    • Field Detail

      • charset

        private java.nio.charset.Charset charset
      • os

        private java.io.OutputStream os
    • Constructor Detail

      • StreamTextConverter

        public StreamTextConverter()
    • Method Detail

      • convert

        public void convert​(IRtfSource source,
                            java.io.OutputStream os,
                            java.lang.String outputCharsetName)
                     throws java.io.IOException
        Throws:
        java.io.IOException