public class AttachmentDataSource extends Object implements DataSource
| Constructor and Description |
|---|
AttachmentDataSource(String ctParam,
InputStream inParam) |
| Modifier and Type | Method and Description |
|---|---|
void |
cache(Message message) |
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
void |
hold(Message message) |
boolean |
isCached() |
void |
release() |
void |
setName(String name) |
public AttachmentDataSource(String ctParam, InputStream inParam)
public boolean isCached()
public void cache(Message message) throws IOException
IOExceptionpublic void hold(Message message) throws IOException
IOExceptionpublic void release()
public String getContentType()
getContentType in interface DataSourcepublic InputStream getInputStream()
getInputStream in interface DataSourcepublic String getName()
getName in interface DataSourcepublic void setName(String name)
public OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionApache CXF