In this post of JQuery, I will show how to select elements using class selector. Class selector is used to retrieve elements whose class attribute’s value matches with the one specified in the selector. Class selector also selects elements whose class attribute’s value have multiple class name and one of them matches with the one…… Continue reading Selecting elements using Class selector
Month: September 2018
Reading from multiple files using MultiResourceItemReader
In this post of Spring Batch, I will explain how to read from multiple files. We take the help of org.springframework.batch.item.file.MultiResourceItemReader, it reads from multiple file. The MultiResourceItemReader takes two arguments1) list of resources or pattern followed by the multiple source files, from which the data has to be read2) Reference to reader bean which…… Continue reading Reading from multiple files using MultiResourceItemReader
UnMarshalling YAML file to Java Object
This post explains unmarshalling information stored in YAML format to java object . This can be achieved with the help of YAMLMapper provided by jackson package. To explain with an example we will use the below pojo objects Employee package package2; import java.math.BigDecimal; import java.util.List; public class Employee { private String id; private String name;…… Continue reading UnMarshalling YAML file to Java Object
Marshalling Java Object to YAML format
This post explains marshalling a java object to YAML format and storing it to a file. This can be achieved with the help of YAMLMapper provided by jackson package. To explain with an example we will use the below pojo objects. Employee package package2; import java.math.BigDecimal; import java.util.List; public class Employee { private String id;…… Continue reading Marshalling Java Object to YAML format