Class FileAndFileFilter

java.lang.Object
com.compomics.util.gui.file_handling.FileAndFileFilter

public class FileAndFileFilter
extends Object
Store the selected file and the file type description.
Author:
Harald Barsnes
  • Constructor Details

    • FileAndFileFilter

      public FileAndFileFilter()
      Empty default constructor
    • FileAndFileFilter

      public FileAndFileFilter​(File file, FileFilter fileFilter)
      Create a new FileAndFileFilter object.
      Parameters:
      file - the selected file
      fileFilter - the file filter
  • Method Details

    • getFile

      public File getFile()
      Returns the file.
      Returns:
      the file
    • setFile

      public void setFile​(File file)
      Set the file.
      Parameters:
      file - the file to set
    • getFileFilter

      public FileFilter getFileFilter()
      Returns the file filter.
      Returns:
      the fileFilter
    • setFileFilter

      public void setFileFilter​(FileFilter fileFilter)
      Set the file filter.
      Parameters:
      fileFilter - the fileFilter to set