Obtain information about the document format before opening it to avoid an exception if you are not sure what the actual content of the file is using Java....obtain information about the file type in order to avoid an exception...detected information about the file type. DetectFileFormat only checks...