|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileFactory
Interface for file operations. This interface exists so that we can mock out IO operations in unit tests.
| Method Summary | |
|---|---|
File |
getFile(String absoluteFilename)
Creates a File object for the file with the given path. |
void |
removeDirectory(File directory)
Removes a directory. |
void |
removeDirectoryIfExists(String directoryName)
Removes a directory if it exists. |
| Method Detail |
|---|
File getFile(String absoluteFilename)
absoluteFilename - a String containing an absolute path name
void removeDirectory(File directory)
directory - a File objectvoid removeDirectoryIfExists(String directoryName)
directoryName - a String containing a directory path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||