org.apache.james.mime4j.descriptor
Interface BodyDescriptor

All Superinterfaces:
ContentDescriptor
All Known Subinterfaces:
MutableBodyDescriptor
All Known Implementing Classes:
DefaultBodyDescriptor, MaximalBodyDescriptor

public interface BodyDescriptor
extends ContentDescriptor

Encapsulates the values of the MIME-specific header fields (which starts with Content-).


Method Summary
 java.lang.String getBoundary()
          Returns the body descriptors boundary.
 
Methods inherited from interface org.apache.james.mime4j.descriptor.ContentDescriptor
getCharset, getContentLength, getContentTypeParameters, getMediaType, getMimeType, getSubType, getTransferEncoding
 

Method Detail

getBoundary

java.lang.String getBoundary()
Returns the body descriptors boundary.

Returns:
Boundary string, if known, or null. The latter may be the case, in particular, if the body is no multipart entity.


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