Parsing a fixed-width formatted file in Java

后端 未结 10 2006
遥遥无期
遥遥无期 2020-11-28 10:51

I\'ve got a file from a vendor that has 115 fixed-width fields per line. How can I parse that file into the 115 fields so I can use them in my code?

My first thought

10条回答
  •  清酒与你
    2020-11-28 11:29

    I've played arround with fixedformat4j and it is quite nice. Easy to configure converters and the like.

提交回复
热议问题