| | | | |

Apache POI api for Java people

Reading Time: < 1 minute
apache poi
apache poi

…it is one of the great tool from the Apache,
1st of all i want to write about what is POI?,why we need POI?.
what is POI?
“Poor Obfuscation Implementation”

why we need POI?
reading and writing files in Microsoft Office formats, such as Word, PowerPoint and Excel using Java.

when i was trying to read the data from the .doc files by normal datainputstream reader , i get some garbage data along with original data.

JavaMix Blog

then i startred searching for resolving this issue..at last i found that this API is very useful to work with microsoft formats.

i worked with only .doc file for  reading data line by line , in next post i will explain how to do that.

you can find more info regarding apache POI at WIKI and at apache project site .

Apache POI api  download from here.

Similar Posts

  • |

    finding the local host ip

    Reading Time: < 1 minutepackage sampleprograms; import java.io.*; import java.net.*; /** * * @author katta vijay */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here try{ String ip =  InetAddress.getLocalHost().getHostAddress(); System.out.println(ip); }catch(Exception e){ } } } —————————————————-output is———————— 10.0.0.223

  • welcome to my Java blog

    Reading Time: < 1 minutehello freiends this is my Java blog, you may seen no.of this kind of blogs but, here iam going to present each concept and program clearly,and here iam going to present some collections like some other good java resources,job openings,and many more.. this is presently what iam thinking to start this web blog, any way…

  • |

    converting system date to required format

    Reading Time: < 1 minutepackage automatedsms; // my package name /** * * @author vijay */ import java.util.Calendar; import java.text.SimpleDateFormat; public class DateUtils { public static String now(String dateFormat) { Calendar cal = Calendar.getInstance(); SimpleDateFormat sdf = new SimpleDateFormat(dateFormat); return sdf.format(cal.getTime()); } public static void main(String arg[]) { // different date formats System.out.println(DateUtils.now(“dd MMMMM yyyy”));   // calling now method…

  • | | |

    Finding the localhost IP

    Reading Time: < 1 minute// package sampleprograms; import java.io.*; import java.net.*; /** * * @author katta vijay */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here try{ String ip =  InetAddress.getLocalHost().getHostAddress(); System.out.println(ip); }catch(Exception e){ } } } —————————————————-output is———————— 10.0.0.223

  • | |

    Apache POI api with JAVA

    Reading Time: 4 minutes    What is Apache POI? Apache POI’s cross-platform Open Source Java APIs allow users to read and write various file formats from the Microsoft Office suite of applications, including Word, PowerPoint, Excel, Outlook, Visio, and Publisher. Apache POI is deployed in many highly-visible environments including CERN, Deutsche Bank, Freddie Mac, IBM, J.P. Morgan, Lawrence…