public class HSSFRequest
extends java.lang.Object
HSSFEventFactory
,
HSSFListener
,
HSSFUserException
Constructor and Description |
---|
HSSFRequest()
Creates a new instance of HSSFRequest
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(HSSFListener lsnr,
short sid)
add an event listener for a particular record type.
|
void |
addListenerForAllRecords(HSSFListener lsnr)
This is the equivalent of calling addListener(myListener, sid) for EVERY
record in the org.zkoss.poi.hssf.record package.
|
protected short |
processRecord(Record rec)
Called by HSSFEventFactory, passes the Record to each listener associated with
a record.sid.
|
public void addListener(HSSFListener lsnr, short sid)
lsnr
- for the eventsid
- identifier for the record type this is the .sid static member on the individual records
for example req.addListener(myListener, BOFRecord.sid)addListenerForAllRecords(HSSFListener)
public void addListenerForAllRecords(HSSFListener lsnr)
lsnr
- a single listener to associate with ALL recordsprotected short processRecord(Record rec) throws HSSFUserException
HSSFUserException
- User exception conditionCopyright © 2005-2010 Potix Corporation. All Rights Reserved.