阅读背景:

如何从Java中的MIME类型确定适当的文件扩展名

来源:互联网 

I am uploading files to an Amazon s3 bucket and have access to the InputStream and a String containing the MIME Type of the file but not the original file name. It's up to me to actually create the file name and extension before pushing the file up to S3. Is there a library or convenient way to determine the appropriate extension to use from the MIME Type? I am uploading files to an Amazon s3 bucket and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: