Interface GFileSystemFactoryByteProvider<FSTYPE extends GFileSystem>
- 
- Type Parameters:
- FSTYPE-
 - All Superinterfaces:
- GFileSystemFactory<FSTYPE>
 - All Known Implementing Classes:
- GFileSystemBaseFactory
 
 public interface GFileSystemFactoryByteProvider<FSTYPE extends GFileSystem> extends GFileSystemFactory<FSTYPE> AGFileSystemFactoryinterface for filesystem implementations that use aByteProvider.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description FSTYPEcreate(FSRLRoot targetFSRL, ByteProvider byteProvider, FileSystemService fsService, TaskMonitor monitor)Constructs a newGFileSysteminstance that handles the specified file.
 
- 
- 
- 
Method Detail- 
createFSTYPE create(FSRLRoot targetFSRL, ByteProvider byteProvider, FileSystemService fsService, TaskMonitor monitor) throws java.io.IOException, CancelledException Constructs a newGFileSysteminstance that handles the specified file.- Parameters:
- targetFSRL- the- FSRLRootof the filesystem being created.
- byteProvider- a- ByteProvidercontaining the contents of the file being probed. This method is responsible for closing this byte provider instance.
- fsService- a reference to the- FileSystemServiceobject
- monitor- a- TaskMonitorthat 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
 
 
- 
 
-