Package org.syncany.config
Class IgnoredFiles
- java.lang.Object
-
- org.syncany.config.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()
-
-
-
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.
-
loadPatterns
public void loadPatterns()
-
-