Package ffx.potential.parsers
Class ARCFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
ffx.potential.parsers.ARCFileFilter
The ARCFileFilter class is used to choose a TINKER Archive (*.ARC).
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ARCFileFilter
public ARCFileFilter()Default Constructor
-
-
Method Details
-
isARC
This is a static version of the accept method.This method return
true
if the file is a directory or TINKER Archive (*.ARC).- Parameters:
file
- The File to examine.- Returns:
- Returns true if this an ARC file.
-
accept
This method return
true
if the file is a directory or TINKER Archive (*.ARC).- Specified by:
accept
in classFileFilter
-
getDescription
Provides a description of this FileFilter
- Specified by:
getDescription
in classFileFilter
-