public class MimeParse extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NO_MIME_TYPE
Constant for no mime type
|
| Modifier and Type | Method and Description |
|---|---|
static String |
bestMatch(Collection<String> supported,
String header)
Finds best match
|
public static final String NO_MIME_TYPE
public static String bestMatch(Collection<String> supported, String header)
supported - the supported typesheader - the headerCopyright © 2016. All rights reserved.