org.apache.http.entity.mime.content
Class AbstractContentBody

java.lang.Object
  extended by org.apache.james.mime4j.message.AbstractBody
      extended by org.apache.http.entity.mime.content.AbstractContentBody
All Implemented Interfaces:
ContentBody, org.apache.james.mime4j.descriptor.ContentDescriptor, org.apache.james.mime4j.message.Body, org.apache.james.mime4j.message.Disposable
Direct Known Subclasses:
FileBody, InputStreamBody, StringBody

public abstract class AbstractContentBody
extends org.apache.james.mime4j.message.AbstractBody
implements ContentBody


Constructor Summary
AbstractContentBody(java.lang.String mimeType)
           
 
Method Summary
 java.util.Map<?,?> getContentTypeParameters()
           
 java.lang.String getMediaType()
           
 java.lang.String getMimeType()
           
 java.lang.String getSubType()
           
 
Methods inherited from class org.apache.james.mime4j.message.AbstractBody
dispose, getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.http.entity.mime.content.ContentBody
getFilename
 
Methods inherited from interface org.apache.james.mime4j.message.Body
getParent, setParent, writeTo
 
Methods inherited from interface org.apache.james.mime4j.message.Disposable
dispose
 
Methods inherited from interface org.apache.james.mime4j.descriptor.ContentDescriptor
getCharset, getContentLength, getTransferEncoding
 

Constructor Detail

AbstractContentBody

public AbstractContentBody(java.lang.String mimeType)
Method Detail

getMimeType

public java.lang.String getMimeType()
Specified by:
getMimeType in interface org.apache.james.mime4j.descriptor.ContentDescriptor

getMediaType

public java.lang.String getMediaType()
Specified by:
getMediaType in interface org.apache.james.mime4j.descriptor.ContentDescriptor

getSubType

public java.lang.String getSubType()
Specified by:
getSubType in interface org.apache.james.mime4j.descriptor.ContentDescriptor

getContentTypeParameters

public java.util.Map<?,?> getContentTypeParameters()
Specified by:
getContentTypeParameters in interface org.apache.james.mime4j.descriptor.ContentDescriptor


Copyright © 1999-2008 Apache Software Foundation. All Rights Reserved.