com.atlassian.jira.util.FileFactory |
Known Indirect Subclasses |
Interface for file operations. This interface exists so that we can mock out IO operations in unit tests.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a File object for the file with the given path.
| |||||||||||
Removes a directory.
| |||||||||||
Removes a directory if it exists.
|
Creates a File object for the file with the given path.
absoluteFilename | a String containing an absolute path name |
---|
Removes a directory.
directory | a File object |
---|
Removes a directory if it exists.
directoryName | a String containing a directory path |
---|