public class SendMailWorkitemHandler.InputStreamDataSource extends Object implements DataSource
Constructor and Description |
---|
InputStreamDataSource(InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
public InputStreamDataSource(InputStream inputStream)
public InputStream getInputStream() throws IOException
getInputStream
in interface DataSource
IOException
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface DataSource
IOException
public String getContentType()
getContentType
in interface DataSource
public String getName()
getName
in interface DataSource
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.