Lucene.Net 1.4.3 Class Library

FSDirectory Methods

The methods of the FSDirectory class are listed below. For a complete list of FSDirectory class members, see the FSDirectory Members topic.

Public Static Methods

FileModifiedOverloaded. Returns the time the named file was last modified.
GetDirectoryOverloaded.  

Public Instance Methods

CloseCloses the store to future operations.
CreateFileCreates a new, empty file in the directory with the given name. Returns a stream writing this file.
DeleteFileRemoves an existing file in the directory.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FileExistsReturns true iff a file with the given name exists.
FileLengthReturns the length in bytes of a file in the directory.
FileModifiedOverloaded. Returns the time the named file was last modified.
GetFile 
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ListReturns an array of strings, one for each file in the directory.
MakeLock 
OpenFileReturns a stream reading an existing file.
RenameFileRenames an existing file in the directory.
ToStringFor debug output.
TouchFileSet the modified time of an existing file to now.

See Also

FSDirectory Class | Lucene.Net.Store Namespace