public interface MimeTyper
Modifier and Type | Method and Description |
---|---|
ContentType |
type(InputStream inputStream,
String name)
Guesses the mime type for the given content.
|
ContentType type(InputStream inputStream, String name) throws IOException
inputStream
- not nullname
- possibly nullIOException
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.