void function ( HSSFListener arg0 ) { short [ ] loc0 = RecordFactory . getAllKnownRecordSIDs ( ) ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { addListener ( arg0 , loc0 [ loc1 ] ) ; } }
this is the equivalent of calling addlistener mylistener , sid for every record in the org.apache.poi.hssf.record package . this is for lazy people like me . you can call this more than once with more than one listener , but that seems like a bad thing to do from a practice-perspective unless you have a compelling reason to do so like maybe you send the event two places or log it or something ? . concode_field_sep Map<Short,List<HSSFListener>> _records concode_field_sep short processRecord concode_elem_sep void addListener