Class WrongEncodingFileFilter
java.lang.Object
org.sonarsource.dotnet.shared.plugins.WrongEncodingFileFilter
- All Implemented Interfaces:
org.sonar.api.batch.fs.InputFileFilter
public class WrongEncodingFileFilter
extends Object
implements org.sonar.api.batch.fs.InputFileFilter
This class allows to filter files to process based on whether or not the encoding detected by Roslyn and SonarQube match.
This filter refuses (filters) all files with a different encoding.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Method Details
-
accept
public boolean accept(org.sonar.api.batch.fs.InputFile inputFile) - Specified by:
acceptin interfaceorg.sonar.api.batch.fs.InputFileFilter
-