Package ffx.potential.parsers
Class CoordinateFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
ffx.potential.parsers.CoordinateFileFilter
The CoordinateFileFilter class globally determines if a file is a valid coordinate file (PDB, XYZ,
INT, or ARC formats).
- Since:
- 1.0
- Author:
- Michael J. Schnieders, Jacob M. Litman
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CoordinateFileFilter
public CoordinateFileFilter()Public Constructor.
-
-
Method Details
-
accept
This method returns
true
if the file is a valid coordinate file (xyz, pdb).- Specified by:
accept
in classFileFilter
-
acceptDeep
acceptDeep- Parameters:
file
- aFile
object.- Returns:
- Whether a valid coordinate file.
-
getDescription
Provides a description of the CoordinateFileFilter.
- Specified by:
getDescription
in classFileFilter
-