jbarberan / beanio

Automatically exported from code.google.com/p/beanio
0 stars 0 forks source link

Reading or Writing Fixed Length File without line termination character #122

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
For reading/writing a fixed length file, the file must have a recordTerminator 
character or line separator.
In my case, the file does not contain any recordTerminator character. 
The records in the file can be breaked by using record length only.
Is it possible to provide some option to handle such fixed length files?

I am using BeanIO 2.1 and Java 7.

Original issue reported on code.google.com by amhas...@gmail.com on 2 Oct 2014 at 9:48

GoogleCodeExporter commented 8 years ago
Its trivial to implement your own DelimitedRecordParserFactory that has that 
behavior, but I'll look at adding it into the library.

See 
https://groups.google.com/forum/#!searchin/beanio/fixed$20record$20length/beanio
/3b1SJtXyqBQ/J-VwBq1ERDAJ

Original comment by kevin.s...@gmail.com on 5 Nov 2014 at 2:29