DotLucene 1.4 API Documentation |

# CompoundFileWriter Methods

The methods of the CompoundFileWriter class are listed below. For a complete list of CompoundFileWriter class members, see the CompoundFileWriter Members topic.

#### Public Instance Methods

AddFile | Add 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.
Close | 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.
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
GetDirectory | Returns 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.
GetName | Returns 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