How to copy files in Java

  • 18 January 2017
  • ADM

How to copy files in Java with three examples: Classic method with streams, using FileChannel class and using Files class.


How to read and write files in Java

  • 17 June 2016
  • ADM

How to read and write files in Java using BufferedReader and BufferedWriter. The example highlights the classic resource release and try-with-resource approach.


How to read and write JSON with json-simple

  • 21 April 2016
  • ADM

How to read and write JSON with json-simple library. Full example how to create an object, write it to a file, read it and use it.