public interface MimeTyper
| Modifier and Type | Method and Description |
|---|---|
ContentType |
type(java.io.InputStream inputStream,
java.lang.String name)
Guesses the mime type for the given content.
|
ContentType type(java.io.InputStream inputStream, java.lang.String name) throws java.io.IOException
inputStream - not nullname - possibly nulljava.io.IOException - in case of I/O errors.