Tuesday, January 29, 2008

29thJan'08

Today as there was power shutdown whole day it was very difficult in the whole. It came after 4.30pm only. So I read a novel called The Shattered Helmet by Franklin W.Dixon. It is one of the Hardy Boys novels. The two young detectives and their adventures were very interesting.Finding out the missed Helmet which was the king's possession is the story. Their courage was very great.And little time I solved some of the C Outputs.Since it was long gap I remembered or I can say recollected C.

Wednesday, January 23, 2008

Program2Read Excel File

Today I feel I did a great job. I have written two programs, one is to read an Excel file through a java program and the next is a java program to write an Excel file . While writting the XLReader program I got IOException and BiffException. Then I handled the exceptions and the program works fine. Similarly while writting the XLWriter program I encountered a WriteException then handled and solved it.After a long gap I have done a nice work.

Tuesday, January 22, 2008

JExcelAPI

With a interest to read an excel file from a java program I came to know about JExcelApi. So I downloaded JExcelApiV2_6_6.Actually its a tar file then I extracted it.It contains the tutorial, demo pros. Since I was new to this I just went through the tutorial and got knowledge about the JExcelApi. The first step to read a spread sheet is to create a workbook. Once created this workbook one can access the individual sheets through this workbook.These are zero indexed and the first sheet will be 0 and the second will be 1 and so on.then the spread sheet can be read and can also write. The formats in the Excel can be modified through the APIs available. Now I am dealing with the Demo programs. And will see some more details tomorrow.