public class SuidHelper extends Object
| 构造器和说明 |
|---|
SuidHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
parseFirstColumn(List<String[]> list)
将List
|
static <T> List<T> |
parseToEntity(List<String[]> list,
int startRow,
int endRow,
String[] fieldName,
T entity)
将List里的字符数组转成entity结构.Convert the character array in the list to entity structure.
|
static <T> List<T> |
parseToEntity(List<String[]> list,
int startRow,
int endRow,
String fieldNames,
T entity)
将List里的字符数组转成entity结构.Convert the character array in the list to entity structure.
|
static <T> List<T> |
parseToEntity(List<String[]> list,
int startRow,
String[] fieldName,
T entity)
将List里的字符数组转成entity结构.Convert the character array in the list to entity structure.
|
static <T> List<T> |
parseToEntity(List<String[]> list,
int startRow,
String fieldNames,
T entity)
将List里的字符数组转成entity结构.Convert the character array in the list to entity structure.
|
public static String parseFirstColumn(List<String[]> list)
list - Listpublic static <T> List<T> parseToEntity(List<String[]> list, int startRow, String fieldNames, T entity)
list - 需要转换的字符数组List.List of character arrays to be converted.startRow - 开始行.start row.fieldNames - 字段名(多个用逗号隔开).Field names (multiple separated by commas).entity - 要转成的结构.the structure to be transformed into.public static <T> List<T> parseToEntity(List<String[]> list, int startRow, int endRow, String fieldNames, T entity)
list - 需要转换的字符数组List.List of character arrays to be converted.startRow - 开始行.start row.endRow - 结束行.end row.fieldNames - 字段名(多个用逗号隔开).Field names (multiple separated by commas).entity - 要转成的结构.the structure to be transformed into.public static <T> List<T> parseToEntity(List<String[]> list, int startRow, String[] fieldName, T entity)
list - 需要转换的字符数组List.List of character arrays to be converted.startRow - 开始行.start row.fieldName - 字段名数组.field name array.entity - 要转成的结构.the structure to be transformed into.public static <T> List<T> parseToEntity(List<String[]> list, int startRow, int endRow, String[] fieldName, T entity)
list - 需要转换的字符数组List.List of character arrays to be converted.startRow - 开始行.start row.endRow - 结束行.end row.fieldName - 字段名数组.field name array.entity - 要转成的结构.the structure to be transformed into.Copyright © 2021. All rights reserved.