// 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 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;


/**
 * Representa cada coluna de uma linha no arquivo {@code .txt}
 * <br><br>
 * Exemplo de criação de um FieldTxt:
 *
 * <pre>
 * {@code
 *     FieldTxt.newBuilder()
 *          .withContent("12345")
 *          .withAlign(FieldTxtAlign.RIGHT)
 *          .withFixedSize(20)
 *          .withFiller("0")
 *          .withSeparator(SeparatorTxt.TAB)
 *          .build();
 * }
 * </pre>
 * Valores padrões:
 *
 * <ul>
 * <li>separator: Separator.NONE</li>
 * <li>fixedSize: 0</li>
 * <li>filler: ' '</li>
 * <li>align: FieldTxtAlign.LEFT</li>
 * </ul>
 */
public class FieldTxt {

    private String content;
    private FieldTxtAlign align;
// 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/FieldTxt.java
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;


/**
 * Representa cada coluna de uma linha no arquivo {@code .txt}
 * <br><br>
 * Exemplo de criação de um FieldTxt:
 *
 * <pre>
 * {@code
 *     FieldTxt.newBuilder()
 *          .withContent("12345")
 *          .withAlign(FieldTxtAlign.RIGHT)
 *          .withFixedSize(20)
 *          .withFiller("0")
 *          .withSeparator(SeparatorTxt.TAB)
 *          .build();
 * }
 * </pre>
 * Valores padrões:
 *
 * <ul>
 * <li>separator: Separator.NONE</li>
 * <li>fixedSize: 0</li>
 * <li>filler: ' '</li>
 * <li>align: FieldTxtAlign.LEFT</li>
 * </ul>
 */
public class FieldTxt {

    private String content;
    private FieldTxtAlign align;
    private SeparatorType separator;