Class DistanceMatrixFileFilter

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

public final class DistanceMatrixFileFilter extends FileFilter
The DistanceMatrixFileFilter class is used to choose a Distance Matrix (*.DST) file.
Since:
1.0
Author:
Michael J. Schnieders
  • Constructor Details

    • DistanceMatrixFileFilter

      public DistanceMatrixFileFilter()
      Default Constructor.
  • Method Details

    • accept

      public boolean accept(File file)

      This method returns true if the file is a directory or DistanceMatrix (*.DST).

      Specified by:
      accept in class FileFilter
    • getDescription

      public String getDescription()

      Provides a description of this DistanceMatrixFileFilter.

      Specified by:
      getDescription in class FileFilter