public class SymlinkSelector extends java.lang.Object implements FileSelector
Executable is defined in terms of Files.isSymbolicLink(java.nio.file.Path)
, this means the selector will
accept any file that exists and is a symbolic link.
Constructor and Description |
---|
SymlinkSelector() |
Modifier and Type | Method and 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isSelected
public boolean isSelected(java.io.File basedir, java.lang.String filename, java.io.File file)
FileSelector
isSelected
in interface FileSelector
basedir
- A java.io.File object for the base directoryfilename
- The name of the file to checkfile
- A File object for this filename