C# 클래스 FileScanner.PatternMatching.AhoMatcher

The implementation of IMatcher interface using Aho-Corasick algorithm for matching patterns in text.
상속: IMatcher
파일 보기 프로젝트 열기: kzemek/FileScanner

공개 메소드들

메소드 설명
AhoMatcher ( List patterns ) : System.Collections.Generic

Initializes a new instance of the AhoMatcher class for the specified patterns.

IsMatch ( TextReader reader ) : bool
Match ( TextReader reader ) : Match
Matches ( TextReader reader ) : IEnumerable

비공개 메소드들

메소드 설명
Match ( TextReader reader, int position ) : int>.KeyValuePair

메소드 상세

AhoMatcher() 공개 메소드

Initializes a new instance of the AhoMatcher class for the specified patterns.
public AhoMatcher ( List patterns ) : System.Collections.Generic
patterns List The patterns to search for in text.
리턴 System.Collections.Generic

IsMatch() 공개 메소드

public IsMatch ( TextReader reader ) : bool
reader System.IO.TextReader
리턴 bool

Match() 공개 메소드

public Match ( TextReader reader ) : Match
reader System.IO.TextReader
리턴 Match

Matches() 공개 메소드

public Matches ( TextReader reader ) : IEnumerable
reader System.IO.TextReader
리턴 IEnumerable