Class FilterUtil
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.utils.FilterUtil
-
public final class FilterUtil extends Object
Utility methods for suppression filters.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
FilterUtil()
Stop instances being created.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isFileExists(String fileName)
Checks if suppression source with given fileName exists.
-
-
-
Constructor Detail
-
FilterUtil
private FilterUtil()
Stop instances being created.
-
-
Method Detail
-
isFileExists
public static boolean isFileExists(String fileName)
Checks if suppression source with given fileName exists.- Parameters:
fileName
- name of the suppressions file.- Returns:
- true if suppression file exists, otherwise false
-
-