@ Override public void appendToSheet ( FileColumn [ ] columns , List < String [ ] > lines , String sheetName ) throws IOException { try { XlsWorksheet sheet = getSheet ( sheetName ) ; if ( sheet != null ) appendRows ( ( WritableSheet ) sheet . getSheet ( ) , columns , lines , sheetName ) ; } catch ( WriteException e ) { throw new IOException ( e ) ; } }
Adds the given lines of data to an existing sheet in the workbook .