1

I'm looking for an abstraction that provides access to the operating system's file system and S3 in the same way. However, it want to be able to set and get the file's mime type explicitly.

In case of the operating system's file system it would just be ignored, in case of S3 it would actually be passed to set the files mime type explicitly.

I did notice the Amazon S3 driver for Apache commons-vfs, but that one doesn't allow me to set the mime type explicitly. In fact, I couldn't even find a way how you could do that in commons-vfs in general. If anybody knows, I'd love to know.

Wilfred Springer
  • 10,869
  • 4
  • 55
  • 69
  • [duplicate](http://stackoverflow.com/questions/1342655/trying-to-set-up-amazon-s3-filesystem-in-apache-commons-vfs-in-java?rq=1)? – hd1 May 07 '13 at 07:39
  • No, not a duplicate. This is not about using commons-vfs. It's about passing mime type, to make sure it's set explicitly on S3. – Wilfred Springer May 07 '13 at 15:25

0 Answers0