private void addSourceRtfToExport(Entry source,int index,StringBuilder result) throws IOException {
  final String title=source.getNoteOrTitle("");
  final String url=source.getSourceUrl();
  result.append("Reference " + index + ": ");
  appendRtfString(result,title);
  result.append("\\par\n");
  if (url != null && !url.isEmpty()) {
    appendRtfString(result,url);
    result.append("\\par\n");
  }
  result.append("\\par\n");
}

private void addSourceRtfToExport ( Entry source , int index , StringBuilder result ) throws IOException { final String title = source . getNoteOrTitle ( "" ) ; final String url = source . getSourceUrl ( ) ; result . append ( "Reference " + index + ": " ) ; appendRtfString ( result , title ) ; result . append ( "\\par\n" ) ; if ( url != null && ! url . isEmpty ( ) ) { appendRtfString ( result , url ) ; result . append ( "\\par\n" ) ; } result . append ( "\\par\n" ) ; }
helper method . adds the rtf for a source to a list .
