interface Selector
File.separatorChar
as separator.Modifier and Type | Method and Description |
---|---|
boolean |
couldHoldSelected(java.lang.String pathname)
Determines whether a directory could contain selected paths.
|
boolean |
isSelected(java.lang.String pathname)
Determines whether a path is selected for deletion.
|
boolean isSelected(java.lang.String pathname)
pathname
- The pathname to test, must not be null
.true
if the given path is selected for deletion, false
otherwise.boolean couldHoldSelected(java.lang.String pathname)
pathname
- The directory pathname to test, must not be null
.true
if the given directory might contain selected paths, false
if the
directory will definitively not contain selected paths..