|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
close()
close |
void |
copyFrom(File directory)
copyFrom |
void |
copyFrom(File directory,
FileFilter fileFilter)
copyFrom |
long |
getChecksum(String pathToResource)
Given a path to a resource in this file system, return a checksum on that resource's content. |
File |
getRootDirectory()
getRootDirectory |
String |
getSourcePath()
getSourcePath |
boolean |
remove()
remove |
Method Detail |
public void copyFrom(File directory) throws IOException
copyFrom
directory
- Directory to copy content from
{@link
- java.io.IlleaglArgumentException} if the directory.isDirectory
returns false
IOException
public void copyFrom(File directory, FileFilter fileFilter) throws IOException
copyFrom
directory
- fileFilter
-
IOException
public boolean remove()
remove
Removes the underlying directory structure from the root directory down.
true
if the removal war successful, otherwise returns
false
.public File getRootDirectory()
getRootDirectory
public void close() throws IOException
close
Cleans up resources opened up specifically by this FileSystemHelper
IOException
public String getSourcePath()
getSourcePath
Returns the true location of this FileSystemHelper backing object on the file system. This IS NOT always as the path of the object returned from thegetRootDirectory
method.
public long getChecksum(String pathToResource)
pathToResource
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |