Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-integrators] Download Attachment

Tiago,

From the Mylyn framework perspective your best solution is to implement the AbstractAttachmentHandler.getAttachmentAsStream() method. So you must provide an InputStream source for the attachment on your repository. If you have a look at the bugzilla source you will see an example of how this is achieved using HttpClient's Get method (BugzillaClient.getAttachmentData()). If this doesn't get you started, consider posting more details about the api offered by your repository.

-Rob

Tiago Augusto wrote:

Hi to all, I need to download de attachment, that I send to my repository but I can’t figured out how I can do that. Anyone know the point I need do implement do make this works? Any help is welcome.

My repository is form my company, so it is not bugzilla or other, I am developing a new integration.

Tiago Augusto Nogueira Coelho

eCompany Process - Scrum Master

+55 (31) 3555-0050

tiago@xxxxxxxxxxxxxxxxx <mailto:tiago@xxxxxxxxxxxxxxxxx>

Powerlogic S.A.

------------------------------------------------------------------------

_______________________________________________
mylyn-integrators mailing list
mylyn-integrators@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-integrators


--
Robert Elves
Mylyn Committer, http://eclipse.org/mylyn



Back to the top