public class NaiveMIMETypeDetector extends Object implements MIMETypeDetector
MIMETypeDetector based
on file extensions.| Constructor and Description |
|---|
NaiveMIMETypeDetector() |
| Modifier and Type | Method and Description |
|---|---|
MIMEType |
guessMIMEType(String fileName,
InputStream input,
MIMEType mimeTypeFromMetadata) |
public MIMEType guessMIMEType(String fileName, InputStream input, MIMEType mimeTypeFromMetadata)
guessMIMEType in interface MIMETypeDetectorCopyright © 2010–2018 The Apache Software Foundation. All rights reserved.