Remove the temporal files created for the generation of the Workbook when the API Streaming (SXSSF) has been used. Returns true if is has been done correctly, otherwise no. After the call, the file cannot be modified.

1 excel.Workbook.dispose

<excel.Workbook.dispose>
    <wb /> +
</excel.Workbook.dispose>
Example

Create an excel file, with a sheet called sheet1 and removes the generated temporal files.

Copy
<xsql-script>
    <body>
        <set name='wb'>
             <excel.Workbook />
        </set>
    	<set name="sheet_1">
    	    <excel.Workbook.createSheet name="Sheet 1">
    	        <wb/>
    	    </excel.Workbook.createSheet>
    	</set>
    	<println>
    	    <excel.Workbook.dispose>
    	        <wb/>
    	    </excel.Workbook.dispose>
    	</println>
	</body>
</xsql-script>