LUCENE-3073: make CompoundFileWriter public

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099745 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-05-05 10:06:41 +00:00
parent bde0e76eab
commit e93254e829

View File

@ -46,8 +46,10 @@ import org.apache.lucene.util.IOUtils;
* 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.
*
* @lucene.internal
*/
final class CompoundFileWriter {
public final class CompoundFileWriter {
private static final class FileEntry {
/** source file */
@ -136,8 +138,7 @@ final class CompoundFileWriter {
/** 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.
* compound stream.
* @throws IllegalStateException if close() had been called before or
* if no file has been added to this object
*/