Package gw.fs
Class FileFactory
- java.lang.Object
-
- gw.fs.FileFactory
-
public class FileFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private IPhysicalFileSystem_defaultPhysicalFileSystemprivate static FileFactoryINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateFileFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private IPhysicalFileSystemcreateDefaultPhysicalFileSystem()IPhysicalFileSystemgetDefaultPhysicalFileSystem()IDirectorygetIDirectory(java.io.File f)IDirectorygetIDirectory(java.lang.String absolutePath)IFilegetIFile(java.io.File f)IFilegetIFile(java.lang.String absolutePath)IFilegetIFile(java.net.URI uri)IFilegetIFile(java.net.URI uri, boolean bCreateIfNotExists)IFilegetIFile(java.net.URL url)IFilegetIFile(java.net.URL url, boolean bCreateIfNotExists)IPhysicalFileSystemgetRootPhysicalFileSystem()static FileFactoryinstance()voidsetDefaultPhysicalFileSystem(IPhysicalFileSystem fileSystem)
-
-
-
Field Detail
-
INSTANCE
private static final FileFactory INSTANCE
-
_defaultPhysicalFileSystem
private IPhysicalFileSystem _defaultPhysicalFileSystem
-
-
Method Detail
-
instance
public static FileFactory instance()
-
getIDirectory
public IDirectory getIDirectory(java.io.File f)
-
getIFile
public IFile getIFile(java.io.File f)
-
getIDirectory
public IDirectory getIDirectory(java.lang.String absolutePath)
-
getIFile
public IFile getIFile(java.lang.String absolutePath)
-
getIFile
public IFile getIFile(java.net.URL url)
-
getIFile
public IFile getIFile(java.net.URI uri)
-
getIFile
public IFile getIFile(java.net.URL url, boolean bCreateIfNotExists)
-
getIFile
public IFile getIFile(java.net.URI uri, boolean bCreateIfNotExists)
-
getDefaultPhysicalFileSystem
public IPhysicalFileSystem getDefaultPhysicalFileSystem()
-
getRootPhysicalFileSystem
public IPhysicalFileSystem getRootPhysicalFileSystem()
-
setDefaultPhysicalFileSystem
public void setDefaultPhysicalFileSystem(IPhysicalFileSystem fileSystem)
-
createDefaultPhysicalFileSystem
private IPhysicalFileSystem createDefaultPhysicalFileSystem()
-
-