
com.gitee.cliveyuan.tools.data.csv.CsvReader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-tools Show documentation
Show all versions of java-tools Show documentation
Some commonly used methods in java
package com.gitee.cliveyuan.tools.data.csv;
import lombok.Builder;
import lombok.Data;
import java.io.Serializable;
import java.nio.charset.StandardCharsets;
/**
* @author Clive Yuan
* @date 2020/06/22
*/
@Data
@Builder
public class CsvReader implements Serializable {
/**
* csv文件绝对路径
*/
private String filePath;
/**
* 跳过的行数
*/
@Builder.Default
private int skipRowNo = 1;
/**
* 编码格式: 默认UTF-8
*/
@Builder.Default
private String encoding = StandardCharsets.UTF_8.displayName();
/**
* 数据对应的类
*/
private Class clazz;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy