nnguyen / google-enterprise-connector-manager

Automatically exported from code.google.com/p/google-enterprise-connector-manager
Apache License 2.0
2 stars 1 forks source link

Support for MimeType recognition functionality in SPI #222

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am working on Database Connector development project and come across a
situation where I need to detect the MIME type of BLOB data(byte arrays).
There is similar functionality requirement File System Connector also.
As this is a very common functionality required in most of the connectors ,
it would be great to have this functionality as a part of Utility SPI.

Additional information:
MimeUtil package can be used to recognize MIME type of java.io.File,
java.io.InputStream, java.net.URL and byte arrays. This package has used in
MimeTypeFinder class of File System Connector.

Original issue reported on code.google.com by suresh.g...@gmail.com on 22 Apr 2010 at 7:00

GoogleCodeExporter commented 9 years ago
This is a duplicate of issue 167.

Original comment by jla...@google.com on 22 Apr 2010 at 11:14