Represents the methods to support some operations over files.
More...
|
static System.IO.FileInfo[] | GetFiles (System.IO.FileInfo path) |
| Returns an array of abstract pathnames representing the files and directories of the specified path.
|
|
static System.IO.FileInfo[] | GetFiles (System.IO.DirectoryInfo path) |
|
static System.String[] | GetLuceneIndexFiles (System.String fullName, Index.IndexFileNameFilter indexFileNameFilter) |
| Returns a list of files in a give directory.
|
|
static void | Sync (System.IO.FileStream fileStream) |
| Flushes the specified file stream. Ensures that all buffered data is actually written to the file system.
|
|
Represents the methods to support some operations over files.
Definition at line 30 of file FileSupport.cs.
static System.IO.FileInfo [] Lucene.Net.Support.FileSupport.GetFiles |
( |
System.IO.FileInfo |
path | ) |
|
|
static |
Returns an array of abstract pathnames representing the files and directories of the specified path.
- Parameters
-
path | The abstract pathname to list it childs. |
- Returns
- An array of abstract pathnames childs of the path specified or null if the path is not a directory
Definition at line 37 of file FileSupport.cs.
static System.IO.FileInfo [] Lucene.Net.Support.FileSupport.GetFiles |
( |
System.IO.DirectoryInfo |
path | ) |
|
|
static |
static System.String [] Lucene.Net.Support.FileSupport.GetLuceneIndexFiles |
( |
System.String |
fullName, |
|
|
Index.IndexFileNameFilter |
indexFileNameFilter |
|
) |
| |
|
static |
Returns a list of files in a give directory.
- Parameters
-
fullName | The full path name to the directory. |
indexFileNameFilter | |
- Returns
- An array containing the files.
Definition at line 64 of file FileSupport.cs.
static void Lucene.Net.Support.FileSupport.Sync |
( |
System.IO.FileStream |
fileStream | ) |
|
|
static |
Flushes the specified file stream. Ensures that all buffered data is actually written to the file system.
- Parameters
-
fileStream | The file stream. |
Definition at line 90 of file FileSupport.cs.
The documentation for this class was generated from the following file: