Class FastaFileFilter

java.lang.Object
javax.swing.filechooser.FileFilter
com.compomics.util.io.file.filefilters.FastaFileFilter

public class FastaFileFilter
extends FileFilter
File filter for *.fasta files.
Author:
Harald Barsnes
  • Constructor Details

  • Method Details

    • accept

      public boolean accept​(File f)
      Accept all directories, *.fasta files.
      Specified by:
      accept in class FileFilter
      Parameters:
      f - the file
      Returns:
      true if the file passes the filter
    • getDescription

      public String getDescription()
      The description of the filter.
      Specified by:
      getDescription in class FileFilter
      Returns:
      String the description of the filter