Profile cover photo
Profile photo
Shidram Jyoti
57 followers
57 followers
About
Shidram's posts

Post has attachment

Post has attachment
Resolve OutOfMemoryError With ExcelExport : Export Excel Utility with Apache POI Stream API (SXSSF)
                                 Whenever we try to export excel of huge data (for ex: around 200000-300000 records), most of the time we end up with OutOfMemoryError:JavaHeapSpace. And also consuming more time to process or export that much of data. Main r...

Post has attachment

Post has attachment
Reading a file while file being written at the same time
Below code describes how to read a file when a particular file is actively being written. Here is a full example. For the below example the mentioned file should be existed in the mentioned path else it will throw FileNotFoundException. import java.io.Buffe...

Post has attachment

Post has attachment

Post has attachment
Java : Reading a File when that file actively being written
Below code describes how to read a file when a particular file is actively being written. Here is a full example. For the below example the mentioned file should be existed in the mentioned path else it will throw FileNotFoundException.

Post has attachment

Post has attachment

Post has attachment
Consider static factory methods instead of constructors
           The normal way for a class to allow a client to obtain an instance of itself is to provide a public constructor. There is another technique that should be a part of every programmer’s toolkit. A class can provide a public static factory method, w...
Wait while more posts are being loaded