Apache Lucene.Net 2.4.0 Class Library API |
|
FSDirectory.GetDirectory Method (FileInfo, Boolean)
Returns the directory instance for the named location.
Parameters
-
file
- the path to the directory.
-
create
- if true, create, or erase any existing contents.
Return Value
the FSDirectory for the named file.
See Also
FSDirectory Class | Lucene.Net.Store Namespace | FSDirectory.GetDirectory Overload List