// Path: src/main/java/br/com/tecsinapse/dataio/type/SeparatorType.java
// @Getter
// @AllArgsConstructor
// public enum SeparatorType {
// 
//     TAB("\t"),
//     NONE(""),
//     SPACE(" "),
//     SEMICOLON(";"),
//     COMMA(",");
// 
//     private final String separator;
// 
// }


import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import com.google.common.base.Strings;
import lombok.experimental.UtilityClass;
import br.com.tecsinapse.dataio.type.SeparatorType;
/*
 * Tecsinapse Data Input and Output
 *
 * License: GNU Lesser General Public License (LGPL), version 3 or later
 * See the LICENSE file in the root directory or <http://www.gnu.org/licenses/lgpl-3.0.html>.
 */
package br.com.tecsinapse.dataio.util;





@UtilityClass
public class CsvUtil {

// Path: src/main/java/br/com/tecsinapse/dataio/type/SeparatorType.java
// @Getter
// @AllArgsConstructor
// public enum SeparatorType {
// 
//     TAB("\t"),
//     NONE(""),
//     SPACE(" "),
//     SEMICOLON(";"),
//     COMMA(",");
// 
//     private final String separator;
// 
// }


// Path: src/main/java/br/com/tecsinapse/dataio/util/CsvUtil.java
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import com.google.common.base.Strings;
import lombok.experimental.UtilityClass;
import br.com.tecsinapse.dataio.type.SeparatorType;

/*
 * Tecsinapse Data Input and Output
 *
 * License: GNU Lesser General Public License (LGPL), version 3 or later
 * See the LICENSE file in the root directory or <http://www.gnu.org/licenses/lgpl-3.0.html>.
 */
package br.com.tecsinapse.dataio.util;





@UtilityClass
public class CsvUtil {

    private final String DEFAULT_SEPARATOR_CHAR = SeparatorType.SEMICOLON.getSeparator();