Apache Lucene.Net 2.1 Class Library API

FSDirectory.GetDirectory Method (FileInfo)

Returns the directory instance for the named location.

public static FSDirectory GetDirectory(
   FileInfo file
);

Parameters

file
the path to the directory.

Return Value

the FSDirectory for the named file.

See Also

FSDirectory Class | Lucene.Net.Store Namespace | FSDirectory.GetDirectory Overload List