private static List<String[]> exportQueryPageCommentsAsCsv(ReplierExportStrategy replierExportStrategy, List<QueryReply> replies, PanelStamp stamp, QueryPage queryPage) {
    QueryPageHandler queryPageHandler = QueryPageHandlerFactory.getInstance().buildPageHandler(queryPage.getPageType());
    if (queryPageHandler != null) {
      ReportPageCommentProcessor processor = queryPageHandler.exportComments(queryPage, stamp, replies);
      if (processor != null) {
        return exportQueryPageCommentsAsCsv(replierExportStrategy, queryPage, processor);
      }
    }
    
    return Collections.emptyList();
  }
private static List < String [ ] > exportQueryPageCommentsAsCsv ( ReplierExportStrategy replierExportStrategy , List < QueryReply > replies , PanelStamp stamp , QueryPage queryPage ) { QueryPageHandler queryPageHandler = QueryPageHandlerFactory . getInstance ( ) . buildPageHandler ( queryPage . getPageType ( ) ) ; if ( queryPageHandler != null ) { ReportPageCommentProcessor processor = queryPageHandler . exportComments ( queryPage , stamp , replies ) ; if ( processor != null ) { return exportQueryPageCommentsAsCsv ( replierExportStrategy , queryPage , processor ) ; } } return Collections . emptyList ( ) ; }
Exports single query page into CSV rows

@param replierExportStrategy replier export strategy
@param replies replies to be exported
@param stamp stamp
@param queryPage query page to be exported
@return CSV rows