Package spark.utils

Class MimeParse

java.lang.Object
spark.utils.MimeParse

public class MimeParse extends Object
MIME-Type Parser
  • Field Details

  • Method Details

    • bestMatch

      public static String bestMatch(Collection<String> supported, String header)
      Finds best match
      Parameters:
      supported - the supported types
      header - the header
      Returns:
      the best match