Section navigation

Public classSealed CodecFileMatcher

Namespace
Rowles.LeanCorpus.Codecs.CodecKit
Assembly
Rowles.LeanCorpus.dll

Matches a logical index file name without using reflection or regular expressions.

public sealed class CodecFileMatcher
Inheritance
CodecFileMatcher

Public method Exact(string)

Creates a matcher for an exact logical file name.

Public method Extension(string)

Creates a matcher for a file extension, including generated and per-field file names.

Public method ExtensionWithTrailingSuffix(string, string)

Creates a matcher for temporary names containing a codec extension followed by an optional token and a fixed suffix.

Public method IsMatch(string)

Returns whether the supplied logical file name matches this declaration.

Public method Numbered(string, string)

Creates a matcher whose file name has a fixed prefix and suffix with a decimal number between them.

Public method PrefixAndSuffix(string, string)

Creates a matcher whose file name has a fixed prefix and suffix.