public class TikaContentTypeDetect extends Object implements ContentTypeDetect
| 构造器和说明 |
|---|
TikaContentTypeDetect() |
public String detect(File file) throws IOException
detect 在接口中 ContentTypeDetectIOExceptionpublic String detect(byte[] bytes)
detect 在接口中 ContentTypeDetectpublic String detect(byte[] bytes, String filename)
detect 在接口中 ContentTypeDetectpublic String detect(InputStream in, String filename) throws IOException
detect 在接口中 ContentTypeDetectIOExceptionCopyright © 2023. All rights reserved.