Class INTFileFilter

java.lang.Object
javax.swing.filechooser.FileFilter
ffx.potential.parsers.INTFileFilter

public final class INTFileFilter extends FileFilter
The INTFileFilter class is used to choose TINKER Internal Coordinate (*.INT) files.
Since:
1.0
Author:
Michael J. Schnieders
  • Constructor Details

    • INTFileFilter

      public INTFileFilter()
      Default Constructor.
  • Method Details

    • isINT

      public static boolean isINT(File file)
      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

      public boolean accept(File file)

      This method return true if the file is a directory or matches the extension for TINKER internal coordinates (*.INT).

      Specified by:
      accept in class FileFilter
    • acceptDeep

      public boolean acceptDeep(File parm)
      acceptDeep
      Parameters:
      parm - a File object.
      Returns:
      a boolean.
    • getDescription

      public String getDescription()

      Provides a description of the INTFileFilter.

      Specified by:
      getDescription in class FileFilter