WindowsJunctionSelector (Apache Ant API)

Package org.apache.tools.ant.types.selectors

## Class WindowsJunctionSelector

- java.lang.Object
- - org.apache.tools.ant.types.selectors.WindowsJunctionSelector

- All Implemented Interfaces:
    `ResourceSelector`, `FileSelector`

      public class WindowsJunctionSelector
      extends java.lang.Object
      implements FileSelector

  A selector that selects Windows junctions.

  The selector will accept any file that exists and is a Windows junction.

  Since:
    Ant 1.10.16

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `WindowsJunctionSelector()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `isSelected​(java.io.File basedir, java.lang.String filename, java.io.File file)` | Method that each selector will implement to create their selection behaviour.

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

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

    - ### Methods inherited from interface org.apache.tools.ant.types.selectors.FileSelector

      `isSelected`

- - ### Constructor Detail

    - #### WindowsJunctionSelector

          public WindowsJunctionSelector()

  - ### Method Detail

    - #### isSelected

          public boolean isSelected​(java.io.File basedir,
                                    java.lang.String filename,
                                    java.io.File file)

      Description copied from interface: `FileSelector`
      Method that each selector will implement to create their selection behaviour. If there is a problem with the setup of a selector, it can throw a BuildException to indicate the problem.
      Specified by:
        `isSelected` in interface `FileSelector`
      Parameters:
        `basedir` - A java.io.File object for the base directory
        `filename` - The name of the file to check
        `file` - A File object for this filename
      Returns:
        whether the file should be selected or not