org.jfor.jfor.rtflib.rtfdoc
Class RtfStringConverter

java.lang.Object
  extended byorg.jfor.jfor.rtflib.rtfdoc.RtfStringConverter

public class RtfStringConverter
extends java.lang.Object

Converts java Strings according to RTF conventions

Author:
Bertrand Delacretaz bdelacretaz@codeconsult.ch

Method Summary
static RtfStringConverter getInstance()
          use this to get an object of this class
 void writeRtfString(java.io.Writer w, java.lang.String str)
          write given String to given Writer, converting characters as required by RTF spec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RtfStringConverter getInstance()
use this to get an object of this class


writeRtfString

public void writeRtfString(java.io.Writer w,
                           java.lang.String str)
                    throws java.io.IOException
write given String to given Writer, converting characters as required by RTF spec

Throws:
java.io.IOException