Class CompoundFileWriter
Combines multiple files into a single compound file.
The file format:
The fileCount integer indicates how many files are contained in this compound file. The {directory} that follows has that many entries. Each directory entry contains a long pointer to the start of this file's data section, and a String with that file's name.
Inheritance
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public sealed class CompoundFileWriter : IDisposable
Constructors
Name | Description |
---|---|
CompoundFileWriter(Directory, String) | Create the compound stream in the specified file. The file name is the entire name (no extensions are added). |
Properties
Name | Description |
---|---|
Directory | Returns the directory of the compound file. |
Name | Returns the name of the compound file. |
Methods
Name | Description |
---|---|
AddFile(String) | Add a source stream. |
Close() | |
Dispose() | Merge files with the extensions added up to now. All files with these extensions are combined sequentially into the compound stream. After successful merge, the source files are deleted. |