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


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


How to convert a InputStream object to String object in Java using BufferedReader and InputStreamReader classes.


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


How to convert byte sizes into human readable format using Java. Convert from Kilobyte to Yottabyte.


How to find all files containing a text string on Linux using grep command with exclude/include parameter.