// 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.util.ArrayList;
import java.util.List;
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.txt;



public class FileTxt {

    private List<List<FieldTxt>> fields = new ArrayList<>();
    private boolean endsWithSeparator = false;

    public void addNewLine() {
        fields.add(new ArrayList<>());
    }

    public void add(String content) {
        add(FieldTxt.newBuilder()
                .withContent(content)
                .build());
    }

    public void addTabbed(String content) {
        add(FieldTxt.newBuilder()
// 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/txt/FileTxt.java
import java.util.ArrayList;
import java.util.List;
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.txt;



public class FileTxt {

    private List<List<FieldTxt>> fields = new ArrayList<>();
    private boolean endsWithSeparator = false;

    public void addNewLine() {
        fields.add(new ArrayList<>());
    }

    public void add(String content) {
        add(FieldTxt.newBuilder()
                .withContent(content)
                .build());
    }

    public void addTabbed(String content) {
        add(FieldTxt.newBuilder()
                .withSeparator(SeparatorType.TAB)