On 8/9/07, Stefano Bagnara <[EMAIL PROTECTED]> wrote:
> 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?

    /**
     * This method is valid, if [EMAIL PROTECTED] #getState()} returns [EMAIL 
PROTECTED] #T_FIELD}.
     * @return String with the fields value.
     * @throws IllegalStateException [EMAIL PROTECTED] #getState()} returns 
another
     *   value than [EMAIL PROTECTED] #T_FIELD}.
     */

the link is the in the throws and looks ok to me

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to