Interface GFileSystemFactoryWithFile<FSTYPE extends GFileSystem>
- 
- Type Parameters:
 FSTYPE-
- All Superinterfaces:
 GFileSystemFactory<FSTYPE>
public interface GFileSystemFactoryWithFile<FSTYPE extends GFileSystem> extends GFileSystemFactory<FSTYPE>
AGFileSystemFactoryinterface for filesystem implementations that can be constructed using just a reference to the sourceFile. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FSTYPEcreate(FSRL containerFSRL, FSRLRoot targetFSRL, java.io.File containerFile, FileSystemService fsService, TaskMonitor monitor)Constructs a newGFileSysteminstance that handles the specified File. 
 - 
 
- 
- 
Method Detail
- 
create
FSTYPE create(FSRL containerFSRL, FSRLRoot targetFSRL, java.io.File containerFile, FileSystemService fsService, TaskMonitor monitor) throws java.io.IOException, CancelledException
Constructs a newGFileSysteminstance that handles the specified File.- Parameters:
 containerFSRL- theFSRLof the file being opened.targetFSRL- theFSRLRootof the filesystem being created.containerFile- theFile(probably in the filecache with non-useful filename) being opened.fsService- a reference to theFileSystemServiceobjectmonitor- aTaskMonitorthat should be polled to see if the user has requested to cancel the operation, and updated with progress information.- Returns:
 - a new 
GFileSystemderived instance. - Throws:
 java.io.IOException- if there is an error reading files.CancelledException- if the user cancels
 
 - 
 
 -