[
https://issues.apache.org/jira/browse/CSV-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17292170#comment-17292170
]
Holger Brandl commented on CSV-272:
-----------------------------------
I don't mind the appearance, but I'm stuck with an old fix-width-delimited file
from the mid-90s and was hoping to use apache-commons-csv. :-)
I'd also like to support fixed-width-delimited files in krangl, which is a
data-frame library for/in kotlin https://github.com/holgerbrandl/krangl and
which is using commons-csv for file-reading. I [hacked
|https://github.com/holgerbrandl/krangl/commit/65744ccf5dee9b756da7b6fe5e7cb31715bae417#diff-e2fc3be92a3578f8a93fa51930597d181d218627e0c2d144096385a800e7eceeR183]
together some fixed-width support this morning, but to me, such parsing logic
should be better live in a library such as apache-commons-csv.
Unfortunately I don't know enough about the internals of commons-csv to provide
a PR.
> Support fixed-width format
> --------------------------
>
> Key: CSV-272
> URL: https://issues.apache.org/jira/browse/CSV-272
> Project: Commons CSV
> Issue Type: Improvement
> Components: Parser
> Affects Versions: 1.8
> Reporter: Holger Brandl
> Priority: Major
>
> Although not strictly a delimiter format, fixed-width tables are still very
> common. So it would be great if commons-csv would support fixed-width via a
> dedicated format.
> Since jira does not render fixed-delim content correctly, I've deposited an
> example under
> https://gist.github.com/holgerbrandl/26298ae77d53b3393d9d22c73249ab72
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)