Apache JAMES Mime4j 0.6-redhat-2

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

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.

Apache JAMES Mime4j 0.6-redhat-2

Copyright © 2004-2012 JBoss by Red Hat. All Rights Reserved.