public class AddressableEntity
extends java.lang.Object
implements org.apache.james.mime4j.dom.Entity
Constructor and Description |
---|
AddressableEntity(org.apache.james.mime4j.dom.Entity e,
java.lang.String mimeAddress) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
org.apache.james.mime4j.dom.Body |
getBody() |
java.lang.String |
getCharset() |
java.lang.String |
getContentTransferEncoding() |
java.lang.String |
getDispositionType() |
java.lang.String |
getFilename() |
static java.lang.String |
getFileName(org.apache.james.mime4j.dom.Entity e) |
org.apache.james.mime4j.dom.Header |
getHeader() |
java.lang.String |
getMimeAddress() |
java.lang.String |
getMimeType() |
org.apache.james.mime4j.dom.Entity |
getParent() |
boolean |
isMultipart() |
org.apache.james.mime4j.dom.Body |
removeBody() |
void |
setBody(org.apache.james.mime4j.dom.Body body) |
void |
setHeader(org.apache.james.mime4j.dom.Header header) |
void |
setParent(org.apache.james.mime4j.dom.Entity parent) |
public AddressableEntity(org.apache.james.mime4j.dom.Entity e, java.lang.String mimeAddress)
public org.apache.james.mime4j.dom.Entity getParent()
getParent
in interface org.apache.james.mime4j.dom.Entity
public void dispose()
dispose
in interface org.apache.james.mime4j.dom.Disposable
public void setParent(org.apache.james.mime4j.dom.Entity parent)
setParent
in interface org.apache.james.mime4j.dom.Entity
public org.apache.james.mime4j.dom.Header getHeader()
getHeader
in interface org.apache.james.mime4j.dom.Entity
public void setHeader(org.apache.james.mime4j.dom.Header header)
setHeader
in interface org.apache.james.mime4j.dom.Entity
public org.apache.james.mime4j.dom.Body getBody()
getBody
in interface org.apache.james.mime4j.dom.Entity
public void setBody(org.apache.james.mime4j.dom.Body body)
setBody
in interface org.apache.james.mime4j.dom.Entity
public org.apache.james.mime4j.dom.Body removeBody()
removeBody
in interface org.apache.james.mime4j.dom.Entity
public boolean isMultipart()
isMultipart
in interface org.apache.james.mime4j.dom.Entity
public java.lang.String getMimeType()
getMimeType
in interface org.apache.james.mime4j.dom.Entity
public java.lang.String getCharset()
getCharset
in interface org.apache.james.mime4j.dom.Entity
public java.lang.String getContentTransferEncoding()
getContentTransferEncoding
in interface org.apache.james.mime4j.dom.Entity
public java.lang.String getDispositionType()
getDispositionType
in interface org.apache.james.mime4j.dom.Entity
public java.lang.String getFilename()
getFilename
in interface org.apache.james.mime4j.dom.Entity
public static java.lang.String getFileName(org.apache.james.mime4j.dom.Entity e)
public java.lang.String getMimeAddress()
Copyright © 2021. All Rights Reserved.