james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <server-...@james.apache.org>
Subject [jira] Updated: (MIME4J-60) Configurable strategy for line delimiters
Date Mon, 21 Jul 2008 09:57:31 GMT

     [ https://issues.apache.org/jira/browse/MIME4J-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski updated MIME4J-60:
------------------------------------

    Attachment: newlinestrat.patch

I would like to propose for your consideration a somewhat different approach based on the
strategy pattern. The basic idea is that different newline recognition algorithms can be injected
into various classes using an abstract interface. I converted RootInputStream only for the
moment just to demonstrate the approach.  If the idea gets approved, I will adapt all the
remaining classes.

Oleg

> Configurable strategy for line delimiters
> -----------------------------------------
>
>                 Key: MIME4J-60
>                 URL: https://issues.apache.org/jira/browse/MIME4J-60
>             Project: Mime4j
>          Issue Type: Wish
>    Affects Versions: 0.4
>            Reporter: Stefano Bagnara
>             Fix For: 0.5
>
>         Attachments: MIME4J-60-readLine-returns-no-newline.patch, newlinestrat.patch
>
>
> There is an ongoing discussion about how we should deal with non canonical line endings
(isolated LF and/or isolated CR).
> This issue is to track discussion results and proposed patches.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message