public class HSSFRequest extends Object
HSSFEventFactory
,
HSSFListener
,
EFHSSF
,
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 equivilent of calling addListener(myListener, sid) for EVERY
record in the loci.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 © 2014 Open Microscopy Environment