Class DYNFileFilter

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

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

    • DYNFileFilter

      public DYNFileFilter()
      Default Constructor.
  • Method Details

    • isDYN

      public static boolean isDYN(File file)
      This is a static version of the accept method.

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

      Parameters:
      file - The File to examine.
      Returns:
      Returns true if this an DYN file.
    • accept

      public boolean accept(File file)

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

      Specified by:
      accept in class FileFilter
    • getDescription

      public String getDescription()

      Provides a description of this DYNFileFilter.

      Specified by:
      getDescription in class FileFilter