public class CollectingMatchResultSink extends DefaultMatchResultSink
Constructor and Description |
---|
CollectingMatchResultSink() |
Modifier and Type | Method and Description |
---|---|
java.util.List<MatchResult> |
getMatches() |
void |
newMatch(MatchResult result)
Notifies sink about new match
|
getProgressIndicator, matchingFinished, processFile, setMatchingProcess
public void newMatch(MatchResult result)
MatchResultSink
newMatch
in interface MatchResultSink
newMatch
in class DefaultMatchResultSink
public java.util.List<MatchResult> getMatches()