Package org.apache.struts2.util

# Interface ContentTypeMatcher<E>

All Known Implementing Classes:
  `DefaultContentTypeMatcher`

public interface ContentTypeMatcher<E>
Matches content type of uploaded files, similar to `PatternMatcher`

Since:
  2.3.22

- ## Method Summary

  Modifier and Type
  Method
  Description
  `E`
  `compilePattern(String data)`
  `boolean`
  `match(Map<String,String> map, String data, E expr)`

- ## Method Details

  - ### compilePattern

    E compilePattern(String data)

  - ### match

    boolean match(Map<String,String> map, String data, E expr)