Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`E` | `compilePattern(String data)`
`boolean` | `match(Map<String,String> map, String data, E expr)`

Method Detail

### compilePattern

    E compilePattern(String data)

### match

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.