Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Static Public Member Functions | List of all members
Lucene.Net.Support.FileSupport Class Reference

Represents the methods to support some operations over files. More...

Static Public Member Functions

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.
 

Detailed Description

Represents the methods to support some operations over files.

Definition at line 30 of file FileSupport.cs.

Member Function Documentation

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
pathThe 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

Definition at line 53 of file FileSupport.cs.

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
fullNameThe 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
fileStreamThe file stream.

Definition at line 90 of file FileSupport.cs.


The documentation for this class was generated from the following file: