org.apache.james.mime4j.descriptor
Interface MutableBodyDescriptor

All Superinterfaces:
BodyDescriptor, ContentDescriptor
All Known Implementing Classes:
DefaultBodyDescriptor, MaximalBodyDescriptor

public interface MutableBodyDescriptor
extends BodyDescriptor

Adds mutator.


Method Summary
 void addField(java.lang.String pFieldName, java.lang.String pFieldValue)
          Adds a field to the body descriptor.
 
Methods inherited from interface org.apache.james.mime4j.descriptor.BodyDescriptor
getBoundary
 
Methods inherited from interface org.apache.james.mime4j.descriptor.ContentDescriptor
getCharset, getContentLength, getContentTypeParameters, getMediaType, getMimeType, getSubType, getTransferEncoding
 

Method Detail

addField

void addField(java.lang.String pFieldName,
              java.lang.String pFieldValue)
Adds a field to the body descriptor.

Parameters:
pFieldName - The fields name.
pFieldValue - The unparsed fields value.


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.