Package manifold.api.fs.def
Class FileSystemImpl
- java.lang.Object
-
- manifold.api.service.BaseService
-
- manifold.api.fs.def.FileSystemImpl
-
- All Implemented Interfaces:
IFileSystem,IPluginHost,IService
public class FileSystemImpl extends BaseService implements IFileSystem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface manifold.api.fs.IFileSystem
IFileSystem.CachingMode
-
-
Constructor Summary
Constructors Constructor Description FileSystemImpl(IManifoldHost host, IFileSystem.CachingMode cachingMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearAllCaches()IManifoldHostgetHost()IDirectorygetIDirectory(File dir)IDirectorygetIDirectory(URL url)IFilegetIFile(File file)IFilegetIFile(URL url)ReentrantLockgetLock()voidsetCachingMode(IFileSystem.CachingMode cachingMode)-
Methods inherited from class manifold.api.service.BaseService
doInit, doUninit, init, isInited, uninit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface manifold.api.service.IPluginHost
getInterface
-
-
-
-
Constructor Detail
-
FileSystemImpl
public FileSystemImpl(IManifoldHost host, IFileSystem.CachingMode cachingMode)
-
-
Method Detail
-
getHost
public IManifoldHost getHost()
- Specified by:
getHostin interfaceIFileSystem
-
getIDirectory
public IDirectory getIDirectory(File dir)
- Specified by:
getIDirectoryin interfaceIFileSystem
-
getIFile
public IFile getIFile(File file)
- Specified by:
getIFilein interfaceIFileSystem
-
setCachingMode
public void setCachingMode(IFileSystem.CachingMode cachingMode)
- Specified by:
setCachingModein interfaceIFileSystem
-
clearAllCaches
public void clearAllCaches()
- Specified by:
clearAllCachesin interfaceIFileSystem
-
getIDirectory
public IDirectory getIDirectory(URL url)
- Specified by:
getIDirectoryin interfaceIFileSystem
-
getIFile
public IFile getIFile(URL url)
- Specified by:
getIFilein interfaceIFileSystem
-
getLock
public ReentrantLock getLock()
- Specified by:
getLockin interfaceIFileSystem
-
-