public class TypeDetector extends java.lang.Object implements Detector
| Constructor and Description |
|---|
TypeDetector() |
| Modifier and Type | Method and Description |
|---|---|
MediaType |
detect(java.io.InputStream input,
Metadata metadata)
Detects the content type of an input document based on a type hint
given in the input metadata.
|
public MediaType detect(java.io.InputStream input, Metadata metadata)
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"