POI

POI api Projects

POI api Project 1

POI Subjective Questions And Answers


Totel:7 Click: 1 2
POI Interview Questions And Answers

Page 1

we know that for using to Event of POI we are constructing an instance of org.apache.poi.hssf.eventmodel.HSSFRequest. and for registering a class we have to create listenerorg.apache.poi.hssf.eventmodel.HSSFListener interface and useHSSFRequest.addListener(yourlistener, recordsid) method. The record sid should be a static reference number (such as BOFRecord.sid) contained in the classes in org.apache.poi.hssf.record.Alternatively we can call HSSFRequest.addListenerForAllRecords(mylistener).

If we can register in listeners in the HSSFRequest object successfully we can construct an instance oforg.apache.poi.poifs.filesystem.FileSystem and pass it our XLS file as inputstream. We can either pass this, along with the request we constructed, to an instance of HSSFEventFactory via theHSSFEventFactory.processWorkbookEvents(request, Filesystem) method, Once we make this call, the listeners that we constructed receive calls to their processRecord(Record) methods with each Record they are registered to listen for until the file has been completely read.


we are going to find the String Values of Cell of  an excel sheet using POI2.5.0 API Event. The class org.apache.poi.hssf.record.LabelSSTRecord extends Record implements CellValueRecordinterface and java.lang.Comparable. this is used  to make reference of a string  and a column value. 

This method is used to give the index in the SSTRecord. and The return type of this getSSTIndex() method is integer (index of string in the SST Table).

This method is used to get the string  value from SSTRecord .


This method is used to find type of object that is marked. This method returns short type of object.



Goto Page:

1 2
POI Objective Questions And Answers

POI Objective Questions And Answers

POI Interview Questions And Answers

POI Interview Questions And Answers


R4R,POI Objective fresher and experienced, POI Subjective fresher and experienced ,POI Interview Questions And Answers,POI fresher and experienced,POI Interview fresher and experienced ,POI Questions fresher and experienced,POI Answers fresher and experienced