Class ForceFieldFileFilter

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

public final class ForceFieldFileFilter extends FileFilter
The ForceFieldFileFilter class is used to choose a TINKER Parameter file (*.PRM).
Since:
1.0
Author:
Michael J. Schnieders
  • Constructor Details

    • ForceFieldFileFilter

      public ForceFieldFileFilter()
      Default Constructor
  • Method Details

    • accept

      public boolean accept(File file)

      This method return true if the file is a directory or TINKER Parameter file (*.PRM).

      Specified by:
      accept in class FileFilter
    • getDescription

      public String getDescription()

      Provides a description of this FileFilter

      Specified by:
      getDescription in class FileFilter