WarWatcher.WarFilter (Apache Tomcat 10.1.57 API Documentation)
Description: declaration: package: org.apache.catalina.ha.deploy, class: WarWatcher, class: WarFilter

# Class WarWatcher.WarFilter

java.lang.Object
org.apache.catalina.ha.deploy.WarWatcher.WarFilter

All Implemented Interfaces:
  `FilenameFilter`

Enclosing class:
  `WarWatcher`

protected static class WarWatcher.WarFilter extends Object implements FilenameFilter
File name filter for war files

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WarFilter()`
  Constructs a new WarFilter.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `accept(File path, String name)`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### WarFilter

    public WarFilter()
    Constructs a new WarFilter.

- ## Method Details

  - ### accept

    public boolean accept(File path, String name)
    Specified by:
      `accept` in interface `FilenameFilter`