Class FilterUtil
java.lang.Object
com.puppycrawl.tools.checkstyle.utils.FilterUtil
Utility methods for suppression filters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isFileExists
(String fileName) Checks if suppression source with given fileName exists.
-
Constructor Details
-
FilterUtil
private FilterUtil()Stop instances being created.
-
-
Method Details
-
isFileExists
Checks if suppression source with given fileName exists.- Parameters:
fileName
- name of the suppressions file.- Returns:
- true if suppression file exists, otherwise false
-