Class SignedSelector

All Implemented Interfaces:
Cloneable, ResourceSelector, FileSelector

public class SignedSelector extends DataType implements FileSelector
Selector that chooses files based on whether they are signed or not.
  • Constructor Details

    • SignedSelector

      public SignedSelector()
  • Method Details

    • setName

      public void setName(String name)
      The signature name to check jarfile for.
      name - signature to look for.
    • 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.
      Specified by:
      isSelected in interface FileSelector
      basedir - not used by this selector
      filename - not used by this selector
      file - path to file to be selected
      whether the file should be selected or not