public interface SheetListener
SheetListener is an object that has an opportunity to inspect
a Sheet as it's being transformed, with access to the
Sheet and the current Map of beans.| Modifier and Type | Method | Description |
|---|---|---|
boolean |
beforeSheetProcessed(SheetEvent event) |
Called immediately before a
Sheet is about to be processed. |
void |
sheetProcessed(SheetEvent event) |
Called when a
Sheet has been processed. |
boolean beforeSheetProcessed(SheetEvent event)
Sheet is about to be processed.
The given SheetEvent contains the following related data: a
reference to the Sheet that is about to be processed and a
Map of bean names to bean values that will be used.event - A SheetEvent.boolean that indicates whether the
Sheet should be processed. true to process
the Sheet as normal, and false to skip the
processing of the Sheet. Note that only one
SheetListener needs to return false to
prevent the processing of the Sheet.void sheetProcessed(SheetEvent event)
Sheet has been processed. The given
SheetEvent contains the following related data: a reference
to the Sheet that was processed and a Map of
bean names to bean values that was used.event - The SheetEvent.Copyright © 2012–2018 Jett Team. All rights reserved.