public void convertRtfDocument ( InputStream readerIn , Document doc ) throws IOException { if ( readerIn == null || doc == null ) return ; this . init ( TYPE_CONVERT , null , readerIn , doc , null ) ; this . setCurrentDestination ( RtfDestinationMgr . DESTINATION_DOCUMENT ) ; this . groupLevel = 0 ; this . tokenise ( ) ; }
Converts an RTF document to an iText document .