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 String
getContentType()
InputStream
getInputStream()
String
getName()
OutputStream
getOutputStream()
void
setType(String type)
-
-
-
Constructor Detail
-
InputStreamDataSource
public InputStreamDataSource(InputStream inputStream)
-
-
Method Detail
-
setType
public void setType(String type)
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceDataSource
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in interfaceDataSource
- Throws:
IOException
-
getName
public String getName()
- Specified by:
getName
in interfaceDataSource
-
getOutputStream
public OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStream
in interfaceDataSource
- Throws:
IOException
-
-