The methods of the RAMDirectory class are listed below. For a complete list of RAMDirectory class members, see the RAMDirectory Members topic.
Close | Closes the store to future operations. |
createFile (inherited from Directory) | |
CreateOutput | Creates a new, empty file in the directory with the given name. Returns a stream writing this file. |
DeleteFile | Removes an existing file in the directory. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
FileExists | Returns true iff the named file exists in this directory. |
FileLength | Returns the length in bytes of a file in the directory. |
FileModified | Returns 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. |
List | Returns an array of strings, one for each file in the directory. |
MakeLock | Construct a {@link Lock}. |
OpenFile (inherited from Directory) | |
OpenInput | Returns a stream reading an existing file. |
RenameFile | Removes an existing file in the directory. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
TouchFile | Set the modified time of an existing file to now. |