Class InstallPear.PEARFilter

  • Enclosing class:
    InstallPear

    protected static class InstallPear.PEARFilter
    extends FileFilter
    The PEARFilter class allows to filter directories, as well as '.tear' and '.pear' files.
    • Constructor Detail

      • PEARFilter

        protected PEARFilter()
    • Method Detail

      • accept

        public boolean accept​(File file)
        Returns true, if the given input file is directory or has 'tear' or 'pear' extension, false otherwise.
        Specified by:
        accept in class FileFilter
        Returns:
        true, if the given input file is directory or has 'tear' or 'pear' extension, false otherwise.
      • getDescription

        public String getDescription()
        Returns the filter description.
        Specified by:
        getDescription in class FileFilter
        Returns:
        The filter description.