Hi all, I want to know if $Subject is possible. My requirement is to retrieve a .car File in the registry and upload it as a CarbonApp using CarbonAppUploader service defined in application-mgt component. The method "resource.getContentStream()" method returns an InputStream. I need to convert this InputStream to a DataHandler since the CarbonAppUploader service requires a DataHandler as an argument. How can I get this done?
Also I noticed a method "resource.getContent()" which returns a Object. Is there a possibility of using this method in order to fulfill my requirement? Thanks, Shariq.
_______________________________________________ Carbon-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
