Mime Type Detection Utility for Email System Utilities Publisher's description
This utility will enable Java programs to detect MIME types based on file extensions, magic data, globbing and content sniffing
It currently supports detection for java.io.InputStream, java.io.File, java.net.URL and byte arrays.
MimeDetector provides algorithms for detecting MIME types using various sources.
Each MimeDetector is designed to use a single algorithm that detects the MIME type(s) from a file's name (using globbing), a file's extension, or from the content read from an InputStream or byte array.
What's New in This Release:В· Updated the MagicMimeMimeDetector to fix the problem with the byte values
В· Added a new unit test for the MagicMimeMimeDetector
В· Added a new test file to the test files directory with the byte sequence for AFP files to test the fix as reported.
Program Release Status: Major Update
Program Install Support: Install Only