How to check if directory is empty in Java

  • 19 January 2017
  • ADM

How to check if a directory is empty in Java. Example using list() method of File class.


How to delete directory in Java

  • 19 October 2016
  • ADM

How to delete directory in Java using File.delete() method. Recursive delete is applied if the directory is not empty.


Apache Maven Basic Operations

  • 22 June 2016
  • ADM

Apache Maven Basic Operations contains short description on maven commands like, clean, package, install, deploy, mvn eclipse:eclipse


How to create thread pool in Java

  • 05 April 2016
  • ADM

How to create a simple thread pool in Java using ExecutorService, Executors, ThreadPoolExecutor and RejectedExecutionHandler classes.