Java - How to get the mime type of a file from its stream? -
this question has answer here:
- getting file's mime type in java 16 answers
is possible content type/mime type of file file read stream stored location.
i bit new file , stuffs, searching day long couldn't have needed.
please me out of this. in advance
edit:- edit:
guys comments.
my java version 6 , can't trust filename mime type.
use this:
files.probecontenttype(path)
by way question duplicate of this post. please check thoroughly before asking next question.
Comments
Post a Comment