|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.squid.recognizer.Detector
org.sonar.squid.recognizer.KeywordsDetector
public class KeywordsDetector
| Field Summary |
|---|
| Fields inherited from class org.sonar.squid.recognizer.Detector |
|---|
probability |
| Constructor Summary | |
|---|---|
KeywordsDetector(double probability,
boolean toUpperCase,
String... keywords)
|
|
KeywordsDetector(double probability,
String... keywords)
|
|
| Method Summary | |
|---|---|
int |
scan(String line)
|
| Methods inherited from class org.sonar.squid.recognizer.Detector |
|---|
recognition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeywordsDetector(double probability,
String... keywords)
public KeywordsDetector(double probability,
boolean toUpperCase,
String... keywords)
| Method Detail |
|---|
public int scan(String line)
scan in class Detector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||