How to convert object to / from JSON using Jackson
How to convert Java object to / from JSON string using Jackson library. Simple example including embedded object.
How to convert object to / from JSON using Gson
How to convert Java object to / from JSON string using Gson library. Simple example including embedded object.
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.
Split URL into components using regex
Split URL into components (protocol, domain, port and uri) using regex in Java. Simple and tested example.
How to format XMLGregorianCalendar
How to format XMLGregorianCalendar object output using SimpleDateFormat class in Java. Simple tested example.
How to get date and time in Java
How to get current date and time in a specific format using Date, Calendar and SimpleDateFormat class.
Search
Other Posts
Follow Us On