Following JAVA code will enable us to write PDF files using JAVA API. https://gist.github.com/milindjagre/0065368747a86aa9e7fe688dd2bab60d And following is the pom.xml I am using for achieving this. https://gist.github.com/milindjagre/529006a9bc3d4b213ae728f303b9b90a Following image will show the way my pdf file looks.
Hi guys, Following code will enable us to read Microsoft Word Document file using JAVA API. https://gist.github.com/milindjagre/8495bd3ec78d9ad172d31f5eebf0689b Following is the pom.xml contents https://gist.github.com/milindjagre/7e3c444e55a87d00fdfc9fe053bbc0cf Following is the word file contents Following is the output of code. Thanks for having a read. Do comment below for your queries.
The below code is used for reading excel files using MapReduce API. Entire source code has been taken from this link. ExcelDriver.java https://gist.github.com/milindjagre/84cc1c230ffd10b7ec0b5db5a47f4c80 ExcelInputFormat.java https://gist.github.com/milindjagre/a8f2f35908ad0ce2d0d63a0725e3de4f ExcelMapper.java https://gist.github.com/milindjagre/3a77b5430111ead3eb3f538a5db72210 ExcelParser.java https://gist.github.com/milindjagre/34966d289da2e6d33dfbf0f76fc75271 ExcelRecordReader.java https://gist.github.com/milindjagre/d45935abc259d594e1ed495ca2a67d7a pom.xml https://gist.github.com/milindjagre/f95e366cf4766070652608c05783be0f If you clean and build above project, it will create two jar files, out of which we have to use the jar file … Continue reading Read Excel File using MapReduce