Package spark.utils
Class MimeParse
java.lang.Object
spark.utils.MimeParse
MIME-Type Parser
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbestMatch(Collection<String> supported, String header) Finds best match
-
Field Details
-
NO_MIME_TYPE
Constant for no mime type- See Also:
-
-
Method Details
-
bestMatch
Finds best match- Parameters:
supported- the supported typesheader- the header- Returns:
- the best match
-