org.codehaus.plexus.components.io.fileselectors
Interface FileSelector

All Known Implementing Classes:
AllFilesFileSelector, IncludeExcludeFileSelector

public interface FileSelector

Interface of a component, which selects/deselects files.


Field Summary
static String DEFAULT_ROLE_HINT
          The default role-hint: "default".
static String ROLE
          Role used to register component implementations with the container.
 
Method Summary
 boolean isSelected(FileInfo fileInfo)
          Returns, whether the given file is selected.
 

Field Detail

ROLE

static final String ROLE
Role used to register component implementations with the container.


DEFAULT_ROLE_HINT

static final String DEFAULT_ROLE_HINT
The default role-hint: "default".

See Also:
Constant Field Values
Method Detail

isSelected

boolean isSelected(FileInfo fileInfo)
                   throws IOException
Returns, whether the given file is selected.

Parameters:
An - instance of FileInfo with the files meta data. It is recommended, that the caller creates an instance of PlexusIoResource.
Throws:
IOException


Copyright © 2001-2011 Codehaus. All Rights Reserved.