[
https://issues.apache.org/jira/browse/IO-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14238707#comment-14238707
]
Sebb commented on IO-464:
-------------------------
Looks like IMF (Internet Message Format) uses a similar continuation scheme,
except tabs and other white-space are allowed [1] for the first character on
the new line.
The allowable continuation characters should be specifiable via parameters.
MIME Quoted-printable uses an "=" sign at the end of the line to represent a
soft line break.
It might be worth supporting this as well.
[1] http://tools.ietf.org/html/rfc5322#section-2.2.3
> Reader to support continuation lines
> ------------------------------------
>
> Key: IO-464
> URL: https://issues.apache.org/jira/browse/IO-464
> Project: Commons IO
> Issue Type: New Feature
> Reporter: Sebb
>
> The iCal format requires long lines to be wrapped.
> This is indicated by starting the next line with a single space
> Java manifest files use the same syntax
> There are probably other instances of this syntax.
> This syntax is trivial to generate, but not as easy to read, as there is only
> indication of the continuation is on the next line. This means that it is
> necessary to use look-ahead to determine if the current line has a
> continuation.
> It would be useful to provide a Reader to support this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)