Ejemplo n.º 1
0
        public override System.Object Clone()
        {
            FSIndexInput clone = (FSIndexInput)base.Clone();

            clone.isClone = true;
            return(clone);
        }
Ejemplo n.º 2
0
 public Descriptor(FSIndexInput enclosingInstance, System.IO.FileInfo file, System.IO.FileAccess mode)
     : base(new System.IO.FileStream(file.FullName, System.IO.FileMode.Open, mode, System.IO.FileShare.ReadWrite))
 {
     isOpen = true;
     length = file.Length;
 }
Ejemplo n.º 3
0
			public Descriptor(FSIndexInput enclosingInstance, System.IO.FileInfo file, System.IO.FileAccess mode) 
                : base(new System.IO.FileStream(file.FullName, System.IO.FileMode.Open, mode, System.IO.FileShare.ReadWrite))
			{
				InitBlock(enclosingInstance);
			}
Ejemplo n.º 4
0
			private void  InitBlock(FSIndexInput enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
			}
Ejemplo n.º 5
0
            public Descriptor(FSIndexInput enclosingInstance, System.IO.FileInfo file, System.IO.FileAccess mode) 
                : base(new System.IO.FileStream(file.FullName, System.IO.FileMode.Open, mode, System.IO.FileShare.ReadWrite))
            {
				isOpen = true;
                length = file.Length;
			}
Ejemplo n.º 6
0
 public Descriptor(FSIndexInput enclosingInstance, System.IO.FileInfo file, System.IO.FileAccess mode)
     : base(new System.IO.FileStream(file.FullName, System.IO.FileMode.Open, mode, System.IO.FileShare.ReadWrite))
 {
     InitBlock(enclosingInstance);
 }
Ejemplo n.º 7
0
 private void  InitBlock(FSIndexInput enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }