SelectorScanner (Apache Ant API)
Description: declaration: package: org.apache.tools.ant.types.selectors, interface: SelectorScanner

# Interface SelectorScanner

All Known Implementing Classes:
  `ArchiveScanner, DependScanner, DirectoryScanner, FTP.FTPDirectoryScanner, FTPTaskMirrorImpl.FTPDirectoryScanner, TarScanner, ZipScanner`

public interface SelectorScanner
An interface used to describe the actions required by any type of directory scanner that supports Selectors.

Since:
  1.5

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String[]`
  `getDeselectedDirectories()`
  Directories which were selected out of a scan.
  `String[]`
  `getDeselectedFiles()`
  Files which were selected out of a scan.
  `void`
  `setSelectors(FileSelector[] selectors)`
  Sets the selectors the scanner should use.

- ## Method Details

  - ### setSelectors

    void setSelectors(FileSelector[] selectors)
    Sets the selectors the scanner should use.
    Parameters:
      `selectors` - the list of selectors

  - ### getDeselectedDirectories

    String[] getDeselectedDirectories()
    Directories which were selected out of a scan.
    Returns:
      list of directories not selected

  - ### getDeselectedFiles

    String[] getDeselectedFiles()
    Files which were selected out of a scan.
    Returns:
      list of files not selected