diff --git a/libraries-data-2/pom.xml b/libraries-data-2/pom.xml
index 73c5452f77..cbb24edd3f 100644
--- a/libraries-data-2/pom.xml
+++ b/libraries-data-2/pom.xml
@@ -116,6 +116,11 @@
slf4j-log4j12
${slf4j.version}
+
+ com.univocity
+ univocity-parsers
+ ${univocity.version}
+
org.awaitility
awaitility
@@ -175,6 +180,7 @@
3.6.2
1.7.25
3.0.0
+ 2.8.4
RELEASE
3.0
1.8.1
diff --git a/libraries-data-2/src/main/java/com/baeldung/univocity/OutputService.java b/libraries-data-2/src/main/java/com/baeldung/univocity/OutputService.java
new file mode 100644
index 0000000000..b316a602ad
--- /dev/null
+++ b/libraries-data-2/src/main/java/com/baeldung/univocity/OutputService.java
@@ -0,0 +1,80 @@
+package com.baeldung.univocity;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
+import java.util.List;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import com.baeldung.univocity.model.Product;
+import com.univocity.parsers.common.processor.BeanWriterProcessor;
+import com.univocity.parsers.csv.CsvWriter;
+import com.univocity.parsers.csv.CsvWriterSettings;
+import com.univocity.parsers.fixed.FixedWidthFields;
+import com.univocity.parsers.fixed.FixedWidthWriter;
+import com.univocity.parsers.fixed.FixedWidthWriterSettings;
+import com.univocity.parsers.tsv.TsvWriter;
+import com.univocity.parsers.tsv.TsvWriterSettings;
+
+public class OutputService {
+ private Logger logger = LoggerFactory.getLogger(ParsingService.class);
+
+ public enum OutputType {
+ CSV, TSV, FIXED_WIDTH
+ };
+
+ public boolean writeData(List