Detects the content type of the given input document. Returns application/octet-stream if the type of the document can not be detected. If the document input stream is not available, then the first argument may be null . Otherwise the detector may read bytes from the sta
(InputStream input, Metadata metadata)
| 55 | * @throws IOException if the document input stream could not be read |
| 56 | */ |
| 57 | MediaType detect(InputStream input, Metadata metadata) throws IOException; |
| 58 | |
| 59 | } |
no outgoing calls