Java – How to check if a String is an Integer ?
In this article, we will discuss how to check if a String is an Integer or not using different String literals Check String is an Read More
In this article, we will discuss how to check if a String is an Integer or not using different String literals Check String is an Read More
In this article, we will discuss how to convert Comma-separated string values into List or specifically ArrayList We will illustrate 2 examples for converting comma-separated Read More
In this article, we will discuss how to convert java.util.Date to java.sql.Date and vice-versa 1. java.util.Date class : 2. java.sql.Date class : 3. java.util.Date to Read More
In this article, we will discuss how to convert XML file to JSON file using ObjectMapper or Jackson library 1. Required libraries : 1.1 Maven Read More
In this article, we will discuss how to convert JSON file to XML file using ObjectMapper or Jackson library 1. Required libraries : 1.1 Maven Read More
In this article, we will discuss how to convert JSON file to XML file using JSONObject 1. Required libraries : 1.1 Maven Co-ordinates : 1.2 Read More
In this article, we will discuss how to convert XML file to JSON file using JSONObject 1. Required libraries : 1.1 Maven Co-ordinates : 1.2 Read More
In this article, we will discuss how to convert JSON file to YAML file using ObjectMapper 1. Required libraries : 1.1 Maven Co-ordinates : 1.2 Read More
In this article, we will discuss how to convert YAML file to JSON using ObjectMapper 1. Required libraries : 1.1 Maven Co-ordinates : 1.2 JAR Read More
In this article, we will discuss how to convert YAML file to an Object using ObjectMapper 1. Required libraries : 1.1 Maven Co-ordinates : 1.2 Read More
In this article, we will discuss how to convert an Object to YAML file using ObjectMapper 1. Required libraries : 1.1 Maven Co-ordinates : 1.2 Read More
In this article, we will learn how to iterate over char[] Arrays in different ways Iterate over char[] Arrays : Using Java 8 Stream.chars() method Read More
In this article, we will learn how to convert Roman letters (I, II, III, IV, V, VI, etc.,) into Integer (1, 2, 3, 4, 5, Read More
In this article, we will learn how to count length of last word in a String using String‘s length() method Count length of Last word Read More
In this article, we will learn how to remove last comma (,) from a String using String‘s substring() method and Java 8 Stream Remove last Read More
In this article, we will learn how to convert duplicate characters/occurrences to Uppercase letter in a String In one of the previous article, we already Read More
In this article, we will discuss how to convert first character of every word to uppercase using Java 1.8 version In one of the previous Read More
In this article, we will learn how to convert LocalTime to XMLGregorianCalendar in Java 1.8 version and vice-versa 1. Convert LocalTime to XMLGregorianCalendar : For Read More
In this article, we will learn how to parse an Instant given in String form using Instant.parse() method provided in Java 1.8 version 1. Parse Read More
In this article, we will learn how to convert OffsetDateTime to XMLGregorianCalendar in Java 1.8 version and vice-versa 1. Convert OffsetDateTime to XMLGregorianCalendar : For Read More