internal CompoundFileWriter(Directory dir, System.String name, SegmentMerger.CheckAbort checkAbort)
		{
			if (dir == null)
				throw new ArgumentNullException("dir");
			if (name == null)
				throw new ArgumentNullException("name");
			this.checkAbort = checkAbort;
			directory = dir;
			fileName = name;
            ids = new HashSet<string>();
			entries = new LinkedList<FileEntry>();
		}
Esempio n. 2
0
 internal CompoundFileWriter(Directory dir, System.String name, SegmentMerger.CheckAbort checkAbort)
 {
     if (dir == null)
     {
         throw new ArgumentNullException("dir");
     }
     if (name == null)
     {
         throw new ArgumentNullException("name");
     }
     this.checkAbort = checkAbort;
     directory       = dir;
     fileName        = name;
     ids             = new HashSet <string>();
     entries         = new LinkedList <FileEntry>();
 }