我想使用Bindy來映射對象列表。 ,比如我有X類: @CsvRecord(separator = ",")
public class User {
protected List<Skill> skills;
}
public class Skill {
protected String name;
}
我該如何映射從CSV技能列表數據如下文件: skill1
我有兩個類CommonRequest和AccountRequest @FixedLengthRecord(paddingChar=' ',ignoreTrailingChars=true)
public class CommonRequest {
@Id
private String corelationID;
@DataField(pos=1,length=8)
private S
我有以下駱駝路線: from(inputDirectory)
.unmarshal(jaxb)
.process(jaxb2CSVDataProcessor)
.split(body()) //because there is a list of CSVRecords
.marshal(bindyCsvDataFormat)
.to(outputD