How do I manually set the mime type for an attached file?

John Zukowski

You'll need to subclass FileDataSource and override its getContentType() method to return your desired type.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact