Lucene.Net 1.4.3 Class Library

CompoundFileWriter Members

CompoundFileWriter overview

Public Instance Constructors

CompoundFileWriter Constructor Create the compound stream in the specified file. The file name is the entire name (no extensions are added).

Public Instance Methods

AddFileAdd a source stream. If sourceDir is null, it is set to the same value as the directory where this compound stream exists. The id is the string by which the sub-stream will be know in the compound stream. The caller must ensure that the ID is unique. If the id is null, it is set to the name of the source file.
CloseMerge 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.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetDirectoryReturns the directory of the compound file.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetNameReturns the name of the compound file.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

CompoundFileWriter Class | Lucene.Net.Index Namespace