Class InputStreamDataSource
- java.lang.Object
-
- org.apache.axis2.builder.unknowncontent.InputStreamDataSource
-
- All Implemented Interfaces:
DataSource
public class InputStreamDataSource extends Object implements DataSource
-
-
Constructor Summary
Constructors Constructor Description InputStreamDataSource(InputStream inputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentType()InputStreamgetInputStream()StringgetName()OutputStreamgetOutputStream()voidsetType(String type)
-
-
-
Constructor Detail
-
InputStreamDataSource
public InputStreamDataSource(InputStream inputStream)
-
-
Method Detail
-
setType
public void setType(String type)
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceDataSource
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStreamin interfaceDataSource- Throws:
IOException
-
getName
public String getName()
- Specified by:
getNamein interfaceDataSource
-
getOutputStream
public OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStreamin interfaceDataSource- Throws:
IOException
-
-