Tag Archives for java

Singleton Design Pattern

“Singleton is one of the simple design pattern among all other design pattern that are available in Java. At any point of time Singleton ensures that JVM creates only one instance for particular class. This may be useful when you need to coordinate the action across the system.” While preparing the class design for model […]

Java : Reading Multiple files from Multiple directories

Reading a file or reading multiple files from a (single)directory is such a easy task in Java. As every Java programmers know how use the method listFiles() to achieve the above mentioned task. Headache comes only when you try to read multiple files from multiple directory. Well in this post I document my simple logic […]