tags:

views:

26

answers:

0

Hi

I need to insert(embed) a file object (.txt file) in MS excel sheet using java. The requirement is not to put the contents of .txt file into excel. Instead i need to put the whole file as an embedded object into excel. I am using Apache Poi jar for this.

I have seen all the examples present in poi-3.7-beta1 but was not able to find any example, to insert(embed) a file object in excel sheet. I have seen POIFSFileSystem classes but was not able to find the appropriate class to use for this problem. I am facing issue in embedding file object into excel. Please help me doing this using Apache POI or any other jar. This is very urgent. Please explain with example(code snippet).

Thanks Jyoti