public void writeLargeTemplateSpreadsheetDownloadFile ( List < TemplateTokenInfo > tokenNames , int entryCount , TemplateVariables constants , String filePath ) throws TemplateException { prepareWriter ( filePath ) ; writeDownloadSpreadsheetHeader ( tokenNames ) ; for ( int i = 1 ; i < entryCount + 1 ; i ++ ) { writeSpreadsheetVariableRow ( tokenNames , i , constants ) ; } flushAndCloseWriter ( ) ; }
Used to write spreadsheets where entry number exceeds the MEGABULK size . Does not use the variables map stored in the database just writes constants .