コード例 #1
0
ファイル: CompoundFileWriter.cs プロジェクト: sinsay/SSE
 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();
 }
コード例 #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>();
		}
コード例 #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>();
		}
コード例 #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();
 }
コード例 #5
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 Dictionary <string, string>();
     entries         = new List <FileEntry>();
 }
コード例 #6
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 Dictionary<string, string>();
            entries = new List<FileEntry>();
		}