org.apache.http.entity.mime
Class FormBodyPart
java.lang.Object
org.apache.james.mime4j.message.Entity
org.apache.james.mime4j.message.BodyPart
org.apache.http.entity.mime.FormBodyPart
public class FormBodyPart
- extends org.apache.james.mime4j.message.BodyPart
An extension of the mime4j standard BodyPart
class that
automatically populates the header with standard fields based
on the content description of the enclosed body.
- Author:
- Oleg Kalnichevski
Methods inherited from class org.apache.james.mime4j.message.Entity |
getBody, getCharset, getContentTransferEncoding, getHeader, getMimeType, getParent, isMimeType, isMultipart, setBody, setHeader, setParent, writeTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormBodyPart
public FormBodyPart(java.lang.String name,
ContentBody body)
getName
public java.lang.String getName()
generateContentDisp
protected void generateContentDisp(ContentBody body)
generateContentType
protected void generateContentType(org.apache.james.mime4j.descriptor.ContentDescriptor desc)
generateTransferEncoding
protected void generateTransferEncoding(org.apache.james.mime4j.descriptor.ContentDescriptor desc)
Copyright © 1999-2008 Apache Software Foundation. All Rights Reserved.