Class IgnoredFiles


  • public class IgnoredFiles
    extends java.lang.Object
    This class serves as a container of patterns of filenames that should be ignored.
    • Constructor Summary

      Constructors 
      Constructor Description
      IgnoredFiles​(java.io.File ignoreFile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isFileIgnored​(java.lang.String filePath, java.lang.String fileName)
      Method to check whether a file should be ignored.
      void loadPatterns()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IgnoredFiles

        public IgnoredFiles​(java.io.File ignoreFile)
    • Method Detail

      • isFileIgnored

        public boolean isFileIgnored​(java.lang.String filePath,
                                     java.lang.String fileName)
        Method to check whether a file should be ignored. Should only be called at indexing time.