public class BPListDetector extends Object implements org.apache.tika.detect.Detector
| Constructor and Description |
|---|
BPListDetector() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tika.mime.MediaType |
detect(InputStream input,
org.apache.tika.metadata.Metadata metadata) |
public org.apache.tika.mime.MediaType detect(InputStream input, org.apache.tika.metadata.Metadata metadata) throws IOException
detect in interface org.apache.tika.detect.Detectorinput - input stream must support resetmetadata - input metadata for the documentIOExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.