FileOutputAdapter Class |
Namespace: GroupDocs.Search.Common
The FileOutputAdapter type exposes the following members.
Name | Description | |
---|---|---|
![]() | FileOutputAdapter |
Initializes a new instance of the FileOutputAdapter class.
|
Name | Description | |
---|---|---|
![]() | FilePath |
Gets an output file path.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
string indexFolder = @"c:\MyIndex\"; string documentsFolder = @"c:\MyDocuments\"; Index index = new Index(indexFolder); // Creating an index in the specified folder index.Add(documentsFolder); // Indexing documents from the specified folder DocumentInfo[] documents = index.GetIndexedDocuments(); // Getting information on indexed documents FileOutputAdapter adapter = new FileOutputAdapter(@"c:\DocumentText.htm"); // Creating a file output adapter index.GetDocumentText(documents[0], adapter); // Generating a document text into the output file