Package ffx.potential.parsers
Class DYNFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
ffx.potential.parsers.DYNFileFilter
The DYNFileFilter class is used to choose a TINKER Restart (*.DYN) file.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DYNFileFilter
public DYNFileFilter()Default Constructor.
-
-
Method Details
-
isDYN
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
This method return
true
if the file is a directory or TINKER Restart file (*.DYN).- Specified by:
accept
in classFileFilter
-
getDescription
Provides a description of this DYNFileFilter.
- Specified by:
getDescription
in classFileFilter
-