Class AllFilesFileSelector
- java.lang.Object
-
- org.codehaus.plexus.components.io.fileselectors.AllFilesFileSelector
-
- All Implemented Interfaces:
FileSelector
public class AllFilesFileSelector extends java.lang.Object implements FileSelector
The default file selector: Selects all files.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ROLE_HINT
The all files selectors role-hint: "all".-
Fields inherited from interface org.codehaus.plexus.components.io.fileselectors.FileSelector
DEFAULT_ROLE_HINT, ROLE
-
-
Constructor Summary
Constructors Constructor Description AllFilesFileSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSelected(FileInfo fileInfo)
Returns, whether the given file is selected.
-
-
-
Field Detail
-
ROLE_HINT
public static final java.lang.String ROLE_HINT
The all files selectors role-hint: "all".- See Also:
- Constant Field Values
-
-
Method Detail
-
isSelected
public boolean isSelected(@Nonnull FileInfo fileInfo)
Description copied from interface:FileSelector
Returns, whether the given file is selected.- Specified by:
isSelected
in interfaceFileSelector
- Parameters:
fileInfo
- An instance of FileInfo with the files meta data. It is recommended, that the caller creates an instance ofPlexusIoResource
.
-
-