Package org.apache.axis2.builder
Class DiskFileDataSource
- java.lang.Object
-
- org.apache.axis2.builder.DiskFileDataSource
-
- All Implemented Interfaces:
DataSource
public class DiskFileDataSource extends Object implements DataSource
-
-
Constructor Summary
Constructors Constructor Description DiskFileDataSource(org.apache.commons.fileupload.disk.DiskFileItem diskFileItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
String
getContentType()
InputStream
getInputStream()
String
getName()
OutputStream
getOutputStream()
-
-
-
Method Detail
-
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
-
delete
public void delete()
-
-