org.apache.tools.ant.types.selectors

Class SignedSelector

public class SignedSelector extends DataType implements FileSelector

Selector that chooses files based on whether they are signed or not.

Since: 1.7

Method Summary
booleanisSelected(File basedir, String filename, File file)
The heart of the matter.
voidsetName(String name)
The signature name to check jarfile for.

Method Detail

isSelected

public boolean isSelected(File basedir, String filename, File file)
The heart of the matter. This is where the selector gets to decide on the inclusion of a file in a particular fileset.

Parameters: basedir not used by this selector filename not used by this selector file path to file to be selected

Returns: whether the file should be selected or not

setName

public void setName(String name)
The signature name to check jarfile for.

Parameters: name signature to look for.