public class ReadableSelector extends java.lang.Object implements FileSelector, ResourceSelector
Readable is defined in terms of java.io.File#canRead, this means the selector will accept any file that exists and is readable by the application.
| Constructor and Description | 
|---|
| ReadableSelector() | 
| 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. | 
| boolean | isSelected(Resource r)Return true if this Resource is selected. | 
public boolean isSelected(java.io.File basedir,
                 java.lang.String filename,
                 java.io.File file)
FileSelectorisSelected in interface FileSelectorbasedir - A java.io.File object for the base directoryfilename - The name of the file to checkfile - A File object for this filenamepublic boolean isSelected(Resource r)
ResourceSelectorisSelected in interface ResourceSelectorr - the Resource to check.