Lucene.Net 1.4.3 Class Library

RAMDirectory Members

RAMDirectory overview

Public Instance Constructors

RAMDirectory Overloaded. Initializes a new instance of the RAMDirectory class.

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 the named file exists in this directory.
FileLengthReturns the length in bytes 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.
RenameFileRemoves an existing file in the directory.
ToString (inherited from Object) Returns a String that represents the current Object.
TouchFileSet the modified time of an existing file to now.

See Also

RAMDirectory Class | Lucene.Net.Store Namespace