public class MimeTypeFinder extends Object
| Constructor and Description |
|---|
MimeTypeFinder() |
| Modifier and Type | Method and Description |
|---|---|
static Collection |
findMimeTypes(byte[] fileAsByteArray)
Find mime types of a file.
|
static Collection |
findMimeTypes(File f)
Find mime types of a file.
|
public static Collection findMimeTypes(File f) throws Exception
f - - fileExceptionpublic static Collection findMimeTypes(byte[] fileAsByteArray)
fileAsByteArray - the file as a byte arrayCopyright © 2017. All rights reserved.