| org.apache.jetspeed.util.FileSystemHelper
All known Subclasses: org.apache.jetspeed.util.DirectoryHelper, org.apache.jetspeed.util.JarHelper,
FileSystemHelper | public interface FileSystemHelper (Code) | | author: Scott T. Weaver author: TODO To change the template for this generated type comment go to author: Window - Preferences - Java - Code Generation - Code and Comments |
close | void close() throws IOException(Code) | |
close
Cleans up resources opened up specifically by this FileSystemHelper
|
copyFrom | void copyFrom(File directory) throws IOException(Code) | |
copyFrom
Parameters: directory - Directory to copy content from {@link java.io.IlleaglArgumentException} if the directory.isDirectory returns false |
getChecksum | long getChecksum(String pathToResource)(Code) | | Given a path to a resource in this file system, return a checksum
on that resource's content.
Parameters: pathToResource - checksum of the content of the resource |
getRootDirectory | File getRootDirectory()(Code) | |
getRootDirectory
the root of the directory structure |
getSourcePath | String getSourcePath()(Code) | |
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 the
getRootDirectory method.
the true location of this FileSystemHelper backing object. |
remove | boolean remove()(Code) | |
remove
Removes the underlying directory structure from the root directory down.
true if the removal war successful, otherwise returnsfalse . |
|
|