public class Attachment extends Object
Constructor and Description |
---|
Attachment() |
Modifier and Type | Method and Description |
---|---|
void |
addHeader(String name,
String value) |
void |
addHeaders(Map<String,String> headers) |
Map<String,String> |
getHeaders() |
String |
getId() |
String |
getMimeType() |
InputStream |
getSourceStream() |
void |
setId(String id) |
void |
setMimeType(String mimeType) |
void |
setSourceStream(InputStream sourceStream) |
public String getId()
public void setId(String id)
public String getMimeType()
public void setMimeType(String mimeType)
public InputStream getSourceStream()
public void setSourceStream(InputStream sourceStream)
Copyright © 2017 JBoss by Red Hat. All rights reserved.