How to get date and time in Java

  • 09 May 2016
  • ADM

How to get current date and time in a specific format using Date, Calendar and SimpleDateFormat class.


How to parse Google Search result in Java

  • 26 May 2017
  • ADM

How to parse Google Search result in Java using URLConnection and a regular expression to parse the response. Can be used to check the Google SERP position.


How to create a table using JDBC Statement

  • 24 March 2016
  • ADM

How to create a new table from Java using JDBC Statement in simple steps: connect, get the statement, execute and close.


How to create Builder design pattern in Java

  • 03 November 2016
  • ADM

How to create Builder Design Pattern in Java using simple example and comparison with classic instantiation.


How to create directory in Java

  • 05 April 2016
  • ADM

How to create directory in Java using File.mkdir() and File.mkdirs() methods. Contains multiple examples.


How to get free disk space in Java

  • 05 April 2016
  • ADM

How to get free disk space in Java using File.getFreeSpace(), File.getTotalSpace() and File.getUsableSpace().