public class AllFilesFileSelector extends Object implements FileSelector
Modifier and Type | Field and Description |
---|---|
static String |
ROLE_HINT
The all files selectors role-hint: "all".
|
DEFAULT_ROLE_HINT, ROLE
Constructor and Description |
---|
AllFilesFileSelector() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSelected(FileInfo fileInfo)
Returns, whether the given file is selected.
|
public static final String ROLE_HINT
public boolean isSelected(@Nonnull FileInfo fileInfo)
FileSelector
isSelected
in interface FileSelector
fileInfo
- An instance of FileInfo with the files meta data.
It is recommended, that the caller creates an instance
of PlexusIoResource
.Copyright © 2001–2019 Codehaus Plexus. All rights reserved.