public interface FileSelector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ROLE_HINT
The default role-hint: "default".
|
static java.lang.String |
ROLE
Role used to register component implementations with the container.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSelected(FileInfo fileInfo)
Returns, whether the given file is selected.
|
static final java.lang.String ROLE
static final java.lang.String DEFAULT_ROLE_HINT
boolean isSelected(@Nonnull FileInfo fileInfo) throws java.io.IOException
fileInfo
- An instance of FileInfo with the files meta data.
It is recommended, that the caller creates an instance
of PlexusIoResource
.java.io.IOException