Lucene.Net 1.4.3 Class Library

Directory Members

Directory overview

Public Instance Methods

CloseCloses the store.
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 of a file in the directory.
FileModifiedReturns the time the named file was last modified.
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.
MakeLockConstruct a {@link Lock}.
OpenFileReturns a stream reading an existing file.
RenameFileRenames an existing file in the directory. If a file already exists with the new name, then it is replaced. This replacement should be atomic.
ToString (inherited from Object) Returns a String that represents the current Object.
TouchFileSet the modified time of an existing file to now.

Protected Instance Constructors

Directory Constructor Initializes a new instance of the Directory class.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Directory Class | Lucene.Net.Store Namespace