/// <summary> Creates a new <code>RAMDirectory</code> instance from the {@link FSDirectory}. /// /// </summary> /// <param name="dir">a <code>String</code> specifying the full index directory path /// </param> public RAMDirectory(System.String dir) : this(FSDirectory.GetDirectory(dir, false), true) { }
/// <summary> Creates a new <code>RAMDirectory</code> instance from the {@link FSDirectory}. /// /// </summary> /// <param name="dir">a <code>File</code> specifying the index directory /// </param> public RAMDirectory(System.IO.FileInfo dir) : this(FSDirectory.GetDirectory(dir, false), true) { }