MIME
type of the content of input file.
@param fileName name of the file.
@param input content of the file.
@param mimeTypeFromMetadata mimetype declared in metadata.
@return the supposed mime type or null
if nothing appropriate found.
MIME
type of the content of input file. The input stream must be resettable.
@param fileName name of the data source.
@param input null
or a resettable input stream containing data.
@param mimeTypeFromMetadata mimetype declared in metadata.
@return the supposed mime type or null
if nothing appropriate found.
@throws IllegalArgumentException if input is not null
and is not resettable.
|
|
|
|