mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 21:39:25 +00:00
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:
parent
bde0e76eab
commit
e93254e829
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user