Beispiel #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();
 }
		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>();
		}
Beispiel #3
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>();
		}
Beispiel #4
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();
 }
 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 Dictionary <string, string>();
     entries         = new List <FileEntry>();
 }
		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 Dictionary<string, string>();
            entries = new List<FileEntry>();
		}