How to read and write files in Java
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 CSV file in Java
How to parse CSV file in Java and display all the value.The solution treats the case when a column contains the delimiter and the double quote character.
How to format XMLGregorianCalendar
How to format XMLGregorianCalendar object output using SimpleDateFormat class in Java. Simple tested example.
How to read and write JSON with json-simple
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.
Luhn algorithm implementation in Java
Luhn algorithm implementation in Java with example for both calculate the check digit and validate the number.
How to parse Google Search result in Java
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.