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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanacceptDeep(File parm) acceptDeepstatic booleanThis 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
trueif 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
trueif the file is a directory or matches the extension for TINKER internal coordinates (*.INT).- Specified by:
acceptin classFileFilter
-
acceptDeep
acceptDeep- Parameters:
parm- aFileobject.- Returns:
- a boolean.
-
getDescription
Provides a description of the INTFileFilter.
- Specified by:
getDescriptionin classFileFilter
-