The methods of the FSDirectory class are listed below. For a complete list of FSDirectory class members, see the FSDirectory Members topic.
![]() ![]() | Overloaded. Returns the time the named file was last modified. |
![]() ![]() | Overloaded. |
![]() ![]() | Returns whether Lucene's use of lock files is disabled. |
![]() ![]() | Set whether Lucene's use of lock files is disabled. By default, lock files are enabled. They should only be disabled if the index is on a read-only medium like a CD-ROM. |
![]() | Closes the store to future operations. |
![]() | |
![]() | Creates a new, empty file in the directory with the given name. Returns a stream writing this file. |
![]() | Removes an existing file in the directory. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Returns true iff a file with the given name exists. |
![]() | Returns the length in bytes of a file in the directory. |
![]() | Overloaded. Returns the time the named file was last modified. |
![]() | |
![]() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Gets the Type of the current instance. |
![]() | Returns an array of strings, one for each file in the directory. |
![]() | Constructs a {@link Lock} with the specified name. Locks are implemented with {@link File#createNewFile()}. |
![]() | |
![]() | Returns a stream reading an existing file. |
![]() | Renames an existing file in the directory. |
![]() | For debug output. |
![]() | Set the modified time of an existing file to now. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Creates a shallow copy of the current Object. |