Example #1
0
 internal CompoundFileWriter(Directory dir, System.String name, SegmentMerger.CheckAbort checkAbort)
 {
     if (dir == null)
     {
         throw new System.NullReferenceException("directory cannot be null");
     }
     if (name == null)
     {
         throw new System.NullReferenceException("name cannot be null");
     }
     this.checkAbort = checkAbort;
     directory       = dir;
     fileName        = name;
     ids             = new System.Collections.Hashtable();
     entries         = new System.Collections.ArrayList();
 }
Example #2
0
		internal CompoundFileWriter(Directory dir, System.String name, SegmentMerger.CheckAbort checkAbort)
		{
			if (dir == null)
				throw new System.NullReferenceException("directory cannot be null");
			if (name == null)
				throw new System.NullReferenceException("name cannot be null");
			this.checkAbort = checkAbort;
			directory = dir;
			fileName = name;
            ids = new System.Collections.Hashtable();
			entries = new System.Collections.ArrayList();
		}