The methods of the Directory class are listed below. For a complete list of Directory class members, see the Directory Members topic.
![]() | Closes the store. |
![]() | 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 of a file in the directory. |
![]() | 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. |
![]() | Construct a {@link Lock}. |
![]() | Returns a stream reading an existing file. |
![]() | Renames an existing file in the directory. If a file already exists with the new name, then it is replaced. This replacement should be atomic. |
![]() | Returns a String that represents the current Object. |
![]() | 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. |