james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject Re: [jira] Updated: (MIME4J-25) [JW#5] Field Name And Value
Date Thu, 09 Aug 2007 19:45:30 GMT
Jochen Wiedmann (JIRA) ha scritto:
>      [ https://issues.apache.org/jira/browse/MIME4J-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
> 
> Jochen Wiedmann updated MIME4J-25:
> ----------------------------------
> 
>     Attachment: mime4j-fieldName.patch
> 
> Proposed patch, adding methods getFieldName() and getFieldValue() to the MimeTokenStream.

The patch seems ok to me. It also fix a problem with the logger.
Just a minor change: the javadocs for the 2 added fields say they return
 a #T_FIELD. I don't know if there is a token name for the name and the
value "alone" but they are not a #T_FIELD, right?

Stefano

>> [JW#5] Field Name And Value
>> ---------------------------
>>
>>                 Key: MIME4J-25
>>                 URL: https://issues.apache.org/jira/browse/MIME4J-25
>>             Project: Mime4j
>>          Issue Type: Wish
>>            Reporter: Robert Burrell Donkin
>>         Attachments: mime4j-fieldName.patch
>>
>>
>> http://mail-archives.apache.org/mod_mbox/james-server-dev/200708.mbox/%3ce75283b10708051908w38b3b7b5l31ef423d33efe014@mail.gmail.com%3e
number 5
>>  5.) Provide methods
>>          public String getFieldName()
>>          public String getFieldValue()
>>       The user of
>>          public String getField()
>>       is forced to parse the returned value in order to obtain the
>> field name and the
>>       value, although the Mime4jTokenStream has already done exactly that.
> 



---------------------------------------------------------------------
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