Class XPHFileFilter

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

public final class XPHFileFilter extends FileFilter
The XPHFileFilter class is used to choose a XPH Coordinate (*.XPH) file.
Since:
1.0
Author:
Michael J. Schnieders
  • Constructor Details

    • XPHFileFilter

      public XPHFileFilter()
      Public Constructor.
  • Method Details

    • accept

      public boolean accept(File file)

      This method return true if the file is a directory or an XPH coordinate (*.XPH) file.

      Specified by:
      accept in class FileFilter
    • getDescription

      public String getDescription()

      Provides a description of the XPHFileFilter.

      Specified by:
      getDescription in class FileFilter