C# Class ScrewTurn.Wiki.FileDocument

Represents a file document.
Inheritance: IDocument
显示文件 Open project: mono/ScrewTurnWiki Class Usage Examples

Public Methods

Method Description
FileDocument ( DumpedDocument doc ) : System

Initializes a new instance of the T:FileDocument class.

FileDocument ( string fullName, string provider, System.DateTime dateTime ) : System

Initializes a new instance of the T:FileDocument class.

Tokenize ( string content ) : WordInfo[]

Performs the tokenization of the document content.

Method Details

FileDocument() public method

Initializes a new instance of the T:FileDocument class.
public FileDocument ( DumpedDocument doc ) : System
doc ScrewTurn.Wiki.SearchEngine.DumpedDocument The dumped document.
return System

FileDocument() public method

Initializes a new instance of the T:FileDocument class.
public FileDocument ( string fullName, string provider, System.DateTime dateTime ) : System
fullName string The file full name.
provider string The file provider.
dateTime System.DateTime The modification date/time.
return System

Tokenize() public method

Performs the tokenization of the document content.
public Tokenize ( string content ) : WordInfo[]
content string The content to tokenize.
return WordInfo[]