org.sonar.squid.recognizer
Class KeywordsDetector
java.lang.Object
org.sonar.squid.recognizer.Detector
org.sonar.squid.recognizer.KeywordsDetector
public class KeywordsDetector
- extends Detector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeywordsDetector
public KeywordsDetector(double probability,
String... keywords)
KeywordsDetector
public KeywordsDetector(double probability,
boolean toUpperCase,
String... keywords)
scan
public int scan(String line)
- Specified by:
scan
in class Detector
Copyright © 2009 SonarSource SA. All Rights Reserved.