Package gw.fs.physical.fast
Class FastPhysicalFileSystem
- java.lang.Object
-
- gw.fs.physical.fast.FastPhysicalFileSystem
-
- All Implemented Interfaces:
IPhysicalFileSystem
public class FastPhysicalFileSystem extends Object implements IPhysicalFileSystem
-
-
Constructor Summary
Constructors Constructor Description FastPhysicalFileSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAllCaches()
void
clearDirectoryCaches(ResourcePath dirPath)
boolean
delete(ResourcePath filePath)
boolean
exists(ResourcePath filePath)
IFileMetadata
getFileMetadata(ResourcePath filePath)
List<? extends IFileMetadata>
listFiles(ResourcePath directoryPath)
boolean
mkdir(ResourcePath dirPath)
-
-
-
Method Detail
-
listFiles
public List<? extends IFileMetadata> listFiles(ResourcePath directoryPath)
- Specified by:
listFiles
in interfaceIPhysicalFileSystem
-
getFileMetadata
public IFileMetadata getFileMetadata(ResourcePath filePath)
- Specified by:
getFileMetadata
in interfaceIPhysicalFileSystem
-
exists
public boolean exists(ResourcePath filePath)
- Specified by:
exists
in interfaceIPhysicalFileSystem
-
delete
public boolean delete(ResourcePath filePath)
- Specified by:
delete
in interfaceIPhysicalFileSystem
-
mkdir
public boolean mkdir(ResourcePath dirPath)
- Specified by:
mkdir
in interfaceIPhysicalFileSystem
-
clearDirectoryCaches
public void clearDirectoryCaches(ResourcePath dirPath)
- Specified by:
clearDirectoryCaches
in interfaceIPhysicalFileSystem
-
clearAllCaches
public void clearAllCaches()
- Specified by:
clearAllCaches
in interfaceIPhysicalFileSystem
-
-