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 voiddelete()StringgetContentType()InputStreamgetInputStream()StringgetName()OutputStreamgetOutputStream()
-
-
-
Method Detail
-
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
-
delete
public void delete()
-
-