Class FFXFileFilter

java.lang.Object
javax.swing.filechooser.FileFilter
ffx.potential.parsers.FFXFileFilter

public final class FFXFileFilter extends FileFilter
The FFXFileFilter class is used to choose Force Field X script (*.FFX) files.
Since:
1.0
Author:
Michael J. Schnieders
  • Constructor Details

    • FFXFileFilter

      public FFXFileFilter()
      Default Constructor.
  • Method Details

    • accept

      public boolean accept(File file)

      This method return true if the file is a directory or Force Field X script (*.FFX).

      Specified by:
      accept in class FileFilter
    • getDescription

      public String getDescription()

      Provides a description of the FFXFileFilter.

      Specified by:
      getDescription in class FileFilter