Package ffx.potential.parsers
Class XYZFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
ffx.potential.parsers.XYZFileFilter
The XYZFileFilter class is used to choose a TINKER Cartesian Coordinate (*.XYZ) file.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
acceptDeep
(File file) acceptDeepstatic boolean
This is a static version of the accept method.
-
Constructor Details
-
XYZFileFilter
public XYZFileFilter()Public Constructor.
-
-
Method Details
-
isXYZ
This is a static version of the accept method.This method return
true
if the file is a directory or TINKER Cartesian coordinate (*.XYZ) file.- Parameters:
file
- The File to examine.- Returns:
- Returns true if this an XYZ file.
-
accept
This method return
true
if the file is a directory or TINKER Cartesian coordinate (*.XYZ) file.- Specified by:
accept
in classFileFilter
-
acceptDeep
acceptDeep- Parameters:
file
- aFile
object.- Returns:
- a boolean.
-
getDescription
Provides a description of the XYZFileFilter.
- Specified by:
getDescription
in classFileFilter
-