NotMatcher (FreeMarker 2.3.35 API)
Description: declaration: package: freemarker.cache, class: NotMatcher

Package freemarker.cache

# Class NotMatcher

java.lang.Object
freemarker.cache.TemplateSourceMatcher
freemarker.cache.NotMatcher

public class NotMatcher extends TemplateSourceMatcher
Logical "not" operation on the given matcher.

Since:
  2.3.24

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NotMatcher​(TemplateSourceMatcher matcher)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `matches​(String sourceName, Object templateSource)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NotMatcher

    public NotMatcher​(TemplateSourceMatcher matcher)

- ## Method Details

  - ### matches

    public boolean matches​(String sourceName, Object templateSource) throws IOException
    Throws:
      `IOException`