|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.util.FileSystemFileFactory
public class FileSystemFileFactory
Constructor Summary | |
---|---|
FileSystemFileFactory()
Creates a new FileFactory. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSystemFileFactory()
Method Detail |
---|
public File getFile(String absoluteFilename)
FileFactory
getFile
in interface FileFactory
absoluteFilename
- a String containing an absolute path name
public void removeDirectoryIfExists(String directoryName)
FileFactory
removeDirectoryIfExists
in interface FileFactory
directoryName
- a String containing a directory pathpublic void removeDirectory(File directory)
FileFactory
removeDirectory
in interface FileFactory
directory
- a File object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |