|
|
-
The detect api and rfc822Ramachandran, Karthik 2012-03-09, 15:56
Hi,
I'm trying to detect an email with Tika's auto dectet api. However I keep getting back an "application/octet-stream" as the mime type: Tika tika = new Tika(); InputStream document = new InputStream(new File(...)); String mimeType = tika.detect(document); Thanks, Karthik |