Class FormFileDataSource
java.lang.Object
com.echothree.view.client.web.struts.FormFileDataSource
- All Implemented Interfaces:
javax.activation.DataSource
-
Constructor Summary
ConstructorsConstructorDescriptionFormFileDataSource(org.apache.struts.upload.FormFile formFile) Creates a new instance of FormFileDataSource -
Method Summary
-
Constructor Details
-
FormFileDataSource
Creates a new instance of FormFileDataSource
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin interfacejavax.activation.DataSource- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStreamin interfacejavax.activation.DataSource- Throws:
IOException
-
getContentType
- Specified by:
getContentTypein interfacejavax.activation.DataSource
-
getName
- Specified by:
getNamein interfacejavax.activation.DataSource
-