public class AttachmentImpl extends Object implements Attachment
Constructor and Description |
---|
AttachmentImpl(String idParam) |
AttachmentImpl(String idParam,
DataHandler handlerParam) |
Modifier and Type | Method and Description |
---|---|
DataHandler |
getDataHandler() |
String |
getHeader(String name) |
Iterator<String> |
getHeaderNames() |
String |
getId() |
boolean |
isXOP()
Whether or not this is an XOP package.
|
void |
setDataHandler(DataHandler dataHandler) |
void |
setHeader(String name,
String value) |
void |
setXOP(boolean xopParam) |
public AttachmentImpl(String idParam)
public AttachmentImpl(String idParam, DataHandler handlerParam)
public String getId()
getId
in interface Attachment
public DataHandler getDataHandler()
getDataHandler
in interface Attachment
public void setDataHandler(DataHandler dataHandler)
public String getHeader(String name)
getHeader
in interface Attachment
public Iterator<String> getHeaderNames()
getHeaderNames
in interface Attachment
public boolean isXOP()
Attachment
isXOP
in interface Attachment
public void setXOP(boolean xopParam)
Copyright © 2016 JBoss by Red Hat. All rights reserved.