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