Package gw.internal.gosu.module.fs
Class FileSystemImpl
- java.lang.Object
-
- gw.config.BaseService
-
- gw.internal.gosu.module.fs.FileSystemImpl
-
- All Implemented Interfaces:
IService,IFileSystem,IPluginHost
public class FileSystemImpl extends BaseService implements IFileSystem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface gw.lang.reflect.module.IFileSystem
IFileSystem.CachingMode
-
-
Field Summary
Fields Modifier and Type Field Description static booleanUSE_NEW_API
-
Constructor Summary
Constructors Constructor Description FileSystemImpl(IFileSystem.CachingMode cachingMode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearAllCaches()IFilegetFakeFile(URL url, IModule module)IDirectorygetIDirectory(File dir)IDirectorygetIDirectory(URL url)IDirectorygetIDirectory(Path dir)IFilegetIFile(File file)IFilegetIFile(URL url)IFilegetIFile(Path path)static FilenormalizeFile(File file)voidsetCachingMode(IFileSystem.CachingMode cachingMode)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.plugin.IPluginHost
getInterface
-
-
-
-
Constructor Detail
-
FileSystemImpl
public FileSystemImpl(IFileSystem.CachingMode cachingMode)
-
-
Method Detail
-
getIDirectory
public IDirectory getIDirectory(Path dir)
- Specified by:
getIDirectoryin interfaceIFileSystem
-
getIDirectory
public IDirectory getIDirectory(File dir)
- Specified by:
getIDirectoryin interfaceIFileSystem
-
getIFile
public IFile getIFile(Path path)
- Specified by:
getIFilein 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
-
getFakeFile
public IFile getFakeFile(URL url, IModule module)
- Specified by:
getFakeFilein interfaceIFileSystem
-
-