Package overit.geocall.mail
Class ResourceDataSource
java.lang.Object
overit.geocall.mail.ResourceDataSource
- All Implemented Interfaces:
DataSource
This class create a resource data source from a web resource
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of ResourceDataSource -
Method Summary
-
Field Details
-
_wr
-
-
Constructor Details
-
ResourceDataSource
Creates a new instance of ResourceDataSource- Parameters:
wr- The WebResource
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceDataSource
-
getContentType
- Specified by:
getContentTypein interfaceDataSource
-
getOutputStream
- Specified by:
getOutputStreamin interfaceDataSource
-
getInputStream
- Specified by:
getInputStreamin interfaceDataSource
-